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

Test Failure Report for sapi/cli/tests/bug69953.phpt ('FR #69953 (Support MKCALENDAR request method)')

Script

1: <?php
2:
include "php_cli_server.inc";
3:
php_cli_server_start('echo $_SERVER["REQUEST_METHOD"];');
4:
$context stream_context_create(['http' => ['method' => 'MKCALENDAR']]);
5:
var_dump(file_get_contents("http://" PHP_CLI_SERVER_ADDRESSfalse$context));
6:
?>
7:

Expected

string(10) "MKCALENDAR"

Output

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

Diff

001+ Warning: file_get_contents(http://localhost:8964): failed to open stream: Connection refused in /var/php_gcov/PHP_5_6/sapi/cli/tests/bug69953.php on line 5
001- string(10) "MKCALENDAR"
002+ bool(false)

 

Generated at Mon, 27 Nov 2017 05:04:32 +0000 (14 days ago)

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