summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/reflectionObject_getConstructor_error.phpt
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-01-07 22:37:08 +0000
committerFelipe Pena <felipe@php.net>2009-01-07 22:37:08 +0000
commitef7eb282fd20a27c3c78f7019403a3ba048a0c21 (patch)
treee774a5093f370ad3d51510a5ee4b042601361bcc /ext/reflection/tests/reflectionObject_getConstructor_error.phpt
parent8ef4ac5ebbf107dd5bf0a9266b7284ea46a7b644 (diff)
downloadphp-git-ef7eb282fd20a27c3c78f7019403a3ba048a0c21.tar.gz
- New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
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