1--TEST-- 2show information about function 3--SKIPIF-- 4<?php 5include "skipif.inc"; 6?> 7--FILE-- 8<?php 9 10$php = getenv('TEST_PHP_EXECUTABLE'); 11 12var_dump(`$php -n --rf unknown`); 13var_dump(`$php -n --rf echo`); 14var_dump(`$php -n --rf phpinfo`); 15 16echo "Done\n"; 17?> 18--EXPECT-- 19string(45) "Exception: Function unknown() does not exist 20" 21string(42) "Exception: Function echo() does not exist 22" 23string(119) "Function [ <internal:standard> function phpinfo ] { 24 25 - Parameters [1] { 26 Parameter #0 [ <optional> $what ] 27 } 28} 29 30" 31Done 32