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

KarpelesLab / goro / 25336784689
13%

Build:
DEFAULT BRANCH: master
Ran 04 May 2026 06:45PM UTC
Jobs 1
Files 396
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

04 May 2026 06:43PM UTC coverage: 7.969% (+0.07%) from 7.904%
25336784689

push

github

MagicalTux
vm: native ?? (null coalesce) for variable LHS

Adds OP_JMP_IF_NOT_NULL_PEEK and an emitter case for the
T_COALESCE operator. PHP's ?? has "set and non-null" semantics
on the LHS — undefined variables don't warn — so the emitter
loads a variable LHS via OP_LOAD_LOCAL (the no-warn form)
rather than OP_LOAD_LOCAL_OR_WARN.

Currently only variable LHS is lowered; array/property/
method-call LHS still falls back to AST since their AST runners
have writeContext-style suppression that isn't trivial to
replicate.

Tests cover defined / undefined / null / zero / empty-string
LHS plus chained `?? ?? ?? default`.

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

23 of 32 new or added lines in 2 files covered. (71.88%)

9107 of 114285 relevant lines covered (7.97%)

892.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
82.28
-1.32% core/vm/vmcompiler/emit_expr.go
Jobs
ID Job ID Ran Files Coverage
1 25336784689.1 04 May 2026 06:45PM UTC 396
7.97
GitHub Action Run
Source Files on build 25336784689
  • Tree
  • List 396
  • Changed 8
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25336784689
  • 497c8eaa on github
  • Prev Build on master (#25336630631)
  • Next Build on master (#25337588561)
  • 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