1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-29 10:13:23 +02:00
Commit Graph

28 Commits

Author SHA1 Message Date
Christoph M. Becker aeda3e7df9 Fix GH-2092: Min/Max throw a fatal on empty error starting 8.0 2022-12-19 14:11:36 +01:00
Christoph Michael Becker 26a93ee76c Restore overloaded signature of max() and min()
Cf. <https://github.com/php/doc-en/commit/7c9687a07aad0806f17356231fec528e8d7383a9#commitcomment-45455504>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352221 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 21:15:42 +00:00
Christoph Michael Becker 7c9687a07a Update methodsynopses of min() and max()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352211 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 18:09:26 +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 9e0f03ac35 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker 962214a5cc Simplify signature of variadic functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Christoph Michael Becker 5acb9e7075 Clarify NULL/boolean comparison of min()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340221 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:33:15 +00:00
Christoph Michael Becker 6c604e6e40 Fix #72835: Note on min/max's page misleading about string comparisons
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339882 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-15 10:06:08 +00:00
Thomas Punt 714db5b24b Resolve doc bug #70596
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338308 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 20:36:10 +00:00
Chris Wright a7ff20f87d Fix inconsistent and misleading description of how min() and max() treat arguments with differing types. Replace with simple explanation, and add matching examples to both pages which show various behaviours.
-- 
Provided by anonymous 48121 (rowan.collins@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334683 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 12:49:39 +00:00
Jean-Sebastien Hedde 600d8bd2ab Missing parenthesis
-- 
Provided by anonymous 28912 (adrien.crivelli@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333494 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-06 15:04:47 +00:00
Yasuo Ohgaki 825561668c Fixed typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332126 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-15 22:09:31 +00:00
Yasuo Ohgaki e3ae54c480 Add NULL/FALSE value example to min()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332118 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-15 04:15:36 +00:00
Jakub Vrana aa742af0b7 Document parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325049 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-11 13:50:52 +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
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 47b4458c69 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283821 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 07:54:14 +00:00
Jakub Vrana 85fc5a0439 Convert non-numeric strings to 0 only if compared to integer (bug #38883)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241456 c90b9560-bf6c-de11-be94-00142212c4b1
2007-08-17 16:34:41 +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
Etienne Kneuss 0c7d906849 fix bogous port to new style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237773 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-15 16:08:49 +00:00
Hartmut Holzgraefe 83c82b47af moving towards new structure
(work-in-progress commit as i'm about to change machines, will finish soon)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233015 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-31 11:20:55 +00:00
Hartmut Holzgraefe 68f6b97171 whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233013 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-31 10:43:52 +00:00
Hartmut Holzgraefe 81434d0377 PHP never behaved as documented here, checked all the way back to 3.0.18 ...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201517 c90b9560-bf6c-de11-be94-00142212c4b1
2005-11-28 16:35:53 +00:00
Jakub Vrana 8214cac81b Fix protos from sources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166691 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-18 14:15:21 +00:00
Philip Olson 072b8f71aa A complete rewrite of min() and max() docs to reflect how they really work, including
many examples.  See also count().  This also closes bug #22565


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135408 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-19 01:03:46 +00:00
Philip Olson 0833c63fa2 Added some examples. Returns NULL on failure. Will fail if one variable is
undefined.  See also max().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@84374 c90b9560-bf6c-de11-be94-00142212c4b1
2002-06-02 04:36:16 +00:00
Hartmut Holzgraefe 5b9fc29465 revision tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe a4b6d72ad3 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00