summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobin Fernandes <robinf@php.net>2008-03-03 15:07:04 +0000
committerRobin Fernandes <robinf@php.net>2008-03-03 15:07:04 +0000
commit0455ccb80552a053e2130a9107da9cc2c80eac82 (patch)
tree70487eaec52a04720ca7bf6689bfb500f0585aa0 /tests
parentbcade81501a138f814c1fe890130e13a9dee7cf9 (diff)
downloadphp-git-0455ccb80552a053e2130a9107da9cc2c80eac82.tar.gz
Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ).
Diffstat (limited to 'tests')
-rw-r--r--tests/classes/property_override_protectedStatic_publicStatic.phpt4
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