Anonymous | Login | Signup for a new account | 04-18-2024 19:57 PDT |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0005992 | [Quercus] | major | always | 04-06-16 02:14 | 05-04-16 05:32 | ||||
Reporter | ebo | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0005992: isset() on SimpleXML object not working | ||||||||
Description |
When using isset() to check if a variable exists in a SimpleXML object, the function always returns false, even if the variable exists. Example: $xml='<?xml version="1.0" encoding="utf-8"?> <config type="system" version="1.5.0" hide="forms"> <name>Module</name> <field1> <type>project</type> </field1> </config>'; $xmlf=simplexml_load_string($xml); var_dump($xmlf->name); echo ' '; var_dump(isset($xmlf->name)); echo ' '; |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |