ID:               41096
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mistknight at gmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         SimpleXML related
 Operating System: kubuntu 6.10 edgy
 PHP Version:      5.2.1
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

The second parameter is available since 5.2.0. So if itis not existing,
you must be using 5.0.* or 5.1.*.


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

[2007-04-16 03:54:56] mistknight at gmail dot com

Description:
------------
I'm using PHP 5.2.0 and I'm getting this warning:

Warning: SimpleXMLElement::children() expects at most 1 parameter, 2
given

on this line of code:

$content = (array)$news->children('content',TRUE);

The problem seems like it's transient sometimes appearing and sometimes
not :-( I downloaded PHP 5.2.1 and it's not happening but I can't really
be sure weather it's solved or not. Especially since i can't find any
mention of it in the bug tracking system!

I can always suppress the warning and everything would work fine. But
it just doesn't seem right to me. Hope someone can shed some light on
this.



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


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

Reply via email to