Joe Watkins
393c8182a0
bug #63213 just requires a clear example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328357 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-14 14:55:56 +00:00
Peter Cowburn
c746fb679f
count() does in fact discover recursion and issues an E_WARNING in response... but it will probably return a much higher number than it should. (doc #63406 )
...
--
Provided by anonymous #22227 (mail+php@requinix.net )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328332 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-12 22:34:04 +00:00
Yannick Torres
38e3798be2
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328184 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-29 15:25:28 +00:00
Yannick Torres
00649f549f
Typo found by online editor user
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328079 c90b9560-bf6c-de11-be94-00142212c4b1
2012-10-19 09:28:27 +00:00
Adam Harvey
b67b1b4f37
Remove the changelog from array_key_exists(), since this change never actually
...
shipped in a stable version: the array_key_exists() changes in
42feeddd4072d094d376a2cd96f0255d7def9a8c were reverted by
45572a498ab40d729d2aa0f3b080f029c91d8f9d well before 5.3.0 was released.
Also, add a note to document the "undocumented" behaviour and point at
property_exists() even more strongly — there's no point hiding it, since it
causes actual bugs (as I've just found out in ##php).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327706 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-20 09:27:30 +00:00
Adam Harvey
79a4582205
Revert r327703. Apparently I can't read.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327704 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-20 04:39:29 +00:00
Adam Harvey
50506ce784
Fix doc bug #63119 ("Sorting Arrays" Documentation Typo Correction).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327703 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-20 04:33:51 +00:00
Shein Alexey
d6b4563c08
Fixed WS
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327494 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-06 09:49:38 +00:00
Sherif Ramadan
7f5e92953b
Added changelog section to sort for new options in sort_flags parameter.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326793 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-24 04:31:40 +00:00
Adam Harvey
9b2a0aeeba
Fix doc bug #62471 (Documentation for array_search misses 5.3 changes).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326728 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 09:04:50 +00:00
Sherif Ramadan
15bd95f5d1
Added caution for returning non-integer types to help clarify language for usort callback behavior.
...
Address issues raised in Bug #62590
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326718 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 02:22:35 +00:00
Nikita Popov
74b048962a
Apply patch by GoogleGuy
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326684 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-18 11:33:02 +00:00
Peter Cowburn
395b266353
array_replace(_recursive) parameters are not by reference (doc #62383 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326300 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-22 21:42:14 +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
Anthony Ferrara
245b748aca
Corrects the doc for array_flip to match the observed behavior when the input contains values that are not valid keys.
...
--
Provided by John Papaioannou (john.papaioannou@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325999 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-06 12:48:32 +00:00
Paul Reinheimer
a1121d3fb1
grammar correction (doc bug #61872 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325537 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-04 19:31:17 +00:00
Peter Cowburn
1c961c95fa
ids for usort examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325272 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-17 19:03:05 +00:00
Peter Cowburn
6863e5d2ab
usort closure example (patch by Benjamin Kuz)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325271 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-17 18:56:19 +00:00
Yannick Torres
568d95f88b
Fix typo & literal tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324714 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-02 13:36:00 +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
Arpad Ray
5fba3a90dd
Docs for #55158 (adding SORT_NATURAL and SORT_FLAG_CASE)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324055 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-09 13:47:14 +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
Maciek Sokolewicz
a39cd243b0
Revert part of previous commit, accidentally approved part of an incorrect patch
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323351 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-18 20:06:31 +00:00
Maciek Sokolewicz
ce8212a9d0
Fixed missing initializers
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323350 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-18 20:02:26 +00:00
Peter Cowburn
5135f8f044
fixed types for array_reduce() callback proto (thanks starlays)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323153 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-10 16:43:39 +00:00
Antony Dovgal
4f685cf936
minor clarification
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323088 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-06 12:55:38 +00:00
Justin Martin
ca72210df6
Marked callback prototype methodnames replaceable.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-04 21:27:41 +00:00
Justin Martin
a92128a89f
Refactored additional array functions using the callback function snippet and prototype.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323060 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-04 21:01:14 +00:00
Justin Martin
8519fee981
Cleaning up and refactoring the callback descriptions for functions which use a user-defined comparison function.
...
Adds an entity to global.ent defining a generic callback prototype, which is common to several sorting functions.
Adds a language snippet describing the comparison function return value, which is common to several sorting functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323049 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-03 21:07:23 +00:00
Justin Martin
c3b7ce511c
Added callback prototype. Closes bug #60956 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323048 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-03 20:58:24 +00:00
Nikita Popov
123babdf91
Fix Doc Bug #51112 : list() misbehaviour
...
Add a warning saying that modification of the array being destructured during list() execution will result in undefined behavior.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320698 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-08 21:25:44 +00:00
Jakub Vrana
965f8ae1ca
Link array_slice() and array_chunk()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320302 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-03 07:14:26 +00:00
Jakub Vrana
a331658633
Product of empty array
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320293 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 23:55:51 +00:00
Gordon Oheim
70c08c45a4
fixes Bug #60427 : array_reverse docs are slightly misleading
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320282 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 13:00:40 +00:00
Dave Barr
9ca0ef14e2
- Add list() to See Also.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320268 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-02 05:51:28 +00:00
Joey Smith
bb0f425fc7
Remove word 'system' from 'system locale', which can confuse readers.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320067 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-28 03:48:36 +00:00
Richard Quadling
0158300574
A short array alters length description.
...
Fixes bug #60320
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319411 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-17 16:29:13 +00:00
Peter Cowburn
680b72c9b8
typofix (patch by anon 11351)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318104 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-14 11:39:59 +00:00
Adam Harvey
b66067051c
Fix doc bug #55343 (documentation needs to be more clear) by making the
...
array_intersect_assoc() example more explicit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314091 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-02 09:33:49 +00:00
Jakub Vrana
cd7c33a6ce
Whitespace
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@314089 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-02 09:10:35 +00:00
Jakub Vrana
6deaf016e7
See also
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313672 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-25 14:38:26 +00:00
Jakub Vrana
7ecf6f14fd
Markup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313671 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-25 14:37:04 +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
Jakub Vrana
c05c2912b1
Doesn't return false for empty arrays anymore
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312709 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 16:53:51 +00:00
Jakub Vrana
9190379067
Clarify count() with objects
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312153 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-14 14:40:03 +00:00
Jakub Vrana
61e122fd90
Move seealso to list
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312075 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-12 01:09:01 +00:00
Peter Cowburn
fab3854a2e
clarify range() parameter purposes (doc #54696 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311397 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-24 20:14:36 +00:00
Peter Cowburn
eae252d99c
tidy prototype for array_replace_recursive() (doc #54774 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311247 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-19 12:17:49 +00:00
Peter Cowburn
078cf6c9e9
tidy array_replace() parameters (doc #54773 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311163 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:17:16 +00:00
Peter Cowburn
0266c9027f
tidy array_merge() prototype (doc #54772 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311162 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-17 22:10:53 +00:00