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

ptondereau / ext-php-rs / 25812954678
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: fix/string-prop-getter-zend-string-leak
DEFAULT BRANCH: master
Ran 13 May 2026 04:45PM UTC
Jobs 1
Files 96
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

13 May 2026 04:40PM UTC coverage: 66.23%. First build
25812954678

push

github

ptondereau
docs(prop): document the Exception::getMessage refcount leak

Hit this while building a PHPStan rule on top of biscuit-php and noticing
memory growing on every datalog parse error. Tracking it down: any
`#[php(prop)]` field holding an owned refcounted type (String, Vec, etc.)
leaks one zend_string per call when PHP's Exception::getMessage reads it.
Direct property access (`$obj->prop`) is unaffected — only the
`zval_get_string + RETURN_STR` pattern used by Exception's final C
methods triggers the orphaned refcount.

Adds a regression test (marked `#[ignore]` so CI stays green) and
documentation on the `#[php(prop)]` attribute with two workarounds:
either rename the shadow field, or mirror to the parent's real slot via
`zend_update_property_stringl`. Proper fix needs either an upstream PHP
patch or a deeper change to how field props store their value.

8653 of 13065 relevant lines covered (66.23%)

33.38 hits per line

Jobs
ID Job ID Ran Files Coverage
1 25812954678.1 13 May 2026 04:45PM UTC 96
66.23
GitHub Action Run
Source Files on build 25812954678
  • Tree
  • List 96
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25812954678
  • 3ab5db2e on github
  • 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