1--TEST--
2Bug #55726 (Changing the working directory makes router script inaccessible)
3--INI--
4allow_url_fopen=1
5--SKIPIF--
6<?php
7include "skipif.inc";
8?>
9--FILE--
10<?php
11include "php_cli_server.inc";
12php_cli_server_start('chdir(__DIR__); echo "okey";');
13var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
14var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
15?>
16--EXPECT--
17string(4) "okey"
18string(4) "okey"
19