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

extphprs / ext-php-rs / 23743465206
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/upload-artifact-7
DEFAULT BRANCH: master
Ran 30 Mar 2026 11:59AM UTC
Jobs 1
Files 89
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

30 Mar 2026 11:56AM UTC coverage: 65.597% (-0.5%) from 66.102%
23743465206

Pull #707

github

ptondereau
fix(memory): eliminate module definition memory leak

Store the ModuleEntry in a static (StaticModuleEntry) instead of
Box::into_raw, mirroring how C extensions use a static zend_module_entry.
Free all secondary heap allocations (name, version, functions, arg_info,
class-name pointers) during MSHUTDOWN via cleanup_module_allocations().

Cleanup only runs for shared extensions (handle != NULL) to avoid
use-after-free in embed SAPI where PHP still references module pointers
during later shutdown phases.

Closes #540
Pull Request #707: fix(memory): eliminate module definition memory leak

6 of 62 new or added lines in 1 file covered. (9.68%)

54 existing lines in 5 files now uncovered.

8071 of 12304 relevant lines covered (65.6%)

31.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
56
9.23
-90.77% src/zend/module.rs

Uncovered Existing Lines

Lines Coverage ∆ File
3
0.0
0.0% src/types/mod.rs
3
9.23
-90.77% src/zend/module.rs
4
22.34
-4.26% src/convert.rs
16
80.59
-1.97% src/types/zval.rs
28
89.73
-0.3% crates/macros/src/function.rs
Jobs
ID Job ID Ran Files Coverage
1 23743465206.1 30 Mar 2026 11:59AM UTC 89
65.6
GitHub Action Run
Source Files on build 23743465206
  • Tree
  • List 89
  • Changed 8
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23743465206
  • Pull Request #707
  • PR Base - master (#23739555840)
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