Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003242 [Quercus] minor always 01-13-09 03:43 01-15-09 15:40
Reporter haplo View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
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");
Additional Information
Attached Files

- Relationships

- Notes
(0003740)
ferg
01-15-09 15:40

php/03p4
 

- Issue History
Date Modified Username Field Change
01-13-09 03:43 haplo New Issue
01-15-09 15:40 ferg Note Added: 0003740
01-15-09 15:40 ferg Assigned To  => ferg
01-15-09 15:40 ferg Status new => closed
01-15-09 15:40 ferg Resolution open => fixed
01-15-09 15:40 ferg Fixed in Version  => 4.0.0


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