summaryrefslogtreecommitdiff
path: root/Zend/tests/bug29674.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug29674.phpt')
-rw-r--r--Zend/tests/bug29674.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Zend/tests/bug29674.phpt b/Zend/tests/bug29674.phpt
index 60f08a6df2..b9cb4230fe 100644
--- a/Zend/tests/bug29674.phpt
+++ b/Zend/tests/bug29674.phpt
@@ -5,18 +5,18 @@ Bug #29674 (inherited method doesn't have access to private variables of the der
class BaseClass
{
- private $private_base = "Base";
+ private $private_base = "Base";
- function printVars ()
- {
- var_dump($this->private_base);
- var_dump($this->private_child);
- }
+ function printVars ()
+ {
+ var_dump($this->private_base);
+ var_dump($this->private_child);
+ }
}
class ChildClass extends BaseClass
{
- private $private_child = "Child";
+ private $private_child = "Child";
}
echo "===BASE===\n";
@@ -33,7 +33,7 @@ $obj->printVars();
===BASE===
string(4) "Base"
-Notice: Undefined property: BaseClass::$private_child in %sbug29674.php on line %d
+Warning: Undefined property: BaseClass::$private_child in %s on line %d
NULL
===CHILD===
string(4) "Base"