diff options
Diffstat (limited to 'ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt')
-rw-r--r-- | ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt b/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt index 4a5a5929d5..2b6fda0590 100644 --- a/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt +++ b/ext/reflection/tests/ReflectionClass_getStaticPropertyValue_002.phpt @@ -38,9 +38,11 @@ try { ?> ---EXPECT-- +--EXPECTF-- ReflectionClass::getStaticPropertyValue() expects at most 2 arguments, 3 given ReflectionClass::getStaticPropertyValue() expects at least 1 argument, 0 given + +Deprecated: ReflectionClass::getStaticPropertyValue(): Passing null to parameter #1 ($name) of type string is deprecated in %s on line %d Property C::$ does not exist string(3) "def" ReflectionClass::getStaticPropertyValue(): Argument #1 ($name) must be of type string, array given |