php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #12261 xml_parser_get_option doesn't get all option that xml_parser_set_option can set
Submitted: 2001-07-19 13:39 UTC Modified: 2005-08-29 18:04 UTC
From: francisf at videotron dot ca Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6 OS: linux rh 6.2 2.2.19
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: francisf at videotron dot ca
New email:
PHP Version: OS:

 

 [2001-07-19 13:39 UTC] francisf at videotron dot ca
You can do
xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,0);

but

 xml_parser_get_option($parser,XML_OPTION_SKIP_WHITE);

will give you 
Warning: xml_parser_get_option: unknown option 

SHouldn't we be able to get it if we can set it?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-17 02:04 UTC] kalowsky@php.net
You can but the only valid get_options are:
PHP_XML_OPTION_CASE_FOLDING
PHP_XML_OPTION_TARGET_ENCODING

marking this as bogus as it really isn't a bug.  
 [2005-08-27 13:09 UTC] betz@php.net
..should be documented then
 [2005-08-29 18:04 UTC] vrana@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 23 14:01:29 2024 UTC