Christian Weiske
dca2a8354f
Document special handling for "&" in SimpleXml::addChild()
...
See the comments section for that page: https://www.php.net/manual/en/simplexmlelement.addchild.php
2026-03-05 14:33:07 +01:00
Derick Rethans
c1f37a6c27
Mark oop5 and xml* categories as 'interactive' (with exceptions) and use 'examples/' dir for XML example files so they (will) work with WASM
2025-03-06 14:35:36 +00:00
Derick Rethans
d6f54016d6
Fixed examples, and made some self-contained
2025-03-06 14:33:15 +00:00
haszi
28f0dc949d
Remove links from within constant tags ( #3265 )
...
Co-authored-by: haszi <haszika80@gmail.com >
2024-03-17 17:56:30 +00:00
Kamil Tekiela
39dc32304a
Fix argument to SimpleXMLElement's constructor
2024-02-10 23:11:02 +01:00
Niels Dossche
523e43a7d9
Fix SimpleXMLElement::current() example ( #2766 )
...
1) There's a typo in the variable name
2) The call returned NULL in PHP < 8.1. It throws an exception starting
in 8.1. To keep the example simple and not introduce different
variants based on the version, just remove the faulty call and
expand upon the comment.
2023-09-16 18:06:36 +01:00
Máté Kocsis
dcb657b7e9
Move iterator methods of SimpleXMLIterator to SimpleXMLElement ( #2161 )
2023-05-10 15:09:44 +02:00
Máté Kocsis
770c6facae
Update ext/simplexml role attributes ( #2057 )
2022-12-11 23:21:31 +01:00
Pierrick Charron
08e0e7dd68
Replace each() with foreach in usort and simplexmlelement/xpath
2022-05-26 13:16:41 -04:00
George Peter Banyard
c44e9cb68b
Fix some (con|de)structor pages ( #1507 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-04-06 18:55:35 +01:00
Christoph M. Becker
1ceec35d4d
SimpleXMLElement::children() returns null for attribute nodes
2022-01-20 12:00:39 +01:00
Christoph M. Becker
6199e10e91
simplexml_load_file(): see also libxml_set_streams_context()
...
Cf. <https://bugs.php.net/53369 >.
2021-09-09 16:27:36 +02:00
George Peter Banyard
74a2224b35
Fix section order issues in SimpleXML extension
...
Part of #658
2021-06-06 18:03:03 +01:00
Máté Kocsis
1367cac761
Update the methodsynopsis of some recently changed stubs
...
Closes GH-625.
2021-05-24 23:29:02 +02:00
Máté Kocsis
5916fd8f74
Update ext/simplexml methodsynopses based on stubs
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Closes-GH 599.
2021-05-22 17:15:57 +02:00
Sergey Panteleev
184f3f7bd4
Remove PHP 5, 7 references ( #565 )
2021-05-12 14:49:16 +03:00
Sergey Panteleev
5fabd07880
Removed Changelog entries for PHP 5, PHP 7.0 ( #543 )
2021-04-22 17:52:58 +03:00
fullbl
793c9fc579
SimpleXMLElement::attributes() may return NULL
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Closes GH-482.
2021-03-08 11:22:03 +01:00
Christoph Michael Becker
4754397753
Revert revision 351727 from phpdoc/en/trunk:
...
Document false and null return types
Cf. <https://news-web.php.net/php.doc.cvs/17645 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b
Document false and null return types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Christoph Michael Becker
3e15d2894f
Remove more changelog entries, mostly from PHP 5.4 era
...
Patch contributed by Sobak <msobaczewski@gmail.com >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
9af43469f4
Remove more changelog entries, mostly from PHP 5.2 era
...
Patch contributed by Sobak <msobaczewski@gmail.com >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
6aafa955a6
Fix section order
...
According to <http://svn.php.net/viewvc/phpdoc/doc-base/trunk/RFC/skeletons/function.xml?view=markup >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349883 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 08:04:25 +00:00
Christoph Michael Becker
cd38bc2a91
SimpleXML: add missing changelog entries for $is_prefix
...
According to the PHP 5.2 migration guide, the `$is_prefix` parameter was added to three methods and two functions in PHP 5.2, but only two of those had a changelog entry about this change.
Ref: https://www.php.net/manual/en/migration52.parameters.php
Patch provided by jrfnl.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349881 c90b9560-bf6c-de11-be94-00142212c4b1
2020-05-14 07:49:51 +00:00
Christoph Michael Becker
0694f17113
Fix #63060 : Option LIBXML_NOEMPTYTAG is ignored
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349428 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-14 16:56:46 +00:00
Nikita Popov
37909220d2
Replace each() with foreach in asXML() example
...
Patch by nikic.
Closes GH-1.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347573 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-08 12:52:24 +00:00
Jakub Vrana
b8758b0605
Use entities in initializer
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +00:00
André Luis Ferreira da Silva Bacci
e9366ee458
Fix svn:eol-style, svn:keywords and svn:mime-type on XML files. No content change, but some revision numbers will upgrade.
...
See https://github.com/phpdocbrbridge/bridge/blob/master/src/revbumper.php for automatic tool for translations.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342988 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-02 18:42:15 +00:00
Christoph Michael Becker
8e8be101a2
Fix #66695 : Insufficient documentation wrt. LIBXML_PARSEHUGE
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339938 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-27 00:12:27 +00:00
Richard Quadling
cb2e7b70b1
svn:keywords, svn:eol-style, svn:ignore all set appropriately.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334955 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-23 12:08:23 +00:00
Peter Cowburn
d8d9a1e6a4
WS
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333168 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:53:14 +00:00
Jakub Vrana
aa80668875
Document SimpleXMLElement::__toString()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332131 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-16 05:48:19 +00:00
Jakub Vrana
a592ee62e5
Document new method parameters
...
Checked with http://pastebin.com/PQKzkuQK
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330271 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 19:01:19 +00:00
Sherif Ramadan
117197a7a4
Updated change log entries for SimpleXMLElement construct parameters.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328503 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-26 21:38:03 +00:00
Jakub Vrana
d8b968e63c
Document public constructors
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321901 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-08 05:33:58 +00:00
Gordon Oheim
4c1b3f8f93
Marked up Exception as classname
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319682 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-22 14:22:28 +00:00
Richard Quadling
8263f53d86
Value parameter is optional.
...
Fix bug#60924
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319173 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-14 15:17:09 +00:00
Justin Martin
9212a0e064
Filled in the ns and is_prefix parameters, closing #54647
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312824 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-02 22:46:52 +00:00
Matthew Fonda
9e253dede9
Clarify that SimpleXML::__construct raises E_WARNING for errors in XML, but throws an exception if the XML is unparsable - fixes bug #53998
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312634 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 17:46:38 +00:00
Peter Cowburn
ea1e3be13a
see also link to basic usage page
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311775 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-03 15:33:29 +00:00
Jakub Vrana
d3c871ae1e
Fix protos
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308253 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-11 13:16:13 +00:00
Adam Harvey
9612f986d0
Fix doc bug #53633 (SimpleXML incorrectly gives NULL for attributes() with
...
XPath value expression).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307081 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-04 13:33:49 +00:00
Peter Cowburn
03be84c151
added SimpleXMLElement::saveXML
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305706 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 23:25:55 +00:00
Peter Cowburn
e551bed23b
SXE class/method synopsis improvements, lowercase xml:ids
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305704 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 23:21:32 +00:00
Justin Martin
3d96f443ae
Added a note to all SimpleXMLElement method examples which make use of the example.php include, indicating where that include is located. As per bug #53186 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305120 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-05 23:56:36 +00:00
Richard Quadling
ea2023e453
Added <screen> output for examples.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301048 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-07 11:47:34 +00:00
Daniel Egeberg
54028b9d81
Fixed PHP bug #52273 , added example outputs to SimpleXMLElement::getDocNamespaces().
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301044 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-07 11:18:44 +00:00
Daniel Egeberg
95225913b7
Fixed PHP bug #51585 (wrong description for is_prefix in SimpleXMLElement::children)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298133 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-17 21:13:21 +00:00
Daniel Egeberg
96c9d88bad
Converted to utf-8
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Daniel Egeberg
be4feedda9
Fixed example in SimpleXMLElement::count().
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295805 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-03 19:30:46 +00:00