PHP  
 PHP_HEAD
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Test Failure Report for sapi/cli/tests/php_cli_server_001.phpt ('basic function')

Script

1: <?php
2:
include "php_cli_server.inc";
3:
php_cli_server_start();
4:
var_dump(file_get_contents("http://" PHP_CLI_SERVER_ADDRESS));
5:
?>
6:

Expected

string(11) "Hello world"

Output

Warning: file_get_contents(http://localhost:8964): failed to open stream: Connection refused in /var/php_gcov/PHP_HEAD/sapi/cli/tests/php_cli_server_001.php on line 4
bool(false)

Diff

001+ Warning: file_get_contents(http://localhost:8964): failed to open stream: Connection refused in /var/php_gcov/PHP_HEAD/sapi/cli/tests/php_cli_server_001.php on line 4
001- string(11) "Hello world"
002+ bool(false)

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (21 hours ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.