180 Commits

Author SHA1 Message Date
haszi
48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi
46a9cdd2db Remove empty constants pages (#3527)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 16:08:35 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Máté Kocsis
d715365c09 Sync some methodsynopses with stubs (#3199)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-04-16 13:02:43 +02: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
d2939d4611 Cleanup libxml options parameter description (#2811)
PHP 7.0 requires at least libxml2 2.6.11. So any note about an older
version is simply irrelevant.

Use an entity to use consistent, more useful wording.

This patch also gets rid of some personification.
2023-09-29 23:53:29 +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
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +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
3fc56d76de List inherited constructors on the class synopsis pages (#2090) 2022-12-28 15:51:40 +01:00
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