Mantis Bugtracker
  

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

- Relationships

- 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
 

- Issue History
Date Modified Username Field Change
01-15-09 12:22 koreth New Issue
01-15-09 12:24 koreth Note Added: 0003735
01-15-09 13:06 ferg Priority normal => urgent
01-15-09 13:40 nam Status new => assigned
01-15-09 13:40 nam Assigned To  => nam
01-15-09 13:40 nam Status assigned => closed
01-15-09 13:40 nam Note Added: 0003738
01-15-09 13:40 nam Resolution open => fixed
01-15-09 13:40 nam Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker