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

extphprs / ext-php-rs / 43936052121
77%

Build:
DEFAULT BRANCH: master
Ran 16 Nov 2026 07:11PM UTC
Jobs 1
Files 101
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

16 Nov 2026 07:07PM UTC coverage: 77.001% (-0.001%) from 77.002%
43936052121

push

github

web-flow
fix(class): clone a PHP subclass with its own class entry (#838)

* fix(class): clone a PHP subclass with its own class entry

clone_obj allocated the copy with T's class entry, so cloning a PHP subclass of a #[php_class] returned the base class and copied the subclass's properties past the end of the allocation.

Fixes #837

* fix(class): name the object's own class when it can't be cloned

The uncloneable error named T::CLASS_NAME, so a PHP subclass of an
uncloneable #[php_class] reported its parent, while ZEND_CLONE uses
zobj->ce->name. Building the message as a CString also meant an
anonymous class, whose name holds a NUL byte, would abort the process.

Pass the object's class name to %s as php-src does.

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

4 of 12 new or added lines in 2 files covered. (33.33%)

2 existing lines in 1 file now uncovered.

11812 of 15340 relevant lines covered (77.0%)

57.11 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
6.43
-0.01% src/zend/handlers.rs

Coverage Regressions

Lines Coverage ∆ File
2
6.43
-0.01% src/zend/handlers.rs
Jobs
ID Job ID Ran Files Coverage
1 43936052121.1 16 Nov 2026 07:11PM UTC 101
77.0
GitHub Action Run
Source Files on build 43936052121
  • Tree
  • List 101
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43936052121
  • 4fb8fd24 on github
  • Prev Build on master (#43920487512)
  • Next Build on master (#43937146370)
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