Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69184 invoked by uid 1010); 19 Jun 2004 16:37:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 68371 invoked by uid 1007); 19 Jun 2004 16:36:57 -0000 Message-ID: <20040619163656.68076.qmail@pb1.pair.com> To: internals@lists.php.net References: <20040619160702.82169.qmail@pb1.pair.com> Date: Sat, 19 Jun 2004 18:38:44 +0200 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132 X-Posted-By: 194.9.223.26 Subject: Re: throwing exceptions in __autoload From: rashid@ds.pg.gda.pl ("Robert Janeczek") i found http://bugs.php.net/bug.php?id=26193 which explains my problem, but... the reason of problems with catching this exception seems to be no stack frame added. can i set it by myself somehow in derived exception class? my idea to working around this problem is to create temporary class (not object), but i`m not sure if it can be done. in case of error i would create string with class declaration, 'eval' it and throw exception. specified exception for this problem would accept class name as one of params and undeclare the class. i can`t however find any way of undeclaring/redeclaring classes - is it possible? rash