From: Marcus Boerger Date: Wed, 31 Dec 2008 12:33:12 +0000 (+0000) Subject: - MFH Fix test X-Git-Tag: php-5.3.0beta1~335 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bdeb10a08ee525132c1c68684dae7ac0abe0777;p=php - MFH Fix test --- diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt index 86d4276e7b..914e33c7fe 100644 --- a/sapi/cli/tests/005.phpt +++ b/sapi/cli/tests/005.phpt @@ -12,16 +12,16 @@ if (!extension_loaded("reflection")) { $php = getenv('TEST_PHP_EXECUTABLE'); -var_dump(`$php -n --rc unknown`); -var_dump(`$php -n --rc stdclass`); -var_dump(`$php -n --rc exception`); +var_dump(`"$php" -n --rc unknown`); +var_dump(`"$php" -n --rc stdclass`); +var_dump(`"$php" -n --rc exception`); echo "Done\n"; ?> --EXPECTF-- string(40) "Exception: Class unknown does not exist " -string(178) "Class [ class stdClass ] { +string(183) "Class [ class stdClass ] { - Constants [0] { } @@ -40,7 +40,7 @@ string(178) "Class [ class stdClass ] { } " -string(1300) "Class [ class Exception ] { +string(1355) "Class [ class Exception ] { - Constants [0] { } @@ -62,10 +62,10 @@ string(1300) "Class [ class Exception ] { } - Methods [10] { - Method [ final private method __clone ] { + Method [ final private method __clone ] { } - Method [ public method __construct ] { + Method [ public method __construct ] { - Parameters [3] { Parameter #0 [ $message ] @@ -74,28 +74,28 @@ string(1300) "Class [ class Exception ] { } } - Method [ final public method getMessage ] { + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } }