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

KarpelesLab / goro / 25756952870
13%

Build:
DEFAULT BRANCH: master
Ran 12 May 2026 07:23PM UTC
Jobs 1
Files 398
Run time 2min
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

12 May 2026 07:21PM UTC coverage: 10.068% (+0.3%) from 9.73%
25756952870

push

github

MagicalTux
vm: native ternary + isset/empty/unset/parens delegation

Five common idioms that previously aborted VM compile for the whole
surrounding function:

* Ternary as an expression (cond ? a : b) and short ternary (cond ?: alt)
  are lowered natively to JMP_IF_FALSE / JMP_IF_FALSE_PEEK + JMP. The
  statement form was already supported via emitStmt; this adds the
  expression form so functions like \`return X ? A : B;\` compile.
* isset() and empty() are AST-delegated as value-producing expressions
  via OpClassConst.
* unset() is AST-delegated as a void operation, followed by
  OP_REFRESH_SLOTS so any unset-of-local nulls the slot cache.
* (expr) wrappers are stripped at the start of emitExpr so the
  surrounding context dispatches on the inner node directly.

IsSlotSafe rejects bodies containing isset/empty/unset so the
hashtable stays authoritative under the AST delegation.

The sentinel "unsupported still falls back" tests are updated to use
spread-arg calls (still unsupported) since the prior triggers are
now compiled.

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

70 of 83 new or added lines in 3 files covered. (84.34%)

24 existing lines in 5 files now uncovered.

11592 of 115141 relevant lines covered (10.07%)

1501.79 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
81.97
-0.95% core/vm/vmcompiler/emit_expr.go

Coverage Regressions

Lines Coverage ∆ File
11
36.34
-3.1% core/phpctx/context-func.go
7
52.89
-3.31% core/phpv/hashtable-iter.go
2
26.1
-0.27% core/compiler/compile-foreach.go
2
81.97
-0.95% core/vm/vmcompiler/emit_expr.go
2
79.88
-0.6% core/vm/vmcompiler/emit_stmt.go
Jobs
ID Job ID Ran Files Coverage
1 25756952870.1 12 May 2026 07:23PM UTC 398
10.07
GitHub Action Run
Source Files on build 25756952870
  • Tree
  • List 398
  • Changed 28
  • Source Changed 3
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25756952870
  • 9fd667d5 on github
  • Prev Build on master (#25756700880)
  • Next Build on master (#25757178375)
  • 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