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

KarpelesLab / goro / 26393926214
13%

Build:
DEFAULT BRANCH: master
Ran 25 May 2026 09:39AM 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

25 May 2026 09:36AM UTC coverage: 12.52% (-0.03%) from 12.551%
26393926214

push

github

MagicalTux
vm: lower $obj->$x OP=/++ dyn-name property compound/incdec natively

Adds OP_OBJECT_DYN_COMPOUND_ASSIGN and OP_INC_DEC_OBJ_DYN_PROP. Both
pop the receiver and name from the stack rather than the const pool,
reusing the existing objectGet/objectSet helpers + compoundOp/DoInc.

Covers two PHP source shapes:

  $obj->$x OP= rhs         (objectVarNode, name starts with $)
  $obj->{$x} OP= rhs       (objectDynVarReadNode, curly braces)

  $obj->$x++ / ++$obj->$x
  $obj->{$x}++ / ++$obj->{$x}

Receiver-warning semantics differ between the two shapes (mirrors AST):
runObjectVar.WriteValue suppresses the undef-var warning via
SetWriteContext; runObjectDynVar does not. The new helpers take a
recvSilent flag to match.

Smoke test covers all 28 assertions across +=, -=, *=, .=, postfix/
prefix inc/dec in both stmt and expr context, both shapes.

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

2 of 164 new or added lines in 3 files covered. (1.22%)

679 existing lines in 5 files now uncovered.

14934 of 119282 relevant lines covered (12.52%)

2563.03 hits per line

Uncovered Changes

Lines Coverage ∆ File
70
52.39
-4.61% core/vm/vm.go
66
49.04
-10.83% core/vm/vmcompiler/emit_object.go
26
56.3
-4.95% core/vm/vmcompiler/emit_expr.go

Coverage Regressions

Lines Coverage ∆ File
243
56.3
-4.95% core/vm/vmcompiler/emit_expr.go
195
52.39
-4.61% core/vm/vm.go
178
9.83
-0.01% core/compiler/compile-classref.go
62
21.27
-3.28% core/compiler/variable.go
1
83.33
0.0% core/vm/opcode.go
Jobs
ID Job ID Ran Files Coverage
1 26393926214.1 25 May 2026 09:39AM UTC 398
12.52
GitHub Action Run
Source Files on build 26393926214
  • 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 #26393926214
  • f2d9b9f2 on github
  • Prev Build on master (#26392427217)
  • Next Build on master (#26394336499)
  • 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