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

ptondereau / ext-php-rs / 23855822273

01 Apr 2026 03:11PM UTC coverage: 65.463%. Remained the same
23855822273

push

github

ptondereau
feat(embed): add Sapi trait, ServerContext, PhpThreadGuard and worker-mode lifecycle

Add high-level safe abstractions for building custom PHP SAPIs in Rust:

- `Sapi` trait with trampoline generation for type-safe SAPI callbacks
- `ServerContext` trait for per-request state management
- `PhpThreadGuard` RAII wrapper for ZTS thread lifecycle
- `ServerVarRegistrar` for safe $_SERVER population
- Worker-mode partial shutdown/startup for request recycling
- Guide documentation for Custom SAPI and Worker Mode
- Nix flake ZTS devshell

66 of 143 new or added lines in 4 files covered. (46.15%)

4 existing lines in 1 file now uncovered.

8196 of 12520 relevant lines covered (65.46%)

33.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/embed/thread.rs


Source Not Available

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