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

KarpelesLab / goro / 25814084004
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 05:03PM UTC
Jobs 1
Files 398
Run time 1min
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

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>

3 of 3 new or added lines in 1 file covered. (100.0%)

13834 of 115633 relevant lines covered (11.96%)

2433.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25814084004.1 13 May 2026 05:03PM UTC 398
11.96
GitHub Action Run
Source Files on build 25814084004
  • Tree
  • List 398
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25814084004
  • e7495474 on github
  • Prev Build on master (#25813362189)
  • Next Build on master (#25814192593)
  • 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