diff options
Diffstat (limited to 'Zend/tests/bug39721.phpt')
-rw-r--r-- | Zend/tests/bug39721.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/bug39721.phpt b/Zend/tests/bug39721.phpt index 63edfc23ed..aa0df793ff 100644 --- a/Zend/tests/bug39721.phpt +++ b/Zend/tests/bug39721.phpt @@ -5,18 +5,18 @@ Bug #39721 (Runtime inheritance causes data corruption) class test2 { private static $instances = 0; public $instance; - + public function __construct() { $this->instance = ++self::$instances; } - + } $foo = new test2(); if (is_object($foo)) { class test2_child extends test2 { - + } } |