phpt for bug#66711

From: Date: Fri, 14 Feb 2014 19:11:22 +0000
Subject: phpt for bug#66711
Groups: php.qa 
Request: Send a blank email to php-qa+get-67222@lists.php.net to get a copy of this message
I have written a phpt for bug#66711. It succeeds on PHP 5.4.25 on Cygwin (I can't test on Linux and other *nix at present, and I did not succeed in building PHP 5.5.x on Cygwin), but fails on PHP 5.5.9 on Windows (I assume all flavors; tested on Win7 Home Premium). The test might go to sapi/cli/tests/bug66711.phpt, or perhaps be intregrated to .../php_cli_server_002.phpt. --TEST-- $_SERVER['PHP_SELF'] --INI-- allow_url_fopen=1 --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php include "php_cli_server.inc"; php_cli_server_start('echo $_SERVER["PHP_SELF"];'); var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS)); ?> --EXPECT-- string(10) "/index.php"

« previous php.qa (#67222) next »