• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

KarpelesLab / goro / 25814084004 / 1
13%
master: 13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 05:03PM UTC
Files 398
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 05:02PM UTC coverage: 11.964% (+0.006%) from 11.958%
25814084004.1

push

github

MagicalTux
vm: COW arrays on local assign (matches AST's ZVal.ZVal())

\`\$b = \$a\` was sharing the underlying ZArray between \$a and \$b
because OpStoreLocal stored the popped ZVal pointer as-is. The AST
\`=\` operator calls res.ZVal() which has a special case for
ZtArray: \`a.Dup().ZVal()\` returns a fresh ZArray with cow=true,
so subsequent in-place mutations (sort, array_push, …) hit a
copy.

Mirror that semantics in storeLocal: if the value is a non-ref
array, Dup() before storing. Refs propagate, scalars stay
cached-singleton.

Fixes the basic/array/{sort,arsort,asort,krsort,ksort,natsort,
rsort,array_shuffle}_basic phpt regressions that all rely on
\$temp_array = \$source not aliasing the source array.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

13834 of 115633 relevant lines covered (11.96%)

2433.44 hits per line

Source Files on job 25814084004.1
  • Tree
  • List 398
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25814084004
  • e7495474 on github
  • Prev Job for on master (#25813362189.1)
  • Next Job for on master (#25814192593.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc