Rust Rewrite Index

PHP

server-side, HTML-embedded scripting language (metapackage)

Rust efforts

Research record · 2026-11-29

Searched php-src 8.4, Rust PHP interpreter ports and independent runtimes, the PHP internals announcement and a 2026 paper. Both contemporary projects use newer PHP 8.5 or php-src master as reference; neither establishes full PHP 8.4 compatibility. The paper describes an older PHP 5.0 prototype and a proof for a core fragment only.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Partial rewrite

Buzz Rust PHP

Experimental port with many files derived from php-src; it uses pinned php-src master and PHP 8.5 as oracle, not the 8.4 release. Its author excludes FFI, pgsql, Windows-only and 32-bit-only tests from reported coverage.

Evidence checked 2026-11-29
Partial rewrite

php-rust

From-scratch experimental PHP 8.5 runtime targeting observable behavior, not Zend architecture; its reported application and test results do not demonstrate PHP 8.4 parity.

Evidence checked 2026-11-29
Rust component

PHP 5.0 research prototype

Research prototype targets PHP 5.0, not 8.4; formal claims concern a core language fragment.

Evidence checked 2026-11-29

Project structure

This package is a metapackage that, when installed, guarantees that you have at least one of the four server-side versions of the PHP interpreter installed. Removing this package won't remove PHP from your system, however it may remove other packages that depend on this one.

Inside the source tree

  • ext/ · 18,534 indexed files
  • Zend/ · 5,412 indexed files
  • tests/ · 903 indexed files
  • sapi/ · 721 indexed files
  • main/ · 77 indexed files

Source files by extension in this snapshot · C (1,053), Assembly (51), C++ (22), Python (2)

Selected components packaged from this source in Debian 13.

  • php8.4 · server-side, HTML-embedded scripting language (metapackage)
  • php8.4-gd · GD module for PHP
  • php8.4-bz2 · bzip2 module for PHP
  • php8.4-cgi · server-side, HTML-embedded scripting language (CGI binary)
  • php8.4-cli · command-line interpreter for the PHP scripting language
  • php8.4-dba · DBA module for PHP