ID: 36978 Updated by: [EMAIL PROTECTED] Reported By: thomas dot ene at gmail dot com Status: Bogus Bug Type: Reproducible crash Operating System: Windows PHP Version: 5.1.2 New Comment:
If you really experience a crash, we'd need a backtrace at least. Thanks Previous Comments: ------------------------------------------------------------------------ [2006-04-05 14:07:51] thomas dot ene at gmail dot com Yes but showing a windows popup isn't normal behaviour either. Anyway, thanks for the information. The issue about increment/decrement operators wasn't commented out in the standard documentation. Thank you and have a splendid day. ------------------------------------------------------------------------ [2006-04-05 06:30:42] [EMAIL PROTECTED] A "Fatal Error" ain't a crash. You can't use in/decrement operators on overloaded properties. ------------------------------------------------------------------------ [2006-04-04 23:06:09] thomas dot ene at gmail dot com Description: ------------ The code below produces: Fatal error: Couldn't execute method demo::__set in Unknown on line 0 and also a windows message box. Reproduce code: --------------- <?php class base { function __get($key) { throw new Exception(); } function __set($key, $val) { } } class demo extends base { function demo() { } function play() { $this->a++; } } $obj = new demo(); $obj->play(); ?> Expected result: ---------------- It should set the property a to 1 in the demo class Actual result: -------------- The code below produces: Fatal error: Couldn't execute method demo::__set in Unknown on line 0 and also a windows message box. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36978&edit=1