84 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
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
2a8b2f1c53 Sync some classsynopses with stubs (#3367)
* Sync some classsynopses with stubs

* Rename class constant container IDs

* Remove double hypens from IDs
2024-05-20 13:15:53 +01:00
haszi
8f6fd5c55a Add missing libxml related constants (#3388)
* [skip-revcheck] Fix whitespace

* Add missing libxml related constants

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-05-18 15:06:51 +02:00
Máté Kocsis
90afcd69fc Fix LibXMLError class name (#3063) 2024-01-05 12:47:14 +00:00
Máté Kocsis
5e9500ddad [skip-revcheck] Syncronize predefined constants with stubs - part 1 (#2739)
Preparation commit for syncing constants with stub.

This reformats the page, which is mainly just whitespace changes.
2023-09-04 23:37:50 +01:00
Yoshinari Takaoka
6ec541d590 re-added libxml2 required version prior to PHP 8.0
because we have "Installation PHP [>=|<] 7.4" section
2023-08-02 09:01:18 +09:00
Niels Dossche
28c6feba80 Update libxml installation text (#2623)
Fixes GH-1362
Fixes GH-2574
2023-08-01 14:53:21 +01:00
Niels Dossche
8109567de7 Fix type of $public_id of libxml_set_external_entity_loader (#2592) 2023-07-25 15:14:00 +01:00
Niels Dossche
09b23d2b26 Add extra words of caution for validateOnParse and LIBXML_VALIDATEDTD (#2585) 2023-07-17 16:02:08 +01:00
Máté Kocsis
dea05ca001 Remove unnecessary role attribute for libxml_get_external_entity_loader 2022-12-11 23:35:46 +01:00
Tim Starling
d0d1ec131e Add documentation for libxml_get_external_entity_loader() (#1933) 2022-11-04 12:01:29 +00:00
Christoph M. Becker
554179d438 Fix libxml deprecations
`libxml_disable_entity_loader()` is deprecated as of PHP 8.0.0, not
`libxml_set_external_entity_loader()`.
2021-08-10 22:26:31 +02:00
Yoshinari Takaoka
fed3682684 Fix section order issues in some extensions (#667)
Fix section order issues

- ldap
- libxml
- intl

Part of php/doc-en#658
2021-06-07 23:04:32 +09:00
Juliette
f3b5475eeb PHP 8.0 migration/deprecated: expand on libxml_disable_entity_loader() (#528)
The current text in the migration guide about the deprecation of `libxml_disable_entity_loader()` is misleading and can easily lead to the introduction of XXE vulnerable code.

In select circumstances, when `LIBXML_NOENT` is used, code can still be vulnerable to XXE attacks, even on PHP 8.0.
So I'm proposing to add an appropriate warning and mention the upgrade path in the migration guide.

Includes fixing a typo on the `libxml_disable_entity_loader()` page.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-04-16 10:44:07 +02:00
Yoshinari Takaoka
a6561ba12e Added PHP 8 into versions.xml for libxml based on stubs.
Closes GH-387.
2021-01-24 15:39:31 +01:00
Christoph M. Becker
5b5bb5d9b3 Improve libxml_disable_entity_loader() docs
We clarify that `libxml_set_external_entity_loader()` is the preferred
alternative, and also note that the function is deprecated as of PHP
8.0.0.
2021-01-19 16:32:53 +01:00
Christoph M. Becker
0e06ad7d77 Improve libxml_set_external_entity_loader() docs
We point out that this function can be used to avoid XXE, and is
preferable to `libxml_disable_entity_loader()` in this regard.

We also set up a proper methodsysnopsis for the `$resolver_function`.
2021-01-19 14:41:43 +01:00
Christoph Michael Becker
f90df97fa5 Generate libxml methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351550 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-23 21:59:02 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
a07808fdd7 Fix #62577: simplexml_load_file does not file if libxml_disable_entity_loader(true)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350442 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-31 16:29:59 +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
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christoph Michael Becker
e1b57a1950 minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338890 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-02 18:09:05 +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
0b21aec05f documented LIBXML_BIGLINES constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336953 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 17:14:26 +00:00
Jean-Sebastien Hedde
a3f1006c02 Just a simple spelling and type error fix
-- 
Provided by anonymous 53037 (tpunt@hotmail.co.uk)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335780 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-20 12:57:47 +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
Maciej Sobaczewski
b72a6bf2e6 Remove last three PHP 4 extensions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334662 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-29 12:41:06 +00:00
Peter Cowburn
795edfedf7 add three libxml constants that comes with 5.4.0 (doc #54037)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332498 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-22 17:14:42 +00:00
Peter Cowburn
678f1d720a Document DOMDocument::schemaValidate/Source() flags parameter.
See https://github.com/php/php-src/pull/325

-- 
Provided by Chris Wright (phpdoc@daverandom.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331156 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-19 08:10:16 +00:00
Jakub Vrana
b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +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
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
Yannick Torres
94497636f2 Fix svn keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324194 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-13 15:34:05 +00:00
Jakub Vrana
5faa7a6747 Document and use callable type hint introduced in PHP 5.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Philip Olson
67324381bf Added documentation for libxml_set_external_entity_loader(). Example stolen from php-src/tests.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323683 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-01 01:27:05 +00:00
Jakub Vrana
4de5cce5d8 Linkable reference constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323624 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 13:22:09 +00:00
Hannes Magnusson
31fc034469 Mention which PHP version the constant exists in (see bug#55656)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321134 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 16:26:33 +00:00
Gordon Oheim
3cebb7fbd5 Added minor clarification and required version to LIBXML_PARSE_HUGE constant (suggested by salathe)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320280 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 11:51:41 +00:00
Gordon Oheim
2eafaa5d9a fixes #60234 - Setting libxml_use_internal_errors to false will also clear any existing errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318950 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-09 15:38:27 +00:00
Richard Quadling
fc9e379fd8 Standardise on single style of quotes for XML tag.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315005 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 11:38:58 +00:00
Jakub Vrana
ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +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
Braian Iván Monnier
66593961ad Error fix, and 2 literal tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307572 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-19 01:18:12 +00:00
Joey Smith
4e154965e8 Document the LIBXML_PARSEHUGE constant, copying the definition from the libxml documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305269 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-11 08:26:54 +00:00
Daniel Egeberg
2fd3f0c96d Converted remaining files to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297078 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:25:51 +00:00
Daniel Egeberg
92ac19c964 Reverted r297058
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297077 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 16:13:03 +00:00
Richard Quadling
41744b84ad Converted to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297058 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-29 09:53:08 +00:00