Anonymous | Login | Signup for a new account | 12-17-2024 08:55 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003264 | [Quercus] | block | always | 01-15-09 12:22 | 01-15-09 13:40 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | urgent | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003264: ReflectionFunction::invoke loses exception details | ||||||||
Description |
<?php class MyException extends Exception { } function doSomething() { throw new MyException; } $func = new ReflectionFunction('doSomething'); try { $func->invoke(); } catch (Exception $e) { print get_class($e); } Regular PHP prints "MyException". Quercus prints "Exception". |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0003735) koreth 01-15-09 12:24 |
I would imagine ReflectionMethod has the same problem too (haven't verified it). |
(0003738) nam 01-15-09 13:40 |
php/0g0h |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 28 unique queries executed. |