ID: 30394 Updated by: php-bugs@lists.php.net Reported By: php at hartwerk dot com -Status: Feedback +Status: No Feedback Bug Type: Zend Engine 2 problem Operating System: Linux PHP Version: 5.0.2 New Comment:
No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2005-02-09 02:00:50] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2004-11-04 16:10:03] [EMAIL PROTECTED] It's 5.0.x specific bug. ------------------------------------------------------------------------ [2004-11-04 16:06:31] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Works fine with 5.1-CVS, outputting "2 - 3" ------------------------------------------------------------------------ [2004-10-15 18:46:51] php at hartwerk dot com An easier work-around would be $c->a = $c->a + max( 0, 1 ), but work-arounds do not solve bugs.. ------------------------------------------------------------------------ [2004-10-15 12:13:47] ante dot dfg at moj dot net This code works if you return the value from _get via reference.... try: public function &__get( $what ) { return $this->_p[ $what ]; } ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30394 -- Edit this bug report at http://bugs.php.net/?id=30394&edit=1