summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/reflectionObject_getConstructor_error.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/reflectionObject_getConstructor_error.phpt')
-rw-r--r--ext/reflection/tests/reflectionObject_getConstructor_error.phpt9
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/reflection/tests/reflectionObject_getConstructor_error.phpt b/ext/reflection/tests/reflectionObject_getConstructor_error.phpt
index 5cabc2ed10..2f52de2ed8 100644
--- a/ext/reflection/tests/reflectionObject_getConstructor_error.phpt
+++ b/ext/reflection/tests/reflectionObject_getConstructor_error.phpt
@@ -10,15 +10,14 @@ var_dump($rc->getConstructor(true));
var_dump($rc->getConstructor(array(1,2,3)));
?>
--EXPECTF--
-
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 4
+Warning: ReflectionClass::getConstructor() expects exactly 0 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 5
+Warning: ReflectionClass::getConstructor() expects exactly 0 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 6
+Warning: ReflectionClass::getConstructor() expects exactly 0 parameters, 1 given in %s on line %d
NULL
-Warning: Wrong parameter count for ReflectionClass::getConstructor() in %s on line 7
+Warning: ReflectionClass::getConstructor() expects exactly 0 parameters, 1 given in %s on line %d
NULL