diff options
Diffstat (limited to 'tests/classes/property_override_protectedStatic_publicStatic.phpt')
-rw-r--r-- | tests/classes/property_override_protectedStatic_publicStatic.phpt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/classes/property_override_protectedStatic_publicStatic.phpt b/tests/classes/property_override_protectedStatic_publicStatic.phpt index 7e1955dd99..e437c5f30f 100644 --- a/tests/classes/property_override_protectedStatic_publicStatic.phpt +++ b/tests/classes/property_override_protectedStatic_publicStatic.phpt @@ -27,5 +27,7 @@ Redeclare inherited protected static property as public static. B::showB(); ?> --EXPECTF-- +A::p (static) +A::p (static) +B::p (static) -Fatal error: Cannot change initial value of property static protected A::$p in class B in %s on line 18 |