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.
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
- (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