mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
17 lines
266 B
PHP
17 lines
266 B
PHP
--TEST--
|
|
basic function
|
|
--INI--
|
|
allow_url_fopen=1
|
|
--SKIPIF--
|
|
<?php
|
|
include "skipif.inc";
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
include "php_cli_server.inc";
|
|
php_cli_server_start();
|
|
var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS));
|
|
?>
|
|
--EXPECT--
|
|
string(11) "Hello world"
|