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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php