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

KarpelesLab / goro / 26060704187
13%

Build:
DEFAULT BRANCH: master
Ran 18 May 2026 09:19PM 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:10PM UTC coverage: 12.264% (+0.03%) from 12.231%
26060704187

push

github

MagicalTux
vm: lower isset()/empty() for simple-local args natively

Adds OP_ISSET_LOCAL / OP_EMPTY_LOCAL that read the slot directly and
push the boolean result. The emitter picks the native path only when
every argument is a plain `$name` (no array access, no object prop,
no var-var, no class-prop); the complex forms keep the existing AST
delegation.

isValueEmpty is exported as IsValueEmpty so the VM can reuse PHP's
empty-value rules without duplicating them.

Multi-arg isset short-circuits via OP_JMP_IF_FALSE_PEEK, leaving
exactly one bool on the stack regardless of which arg failed.

Bodies that only use isset/empty on simple locals are now slot-safe
— previously any isset() forced the entire body slot-unsafe, paying
a hashtable read on every local access. The complex-arg forms still
trigger slot-unsafe so their AST runner can read operands.

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

68 of 88 new or added lines in 5 files covered. (77.27%)

14 existing lines in 1 file now uncovered.

14301 of 116612 relevant lines covered (12.26%)

2599.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
67.73
0.09% core/vm/vmcompiler/emit_expr.go
7
14.56
-2.25% core/compiler/compile-isset.go
3
78.42
0.99% core/compiler/vmaccess.go

Coverage Regressions

Lines Coverage ∆ File
14
14.56
-2.25% core/compiler/compile-isset.go
Jobs
ID Job ID Ran Files Coverage
1 26060704187.1 18 May 2026 09:19PM UTC 398
12.26
GitHub Action Run
Source Files on build 26060704187
  • Tree
  • List 398
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26060704187
  • 82761b53 on github
  • Prev Build on master (#26004051059)
  • Next Build on master (#26061116615)
  • 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