Mantis Bugtracker
  

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

- Relationships

- Notes
(0006691)
nam
05-04-16 05:32

php/1x3[b-g]
 

- Issue History
Date Modified Username Field Change
04-06-16 02:14 ebo New Issue
05-04-16 05:32 nam Status new => assigned
05-04-16 05:32 nam Assigned To  => nam
05-04-16 05:32 nam Status assigned => closed
05-04-16 05:32 nam Note Added: 0006691
05-04-16 05:32 nam Resolution open => fixed


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