#36978 [Bgs]: PHP Crashes and issues a windows message box

From: Date: Wed, 05 Apr 2006 14:15:41 +0000
Subject: #36978 [Bgs]: PHP Crashes and issues a windows message box
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-95345@lists.php.net to get a copy of this message
ID: 36978 Updated by: mike@php.net 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] mike@php.net 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

« previous php.bugs (#95345) next »