Anonymous | Login | Signup for a new account | 10-30-2024 04:14 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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". |
||||||||
Steps To Reproduce | |||||||||
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. |