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
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
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
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
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
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
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
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
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
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
Jakub Vrana
f663f39df9
Initializers - part 3
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273443 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-13 12:47:53 +00:00
Hannes Magnusson
c030e2adf7
Upgrade to DocBook5:
...
- All id attributes are now xml:id
- Add docbook namespace to all root elements
- Replace <ulink /> with <link xlink:href />
- Minor markup fixes here and there
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Nuno Lopes
9208ae0590
commit a nice example improvement that I forgot to commit 1 month ago :)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195125 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-04 11:41:23 +00:00
Nuno Lopes
ce6718ec07
more docs & examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179841 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-15 17:20:43 +00:00
Nuno Lopes
9281c48d86
start writing libxml docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179834 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-15 13:47:10 +00:00
Nuno Lopes
e58a9d9926
add a new directory for libxml fucntions/constants. move teh constants from simplexml page to here
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179773 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-14 18:01:02 +00:00