|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-06-29 18:42 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 19:00:01 2025 UTC |
Description: ------------ When any exception is raised inside a __get, __set or __call it leads to a segmentation fault even if the exception is thrown inside a try/catch statement. Reproduce code: --------------- class test { function __get($propname) { throw new Exception("TEST"); } } $t = new test(); echo $t->ok; Expected result: ---------------- An "Fatal error: Uncaught exception 'exception'! in Unknown on line 0" or somethig like that is the exception is not caught. Actual result: -------------- Segmentation fault (core dumped)