1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-27 09:18:16 +02:00
Commit Graph

168 Commits

Author SHA1 Message Date
Christoph M. Becker 071a588364 Fix xpointer expressions
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.
2022-12-13 12:13:33 +01: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
Máté Kocsis 6803b3c62d Generate various class synopses from stubs - part 1 (#1241) 2021-12-23 14:22:05 +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 f9c4a68ef4 Removed references to PHP 5, PHP 7.0 (#548) 2021-04-26 11:46:55 +03:00
Sergey Panteleev a0ae28d3bc Removed references to PHP 5, PHP 7.0 (#545) 2021-04-24 20:01:17 +03:00
Sergey Panteleev aab33d6443 Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +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
Ondřej Mirtes 2d2492f8d5 Fixed simplexml_import_dom return type
Closes GH-446.
2021-02-13 14:53:38 +01:00
Yoshinari Takaoka 7e0580fe26 Added PHP 8 into versions.xml for simplexml based on stubs.
Closes GH-376.
2021-01-26 19:34:57 +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 b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +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 578a13198f Update versions based on parsing sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344132 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 12:27:12 +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
Jakub Vrana dd07341fae Remove trailing fullstop in <refpurpose>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343888 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:34:22 +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
Adam Harvey 41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Christoph Michael Becker 96a4b73c02 added return.falseproblem warning to SimpleXML factory functions (fixes bug #69596)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336942 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 14:06:12 +00:00
Christoph Michael Becker f96f7aecf8 improved examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336937 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-13 22:10:18 +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
Simion Onea 14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +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
Sebastian Bergmann 656d1610af Add missing modifier information. Patch by Jeff Welch <whatthejeff@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330543 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-18 05:36:30 +00:00
Jakub Vrana 9e8b518051 Add versions for classes
Generated by http://pastebin.com/NByXgj7E and manually edited

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330432 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 21:02:33 +00:00
Jakub Vrana 1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana b77ea449e7 Undocument interfaces inherited from other implemented interface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330310 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 19:13:25 +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
Richard Quadling b93b3a95c9 BOM removed.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329055 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-10 16:50:00 +00:00
Kalle Sommer Nielsen ef2c8a7a95 Fixed #63679 ("Dealing with XML errors" documentation example is wrong)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328672 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-05 09:11:46 +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
Hannes Magnusson 858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Hannes Magnusson cbc44b26f3 Wrong variable name, pointed out by Simon Harper
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322827 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-26 15:32:15 +00:00
Jakub Vrana 85e669ffd0 Returns SimpleXMLIterator
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322181 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-13 10:37:09 +00:00