note 24735 added to function.xml-parse
| From: | jacek prucia 7bulls | Date: | Tue, 27 Aug 2002 13:03:59 +0000 |
| Subject: | note 24735 added to function.xml-parse | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-35730@lists.php.net to get a copy of this message | ||
don't underestimate is_final argument. If you ignore it (since it is optional) you can get
strange results with non well-formed XML's, like no output from xml_parse at all. Also if you
use feof($fp) as is_final make sure you don't use fgets, because there's a caveat with how
feof is evaluated there.
--
http://www.php.net/manual/en/function.xml-parse.php
http://master.php.net/manage/user-notes.php?action=edit+24735
http://master.php.net/manage/user-notes.php?action=delete+24735
http://master.php.net/manage/user-notes.php?action=reject+24735