note 86031 added to function.simplexml-element-construct

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
A note about the undocumented parameters:

$ns (string): namespace prefix or URI
$is_prefix (bool): TRUE if $ns is a prefix, FALSE if it's a URI; defaults to FALSE

E.g.:

<?php
$xml_string = '<xml xmlns:foo='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'>
<foo:bar>..................';

$a = new SimpleXMLElement($xml_string, NULL, FALSE, 'foo', TRUE);
$b = new SimpleXMLElement($xml_string, NULL, FALSE, 'uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882', FALSE);
?>

However, I don't know exactly what these parameters are used for. They don't seem to be of much help when dealing with namespaces :-?
----
Server IP: 80.64.47.13
Probable Submitter: 80.37.14.51
----
Manual Page -- http://www.php.net/manual/en/function.simplexml-element-construct.php
Edit        -- https://master.php.net/note/edit/86031
Del: integrated  -- https://master.php.net/note/delete/86031/integrated
Del: useless     -- https://master.php.net/note/delete/86031/useless
Del: bad code    -- https://master.php.net/note/delete/86031/bad+code
Del: spam        -- https://master.php.net/note/delete/86031/spam
Del: non-english -- https://master.php.net/note/delete/86031/non-english
Del: in docs     -- https://master.php.net/note/delete/86031/in+docs
Del: other reasons-- https://master.php.net/note/delete/86031
Reject      -- https://master.php.net/note/reject/86031
Search      -- https://master.php.net/manage/user-notes.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.