ID: 41096 User updated by: mistknight at gmail dot com Reported By: mistknight at gmail dot com Status: Bogus Bug Type: SimpleXML related Operating System: kubuntu 6.10 edgy PHP Version: 5.2.1 New Comment:
Sorry for that. But I've searched the documentation top to bottom without finding any notes about having this added in 5.2 and later. I'm beginning to worry I'm searching in outdated documentation or something. May I trouble you further with pointing me to the documentation? My apologies again for wasting your time. Previous Comments: ------------------------------------------------------------------------ [2007-04-16 06:31:42] [EMAIL PROTECTED] 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.*. ------------------------------------------------------------------------ [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