ID: 17778 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Closed +Status: Open Bug Type: Zend Engine 2 problem Operating System: Windows XP PHP Version: 4.0CVS-2002-06-15
Previous Comments: ------------------------------------------------------------------------ [2002-09-05 16:23:43] [EMAIL PROTECTED] still not working with alpha 2 ! ------------------------------------------------------------------------ [2002-06-29 03:52:59] [EMAIL PROTECTED] This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. This seems to be fixed in the CVS. Please grab it or wait for alpha2. Thanks for the report. ------------------------------------------------------------------------ [2002-06-16 09:03:42] [EMAIL PROTECTED] Moved to a brand new category! ------------------------------------------------------------------------ [2002-06-15 21:08:09] [EMAIL PROTECTED] Windows XP, PHP 4.3.0-dev as a module on Apache 1.3.24 In PHP 4.2.0, this script prints, as expected, "Constructor called - The variable is false" In 4.3.0-dev-zend2-alpha1pl1, this script prints "Constructor called - The variable is true" ---------------------------------- class test{ var $a; function test(){ $this->a = false; echo 'Constructor called - '; } } $obj = new test; echo 'The variable is ' . ($obj->a ? 'true' : 'false'); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17778&edit=1