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

KarpelesLab / goro / 25773242658
13%

Build:
DEFAULT BRANCH: master
Ran 13 May 2026 01:52AM 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 01:50AM UTC coverage: 12.131% (-0.001%) from 12.132%
25773242658

push

github

MagicalTux
phpctx: RegisterFunction(same-closure) is a no-op, not an error

The AST replaces resolved lazy entries with phpv.RunNull{} so the
script body's later linear scan skips them. The VM-compiled script
body holds direct references to ZClosures and can't be patched the
same way; when a top-level function is called BEFORE its declaration
runs, the call triggers lazy resolution → RegisterFunction; later
the bytecode hits OpMakeClosure on the same ZClosure and calls
RegisterFunction again, which would error.

Treat the same-closure re-register as a no-op. Different closure
pointers (true redeclaration) still error.

Fixes the redeclare-class/function failures (by_ref_optimization,
bug43426, bug63741, etc.) that surfaced under GORO_VM=1.

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

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

14014 of 115525 relevant lines covered (12.13%)

2041.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
23.14
-0.1% core/phpctx/global.go
Jobs
ID Job ID Ran Files Coverage
1 25773242658.1 13 May 2026 01:52AM UTC 398
12.13
GitHub Action Run
Source Files on build 25773242658
  • Tree
  • List 398
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25773242658
  • 2da0007f on github
  • Prev Build on master (#25773153294)
  • Next Build on master (#25773267464)
  • 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