ID:               29748
 User updated by:  mesarpe at gmail dot com
 Reported By:      mesarpe at gmail dot com
 Status:           Bogus
 Bug Type:         SimpleXML related
 Operating System: windows XP
 PHP Version:      5.0.1
 New Comment:

It's not abvout Dev-PHP.... HAve you read it my description?

There's a bug, try to ue my code and you'll see


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

[2004-08-19 09:47:50] [EMAIL PROTECTED]

We don't support dev-php.

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

[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