HI, I am looking at it :) how about add a PHP_BINARY into $_SERVER, but not register as a constant?
thanks, On Wed, Dec 7, 2011 at 3:22 PM, Sebastian Bergmann <sebast...@php.net> wrote: > Can somebody look into https://bugs.php.net/bug.php?id=54514 please? > This causes issues for CLI tools implemented in PHP that are invoked > through Apache Ant, for instance, and need to know the PHP interpreter > that is running them. > > See https://github.com/sebastianbergmann/phpunit/issues/432 for an > example of how this affects PHPUnit. > > -- > Sebastian Bergmann Co-Founder and Principal Consultant > http://sebastian-bergmann.de/ http://thePHP.cc/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php