- any other dir may not exist or may not be used

This commit is contained in:
Pierre Joye 2012-01-10 07:33:36 +00:00
parent dd3eb33d76
commit d8c6dd182b

View File

@ -9,7 +9,7 @@ include "skipif.inc";
--FILE--
<?php
include "php_cli_server.inc";
php_cli_server_start('chdir("/tmp"); echo "okey";');
php_cli_server_start('chdir(__DIR__); echo "okey";');
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
?>