Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3242 | minor | always | 01-13-09 03:43 | 01-15-09 15:40 | |
|
|||||
Reporter: | haplo | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
Summary: | 0003242: instanceof does not work with java classes | ||||
Description: |
$pdo = new PDO("mysql:dbname=test;host=localhost", "root", ""); echo '$pdo instanceof PDO is : ' . ( $pdo instanceof PDO ? "true" : "false"); Result on quercus: $pdo instanceof PDO is : false Result on apache: $pdo instanceof PDO is : true This works on quercus as expected: $pdo = new PDO("mysql:dbname=test;host=localhost", "root", ""); echo '$pdo instanceof PDO is : ' . ( is_a($pdo,"com.caucho.quercus.lib.db.PDO") ? "true" : "false"); |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|