|
Description:
|
The is_object() function and is_resource() function appear to return the wrong results for various classes defined in PHP. For example, the attached code when run in native PHP (5.2.10) indicates that MySQLi and MySQLi_Result are both objects but not resources, while Quercus claims the exact opposite.
The issue appears to be related to the @ResourceType annotation added to the Quercus implementation classes, and to the JavaClassDef.wrap() method which appears to wrap any classes which have the @ResourceType annotation within a JavaResourceValue rather than a JavaValue. |