7 Commits

Author SHA1 Message Date
Christoph M. Becker
f5992156e6 Fix XMLParser example for more recent PHP versions (#1662)
The example uses the `$parser` as array index, but that implicit
conversion to integer already raises a notice as of PHP 7.0.0, and
outright fails as of PHP 8.0.0, since the `$parser` is an object now.

Since there doesn't appear a good reason for `$depth` to be an array
which supports different parsers, we change it to an integer, what also
simplifies the example.

This basically integrates user note 127199.
2022-07-01 15:12:48 -05:00
Adam Harvey
28fe0b00a9 Change the XML parser external entity example, as suggested by clicky.
Fixes doc bug #68368 (Insecure example).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335165 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-07 10:59:29 +00:00
Phil Sturgeon
8ea1f0e33d Fixed bug #65442
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332465 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-18 21:02:00 +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
Nilgün Belma Bugüner
b9d85cd6cd fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283842 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:19:14 +00:00
Philip Olson
84525eff8e Changed deprecated ereg to preferred preg from SeeAlso and Examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270042 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-28 20:34:00 +00:00
Hannes Magnusson
7f9b25eef2 MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
 - Moved the intro to book.xml
 - Changed the intro ID from <extname>.intro to intro.<extname>
 - Moved the constants entity to book.xml
 - Changed constants.xml to be an appendix
 - Changed the xml.encoding section to be an article (encoding.xml)
 - Changed the xml.case-folding section to be an article (case-folding)
 - Changed the xml.error-codes section to be an article (error-codes.xml)
 - Changed the xml.eventhandlers section to be an article (eventhandlers.xml)
 - Moved the examples into its own chapter (examples.xml)
 - Moved the configuration, requirements and resources sections to setup.xml
 - Moved the configure entity to setup.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248894 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-23 22:39:46 +00:00