Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5992 | major | always | 04-06-16 02:14 | 05-04-16 05:32 | |
|
|||||
Reporter: | ebo | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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 ' '; |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|