Return to php_cli_server_001.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / cli / tests |
1.1 ! misho 1: --TEST-- ! 2: basic function ! 3: --INI-- ! 4: allow_url_fopen=1 ! 5: --SKIPIF-- ! 6: <?php ! 7: include "skipif.inc"; ! 8: ?> ! 9: --FILE-- ! 10: <?php ! 11: include "php_cli_server.inc"; ! 12: php_cli_server_start(); ! 13: var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS)); ! 14: ?> ! 15: --EXPECT-- ! 16: string(11) "Hello world"