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

KarpelesLab / goro / 26061116615
13%

Build:
DEFAULT BRANCH: master
Ran 18 May 2026 09:27PM 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

18 May 2026 09:19PM UTC coverage: 12.274% (+0.01%) from 12.264%
26061116615

push

github

MagicalTux
vm: lower unset() for simple-local args natively

Adds OP_UNSET_LOCAL that fires the destructor on the slot value,
clears the slot, and (for slot-unsafe bodies) calls OffsetUnset so
external observers see the removal. The emitter picks the native
path only when every unset arg is a plain \$name; array-access,
object-prop, and static-prop forms keep the existing AST path.

CallDestructorIfNeeded is exported so the VM can reuse the
recursive array-walker + destructor-chain that runnableUnset.Run
already implements — no duplication.

Bodies that only use unset() on simple locals are now slot-safe.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

39 of 53 new or added lines in 5 files covered. (73.58%)

12 existing lines in 4 files now uncovered.

14318 of 116654 relevant lines covered (12.27%)

2598.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
61.73
-0.04% core/vm/vm.go
4
78.28
-0.14% core/compiler/vmaccess.go
3
67.8
0.07% core/vm/vmcompiler/emit_expr.go
2
29.69
-2.34% core/compiler/compile-unset.go

Coverage Regressions

Lines Coverage ∆ File
5
50.94
-4.72% core/phpctx/global-array.go
4
58.64
-0.62% core/phpv/hashtable.go
2
29.69
-2.34% core/compiler/compile-unset.go
1
29.34
-0.23% core/compiler/variable.go
Jobs
ID Job ID Ran Files Coverage
1 26061116615.1 18 May 2026 09:27PM UTC 398
12.27
GitHub Action Run
Source Files on build 26061116615
  • Tree
  • List 398
  • Changed 9
  • Source Changed 6
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26061116615
  • 620572ab on github
  • Prev Build on master (#26060704187)
  • Next Build on master (#26061366299)
  • 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