diff options
Diffstat (limited to 'Zend/tests/bug32322.phpt')
-rw-r--r-- | Zend/tests/bug32322.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/bug32322.phpt b/Zend/tests/bug32322.phpt index 9f05e3f41f..6d444ac2b3 100644 --- a/Zend/tests/bug32322.phpt +++ b/Zend/tests/bug32322.phpt @@ -8,8 +8,8 @@ class test { private static $instance = null; private $myname = ''; - - private function __construct( $value = '' ) + + private function __construct( $value = '' ) { echo "New class $value created \n"; $this -> myname = $value; @@ -38,7 +38,7 @@ class test } return $instance2; } - public function __destruct() + public function __destruct() { if ( defined('SCRIPT_END') ) { @@ -47,7 +47,7 @@ class test echo "Class " . $this -> myname . " destroyed beforce script end\n"; } } -} +} echo "Try static instance inside class :\n"; $getCopyofSingleton = test::getInstance(); $getCopyofSingleton = null; |