com php-src: fix test: sapi/cli/tests/005.phpt

From: Date: Tue, 04 Aug 2015 21:46:19 +0000
Subject: com php-src: fix test: sapi/cli/tests/005.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-88304@lists.php.net to get a copy of this message
Commit: 0a21b5d97039945a9e5dc683f2f5e8b379f07ada Author: Stanislav Malyshev <stas@php.net> Tue, 4 Aug 2015 14:46:19 -0700 Parents: ee61c7175f056fe22b2d35681212e3ab85ac2540 Branches: PHP-5.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0a21b5d97039945a9e5dc683f2f5e8b379f07ada Log: fix test Changed paths: M sapi/cli/tests/005.phpt Diff: diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt index 84b0f98..a840e8f 100644 --- a/sapi/cli/tests/005.phpt +++ b/sapi/cli/tests/005.phpt @@ -4,7 +4,7 @@ show information about class <?php include "skipif.inc"; if (!extension_loaded("reflection")) { - die("skip reflection extension required"); + die("skip reflection extension required"); } ?> --FILE-- @@ -18,7 +18,7 @@ var_dump("$php" -n --rc exception); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- string(40) "Exception: Class unknown does not exist " string(183) "Class [ <internal:Core> class stdClass ] { @@ -40,7 +40,7 @@ string(183) "Class [ <internal:Core> class stdClass ] { } " -string(1355) "Class [ <internal:Core> class Exception ] { +string(1424) "Class [ <internal:Core> class Exception ] { - Constants [0] { } @@ -61,7 +61,7 @@ string(1355) "Class [ <internal:Core> class Exception ] { Property [ <default> private $previous ] } - - Methods [10] { + - Methods [11] { Method [ <internal:Core> final private method __clone ] { } @@ -74,6 +74,9 @@ string(1355) "Class [ <internal:Core> class Exception ] { } } + Method [ <internal:Core> final public method __wakeup ] { + } + Method [ <internal:Core> final public method getMessage ] { }

« previous php.cvs (#88304) next »