Making ephpm php Byte-for-Byte Indistinguishable From php-cli
A differential test harness against upstream php, and the bugs it found in an embedded PHP CLI on day one.
ePHPm embeds PHP into a single Rust binary. The obvious follow-up question from
anybody deploying it is “do I still need a php on the box?” Composer, WP-CLI, artisan, PHPUnit and every build
script in the world call php. If ephpm php can stand in for it then the answer is no. The single binary really means
a single binary. “Mostly works” isn’t good enough for that though. These tools parse PHP’s output, check its exit codes
and re-invoke it. So the goal was…
