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
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
Pierrick Charron
4724b47c25
Added new entities for Properties, Methods, InheritedMethods, Constants
...
# Those words were hardcoded in all class synopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292734 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-29 09:42:00 +00:00
Jakub Vrana
201dc3748c
Prefer <initializer> before "defaults to"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Philip Olson
f439cac098
Added installation (configure) documentation, and specified core exts that rely on ext/libxml
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289134 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-03 17:30:55 +00:00
Philip Olson
2eef5ed225
Added a link to the libxml error code api docs, via user note (php at jordie dot org)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289106 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-02 21:16:26 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Kalle Sommer Nielsen
8b9093186a
Fixed bug #49140 (Bad coding practice in example code)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286768 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-03 21:14:19 +00:00
Hannes Magnusson
3fbb1438bd
Update the output to use recent libxml2 version which includes better column support
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286584 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-31 10:45:45 +00:00
Nilgün Belma Bugüner
50f05a02f3
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283820 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 07:50:41 +00:00
Kalle Sommer Nielsen
9fc23c3673
libxml_disable_entity_loader is in 5.2.11 now, not 5.3.0
...
# http://news.php.net/php.cvs/59020
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282855 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 23:38:11 +00:00
Kalle Sommer Nielsen
37c8ec8c6a
libxml_disable_entity_loader()'s parameter is a boolean, not a string
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282789 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-26 02:34:57 +00:00
Hannes Magnusson
98574a0e0e
Document libxml_disable_entity_loader()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282639 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 12:22:57 +00:00
Philip Olson
78757896f7
Added PHP/PECL version information
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275626 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-12 01:28:10 +00:00