Chris Shiflett has another posting over on his weblog about a little experiment that he did with the Apache-Test package on the PHP CLI.
In this new post he applies the Apache-Test package to a simple PHP program running on the CLI.
From Geoff's blog: today I added the ability to run client-side PHP scripts to Apache-Test. so, now you can have t/foo.t, t/bar.php, and t/response/TestPHP/baz.php all within the same t/ directory.
the perl script t/foo.t will run using perl, just like always. t/bar.php will run using the php command-line interpreter, while t/response/TestPHP/baz.php will run via PHP within the Apache runtime (through standard Apache-Test magic). and all are executed with a simple make test and tabulated on the command line like you would expect.
This is a great step forward for both Apache and PHP - the merging of the Apache-Test package with the PHP CLI can only lead to greater things.




