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

KarpelesLab / goro / 24646869765
13%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 03:23AM UTC
Jobs 1
Files 371
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

20 Apr 2026 03:21AM UTC coverage: 1.954%. Remained the same
24646869765

push

github

MagicalTux
hashtable: deep-copy auto-unrefs phantom single-alias references

clone/bug68262.phpt:

    \$first->p = 'init';
    \$ref =& \$first->p;         // p is now a 2-alias reference
    unset(\$ref);                // alias count drops to 1
    \$clone = clone \$first;     // \$clone->p should be independent
    \$clone->p = 'foo';          // must not leak back into \$first->p
    var_dump(\$first->p);        // expected "init"

PHP treats a reference-typed hash entry whose inner has only one
observable alias left as an ordinary value at copy time — the
deep-copy unwraps it. goro was keeping the reference in place, so the
cloned object ended up sharing \$first->p's storage and the
post-clone write propagated back.

Fix: in ZHashTable.DeepCopy, when a reference entry's inner ZVal has
AliasCount() <= 1, deep-copy the value rather than the reference cell.
Uses the AliasCount helper introduced in 51cd7c17.

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

0 of 10 new or added lines in 1 file covered. (0.0%)

136 existing lines in 1 file now uncovered.

2188 of 111982 relevant lines covered (1.95%)

70.34 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
1.23
-0.02% core/phpv/hashtable.go

Coverage Regressions

Lines Coverage ∆ File
136
1.23
-0.02% core/phpv/hashtable.go
Jobs
ID Job ID Ran Files Coverage
1 24646869765.1 20 Apr 2026 03:23AM UTC 371
1.95
GitHub Action Run
Source Files on build 24646869765
  • Tree
  • List 371
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24646869765
  • a816c83b on github
  • Prev Build on master (#24646820827)
  • Next Build on master (#24646931415)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc