Commit graph

113 commits

Author SHA1 Message Date
Kalle Sommer Nielsen
b2a306dc88 Remove PHP4 style constructor usage
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347090 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-28 08:04:59 +00:00
Christoph Michael Becker
86d2bbd19b Fix #77610: xml_parser_create and xml_parser_create_ns do not document failure return
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346823 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-13 16:04:08 +00:00
Christoph Michael Becker
89232cebd2 Document xml_set_external_entity_ref_handler() fix
Cf. <https://github.com/php/php-src/pull/3596>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345905 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-27 16:24:55 +00:00
Christoph Michael Becker
9ee6e26a20 Document new options supported by xml_parser_get_option()
Cf. <https://github.com/php/php-src/pull/3594>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345822 c90b9560-bf6c-de11-be94-00142212c4b1
2018-10-16 17:38:47 +00:00
Christoph Michael Becker
4279863b96 Fix #76874: Documentation of memory leak in Xml Parser
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345634 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-14 12:09:43 +00:00
Christoph Michael Becker
c94bd1e13a Add example for chunked reading and parsing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344608 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-02 00:10:58 +00:00
Christoph Michael Becker
ec7b74c91b Fix #61542: xml_parse with invalid attribute returns 1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344503 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-14 16:17:11 +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
Kalle Sommer Nielsen
bbc9bc8e92 Added a note about utf8_encode() and utf8_decode() is now in the core of PHP, and not ext/xml as of 7.2.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343495 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 15:48:01 +00:00
Christoph Michael Becker
47065812c2 Fix #71595: NS end handler is never called
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341634 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-08 18:41:14 +00:00
Maciej Sobaczewski
95bdd6883b Another round of PHP 4 content removal (mostly inline mentions)
Review is welcome

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341282 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-05 10:17:07 +00:00
Andrea Faulds
2634ea3b40 Correct copy-paste error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340507 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 16:15:13 +00:00
Andrea Faulds
838941f6cc Improve utf8_decode() and utf8_encode() documentation
This rewrites the descriptions of both to clarify that they convert 
specifically between ISO-8859-1 and UTF-8, adds a warning about
confusion with Windows-1252, and adds helpful "See also" links to
other character set conversion functions. Additionally, the
behaviour for invalid characters in utf8_decode() was clarified,
and the description of the UTF-8 binary encoding was removed.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340506 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-17 14:31:39 +00:00
Christoph Michael Becker
1ff86a66e6 Fix #72793: xml_parser_free leaks mem when execute xml_set_object
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339867 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-12 10:46:29 +00:00
Christoph Michael Becker
cdab70215c minor fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338911 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:14:46 +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
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
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
Dejan Marjanovic
9905374cd0 Replace single quotes with double for (string) <initializer> unless string contains double quotes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333317 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-14 23:48:06 +00:00
Kalle Sommer Nielsen
f5ba33b597 Add a see also link to utf8_decode()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333158 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 15:20:04 +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
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
Davide Pastore
1d86eec448 Small correction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327378 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-30 13:41:38 +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
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
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
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
Mehdi Achour
886c5c639f Revert file to string.
Fix typo

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306474 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-19 23:46:27 +00:00
Carlos Hernández
10eeb063bb I've updated these files
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306351 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-13 23:20:07 +00:00
David Tajchreber
2b0c6356d3 Fixed bug #53505 Wrong wording, the input must be passed as string not 'file'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306218 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-11 04:49:23 +00:00
Kalle Sommer Nielsen
32d49d33ad * Fixed #52089 (missing xml_set_start/end_namespace_decl_handler)
* Added remark about xml_set_end_namespace_decl_handler() -- Fixes #30834 (Namespace end handler is not called)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304501 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-19 04:58:00 +00:00
Philip Olson
383b579aef - Unified and clarified the installation section of our libxml based XML extensions
- Added libxml requirement to extensions requiring it (w/ new entity)
- Added --disable-* description for those that are enabled by default (w/ new entity)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300860 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-29 19:21:07 +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
bc93886cd1 Prefer <initializer> before "default is"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291316 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 15:41:53 +00:00
Mark Wiesemann
5fe3503258 the current "utf8_encode() - Encodes an ISO-8859-1 string to UTF-8 for an explanation of UTF-8 encoding" is ugly because the "for ..." part is appended to the auto-generated short description of utf8_encode
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289585 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-12 18:52: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
Nilgün Belma Bugüner
c1b6035b04 fixed functions names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281530 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-02 10:39:38 +00:00
Nilgün Belma Bugüner
6333740990 The current releases of XML 1.0 and XML 1.1 have no such definition,
so the XML reference must be removed.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@281485 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-01 07:05:42 +00:00
Yannick Torres
2d7efe3dc8 fix markup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279918 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-04 21:23:55 +00:00
Mehdi Achour
68bd154ab9 Work on constants
Added missing constants:

DOM_PHP_ERR, GLOB_AVAILABLE_FLAGS, FILE_NO_DEFAULT_CONTEXT, FNM_NOESCAPE, FNM_PATHNAME,
FNM_PERIOD, FNM_CASEFOLD, IMAGETYPE_JPEG2000, NAN, INF, MYSQLI_TYPE_INTERVAL, MYSQLI_TYPE_CHAR,
MYSQLI_CURSOR_TYPE_FOR_UPDATE, MYSQLI_CURSOR_TYPE_NO_CURSOR, MYSQLI_CURSOR_TYPE_READ_ONLY,
MYSQLI_CURSOR_TYPE_SCROLLABLE, MYSQLI_STMT_ATTR_CURSOR_TYPE, MYSQLI_STMT_ATTR_PREFETCH_ROWS,
MYSQLI_STMT_ATTR_UPDATE_MAX_LENGTH, MYSQLI_SET_CHARSET_NAME, OPENSSL_ALGO_DSS1, TCP_NODELAY,
SQLITE_NOTADB, SQLITE_FORMAT, PSFS_FLAG_NORMAL, PSFS_FLAG_FLUSH_INC, PSFS_FLAG_FLUSH_CLOSE,
XML_SAX_IMPL

Added missing <constant></constant> markup

Fixed:
 * GD_BUNDLE => GD_BUNDLED
 * SOCKET_ERMCHG => SOCKET_EREMCHG


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277584 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-22 15:45:07 +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
Jakub Vrana
6125c0100d Initializers - part 4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273634 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 12:08:51 +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
Philip Olson
c79f3fc3aa Contains version information (when functions became available to PHP)
# Originally from the following location (although likely modified):
# phpdoc/phpbook/phpbook-xsl/version.xml


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268251 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 03:27:21 +00:00
Mehdi Achour
e72eeb989f Integrate user notes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249433 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 15:20:46 +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
Hannes Magnusson
0258a77f1e MFB: Rename "functions.xml" to entities.<dirname>.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247901 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-10 17:06:11 +00:00
Jakub Vrana
0deb79ee81 When the handler is called (bug #37543)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241480 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 21:21:56 +00:00
Hannes Magnusson
8a238e1c54 s/xml:id/id in examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238930 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-30 14:17:35 +00:00