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

KarpelesLab / goro / 25814545303
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 05:12PM 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:11PM UTC coverage: 12.075% (+0.004%) from 12.071%
25814545303

push

github

MagicalTux
vm: COW array values stored into other arrays

PHP array literals and \`\$container[k] = v\` writes copy array
values by value. The VM was storing the raw ZVal pointer, which
made \`\$a[0] = \$a\` create a self-cycle instead of snapshotting
the empty-\$a state.

Mirror the AST's ZVal()/Dup() behaviour in:
* arraySetLocal (OP_ARRAY_SET_LOCAL / OP_ARRAY_APPEND_LOCAL)
* OP_ARRAY_INIT_APPEND (literals \`[\$a, …]\`)
* OP_ARRAY_INIT_KEYED (literals \`[k => \$a, …]\`)

Skip the Dup when the value is a reference (ref propagation
intentional in \`\$arr[k] = &\$x\`).

Fixes bug38469 ("Unexpected creation of cycle") and related
tests that depend on snapshotting array values on insert.

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

9 of 11 new or added lines in 2 files covered. (81.82%)

13964 of 115645 relevant lines covered (12.07%)

2454.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
25.58
0.18% core/vm/ops_array.go
Jobs
ID Job ID Ran Files Coverage
1 25814545303.1 13 May 2026 05:12PM UTC 398
12.07
GitHub Action Run
Source Files on build 25814545303
  • Tree
  • List 398
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25814545303
  • 75275785 on github
  • Prev Build on master (#25814441995)
  • Next Build on master (#25814669282)
  • 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