ID:               29748
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mesarpe at gmail dot com
-Status:           Open
+Status:           Bogus
-Bug Type:         CGI related
+Bug Type:         SimpleXML related
 Operating System: windows XP
 PHP Version:      5.0.1
 New Comment:

We don't support dev-php.


Previous Comments:
------------------------------------------------------------------------

[2004-08-19 02:27:58] mesarpe at gmail dot com

Description:
------------
Hello! Well, I'm loadind an XML file into a file this xml has a
parameter that doesn't exist. I try to readit, if it doesn't  exist,
system shows me a windows messaged that CLI has crashed and my
application will be closed. (I'm using Dev-PHP version alpha 3
http://devphp.sourceforge.net/)

I tryied to check it with Apache and my apache crash down too.

Thanks, anyway!

Reproduce code:
---------------
$var = @simplexml_load_file('xml.xml');
if($var->options->item == false)
 echo "a";
else
 echo "b";

Expected result:
----------------
a or b
a if it exist.
b if it doesn't

Actual result:
--------------
nothing


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29748&edit=1

Reply via email to