#28580 [Opn->Csd]: Typo in documentation
| From: | nlopess@php.net | Date: | Thu, 10 Jun 2004 15:47:25 +0000 |
| Subject: | #28580 [Opn->Csd]: Typo in documentation | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969361279@lists.php.net to get a copy of this message | ||
ID: 28580
Updated by: nlopess@php.net
Reported By: chruker at tiscali dot dk
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: All
PHP Version: Irrelevant
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:
------------------------------------------------------------------------
[2004-05-31 11:46:54] goba@php.net
It should only print <br> if the function returns false, so I would not
be surprised...
------------------------------------------------------------------------
[2004-05-30 23:19:45] chruker at tiscali dot dk
I just tried:
echo xml_parser_get_option($xml, 1241243243)."<BR>";
but it doesn't print anything at all.
------------------------------------------------------------------------
[2004-05-30 21:48:23] jed at jed dot bz
It also generates a Warning, but it still might return FALSE.
------------------------------------------------------------------------
[2004-05-30 21:46:11] jed at jed dot bz
Although I was able to find this "typo" in the documentation, I have
some doubts it is a typo.
If you submit a bogus 'option' to xml_parser_get_option() it might
return FALSE if that option isn't really an option. For example:
$x = xml_parser_get_option($xml, 135971923752512);
May return FALSE because there is no option that *can be set* by that
number.
Just a thought.
------------------------------------------------------------------------
[2004-05-30 17:52:25] chruker at tiscali dot dk
Direct link to the page in the online documentation:
http://www.php.net/manual/en/function.xml-parser-get-option.php
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/28580
--
Edit this bug report at http://bugs.php.net/?id=28580&edit=1