cvs: php-src /tests/classes factory_and_singleton_002.phpt

From: Date: Sat, 09 Aug 2003 14:34:44 +0000
Subject: cvs: php-src /tests/classes factory_and_singleton_002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23031@lists.php.net to get a copy of this message
helly Sat Aug 9 10:34:44 2003 EDT Modified files: /php-src/tests/classes factory_and_singleton_002.phpt Log: Reenable, works as expected Index: php-src/tests/classes/factory_and_singleton_002.phpt diff -u php-src/tests/classes/factory_and_singleton_002.phpt:1.4 php-src/tests/classes/factory_and_singleton_002.phpt:1.5 --- php-src/tests/classes/factory_and_singleton_002.phpt:1.4 Tue Aug 5 04:49:56 2003 +++ php-src/tests/classes/factory_and_singleton_002.phpt Sat Aug 9 10:34:44 2003 @@ -1,7 +1,7 @@ --TEST-- ZE2 factory and singleton, test 2 --SKIPIF-- -<?php die('skip currently stucks due to destructor corruption'); if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> +<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> --FILE-- <?php class test { @@ -19,7 +19,7 @@ } } - function __construct($x) { + protected function __construct($x) { test::$cnt++; $this->x = $x; } @@ -28,7 +28,7 @@ test::$test = NULL; } - function __destruct() { + protected function __destruct() { test::$cnt--; } @@ -96,3 +96,5 @@ int(1) int(1) Done + +Warning: Call to protected test::__destruct from context '' during shutdown ignored in Unknown on line 0

« previous php.cvs (#23031) next »