2006-11-24 13:33:38 +00:00
|
|
|
--TEST--
|
|
|
|
show information about function
|
|
|
|
--SKIPIF--
|
|
|
|
<?php include "skipif.inc"; ?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
|
|
|
|
$php = $_ENV['TEST_PHP_EXECUTABLE'];
|
|
|
|
|
2006-12-04 17:48:52 +00:00
|
|
|
var_dump(`$php -n --rf unknown`);
|
|
|
|
var_dump(`$php -n --rf echo`);
|
|
|
|
var_dump(`$php -n --rf phpinfo`);
|
2006-11-24 13:33:38 +00:00
|
|
|
|
|
|
|
echo "Done\n";
|
|
|
|
?>
|
|
|
|
--EXPECTF--
|
|
|
|
string(45) "Exception: Function unknown() does not exist
|
|
|
|
"
|
|
|
|
string(42) "Exception: Function echo() does not exist
|
|
|
|
"
|
|
|
|
string(117) "Function [ <internal> public function phpinfo ] {
|
|
|
|
|
|
|
|
- Parameters [1] {
|
|
|
|
Parameter #0 [ <optional> $what ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
"
|
|
|
|
Done
|