summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-08-04 14:46:19 -0700
committerStanislav Malyshev <stas@php.net>2015-08-04 14:46:19 -0700
commit0a21b5d97039945a9e5dc683f2f5e8b379f07ada (patch)
tree8ec809e4a6769ec9cf92f861fcd17f3dc9ab4853
parentee61c7175f056fe22b2d35681212e3ab85ac2540 (diff)
downloadphp-git-0a21b5d97039945a9e5dc683f2f5e8b379f07ada.tar.gz
fix test
-rw-r--r--sapi/cli/tests/005.phpt11
1 files changed, 7 insertions, 4 deletions
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index 84b0f98440..a840e8ffd2 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 ] {
}