#37771 [Opn->Csd]: xml_parse's return value is incorrect.

From: Date: Fri, 09 Jun 2006 20:26:30 +0000
Subject: #37771 [Opn->Csd]: xml_parse's return value is incorrect.
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373246@lists.php.net to get a copy of this message
ID: 37771 Updated by: colder@php.net Reported By: colder@php.net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: colder New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-06-09 20:24:33] colder@php.net Description: ------------ According to the proto and the source[1]: xml_parse() is ment to return an int. &return.success; entity as return value is thus incorrect. Patch is following[2]. [1.1] http://lxr.php.net/source/php-src/ext/xml/xml.c#1327 [1.2] http://lxr.php.net/source/php-src/ext/xml/compat.c#502 [2] http://patches.colder.ch/xml-parse.patch?color ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37771&edit=1

« previous php.doc (#969373246) next »