note 43657 added to function.xml-parse-into-struct
| From: | jukkaho at mail dot student dot oulu dot fi | Date: | Tue, 29 Jun 2004 13:17:05 +0000 |
| Subject: | note 43657 added to function.xml-parse-into-struct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72110@lists.php.net to get a copy of this message | ||
Everyone seems to forget the return value of this function (including people making examples!), but
it is there for a reason:
0 if failed (invalid XML), 1 if succeeded.
Return value really is an integer, be careful with those === operators.
----
Manual Page -- http://www.php.net/manual/en/function.xml-parse-into-struct.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43657
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43657&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43657&report=yes
Search -- http://master.php.net/manage/user-notes.php