#23194 [NEW]: Crash when using __get

From: Date: Mon, 14 Apr 2003 03:59:45 +0000
Subject: #23194 [NEW]: Crash when using __get
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37630@lists.php.net to get a copy of this message
From: lphuberdeau at sympatico dot ca Operating system: linux (RH9) PHP version: 5CVS-2003-04-13 (dev) PHP Bug Type: Reproducible crash Bug description: Crash when using __get Well, I don't know exacly what caused the bug, but I know I could reproduce it. Basically, Apache2(2.0.45) crashes when I run a certain script. I use PHP5 of April 13th at 19:30 right now. I was testing new features. Everything worked well (nice job guys) until I placed a throw( new Exception( "Variable not found" )); in function __get($name){}. -- class foo { function __get( $name ) { throw( new Exception( "Variable not found" )); } } $o = new foo; try { echo $o->bar; } catch( Exception $e ) { echo $e; } -- If you need more details, feel free to contact me. -- Louis-Philippe Huberdeau -- Edit bug report at http://bugs.php.net/?id=23194&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23194&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23194&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23194&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23194&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23194&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23194&r=support Expected behavior: http://bugs.php.net/fix.php?id=23194&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23194&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23194&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23194&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23194&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23194&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23194&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23194&r=gnused

« previous php.bugs (#37630) next »