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

KarpelesLab / goro / 24646714602
13%

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2026 03:17AM 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:15AM UTC coverage: 1.954% (-0.001%) from 1.955%
24646714602

push

github

MagicalTux
compile-static: skip MakeRef for object-type static initializers

Wrapping static objects as references (a7be2eba) fixed
closures/closure_009.phpt but regressed constexpr/new_named_params.phpt
and closures/bug79778.phpt by changing how var_dump surfaces them (and
apparently disturbing object-id assignment for successive Vec
constructions).

Objects in PHP are always shared by handle — static $o = new Foo()
works correctly without a reference wrapper because the variable slot
holds the object handle, not the value being mutated. Refs are only
needed for scalar static vars whose value could be replaced via the
hash table's OffsetSet path (e.g. $n++).

Skip the MakeRef when the initializer evaluates to a ZObject. Also
Nude() the stored ZVal in Closure::__debugInfo's static-var section so
the reference wrapping used for scalars doesn't leak into the
displayed "static" key.

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

0 of 13 new or added lines in 2 files covered. (0.0%)

1 existing line in 1 file now uncovered.

2188 of 111950 relevant lines covered (1.95%)

70.36 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
0.51
-0.0% core/compiler/closure.go
3
0.0
0.0% core/compiler/compile-static.go

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% core/compiler/compile-static.go
Jobs
ID Job ID Ran Files Coverage
1 24646714602.1 20 Apr 2026 03:17AM UTC 371
1.95
GitHub Action Run
Source Files on build 24646714602
  • Tree
  • List 371
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24646714602
  • 9466e8d7 on github
  • Prev Build on master (#24646567792)
  • Next Build on master (#24646761379)
  • 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