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"

-- 
PHP Quality Assurance Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to