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
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
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
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
Peter Cowburn
1bdcb1b9fd
clarify parameter descriptions for array_fill() (doc #54628 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310656 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-30 11:46:19 +00:00
David Tajchreber
2fc10c7557
Fixing mistake made with last commit ( #54574 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310394 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-20 14:00:06 +00:00
David Tajchreber
a59197ab9f
Fixed #54574 - clarified that in_array uses loose comparison by default
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310392 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-20 13:58:29 +00:00
Karoly Negyesi
89a73e348c
reverting 307359. current does take the array by reference. but it also allows a constant. oh well.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310277 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-17 09:37:40 +00:00
Hannes Magnusson
507757922d
Be consistent with the reflection info
...
plus, when you pass EXTR_REFS the array really is passed by ref (chx)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310276 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-17 09:32:05 +00:00
Peter Cowburn
9a4ce246ae
added missing initializer for strict param in array_search()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309257 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-15 15:52:33 +00:00
Karoly Negyesi
0419c2fe75
tried to clarify what popen does and added a note to array walk.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308188 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 12:53:33 +00:00
Shein Alexey
6adee2fb1d
Removed 'recursively' wording from array-merge description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307837 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-28 22:13:42 +00:00
Shein Alexey
568b98d647
Added some parameter tags into the array-pad description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307835 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-28 22:09:55 +00:00
Yannick Torres
a249d94435
Add constant tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307565 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-18 22:38:28 +00:00
Karoly Negyesi
5c33d2291a
current does not take the array by reference
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@307359 c90b9560-bf6c-de11-be94-00142212c4b1
2011-01-10 22:07:01 +00:00
Peter Cowburn
e0a1897f5e
Added $step default value (1) for range(). Fixes doc #53555
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306400 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-16 11:16:38 +00:00
Justin Martin
f653adafd6
Clarified example as per bug #53265 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305207 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-08 18:06:30 +00:00
Peter Cowburn
315b44a819
Typo fix (closes doc #53193 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304976 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-28 14:52:00 +00:00
Richard Quadling
070d3068ad
2 <refsect1 role="examples">'s => 1 <refsect1 role="examples">.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304438 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-15 15:09:39 +00:00
Adam Harvey
ec91a6e90f
Fix doc bug #52852 (array_merge modifies numerical keys even if non-numerical).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303390 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-15 10:29:44 +00:00
Adam Harvey
90783beb49
Fix doc bug #52806 (key_exists (alias of array_key_exists) undocumented) by
...
adding key_exists() to the list of function aliases and moving the note about
the deprecated alias to the normal place on the array_key_exists() manual page.
Also removed the now horribly out of date note on the function alias list about
it being correct "as of 4.0.6".
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303248 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-10 02:53:06 +00:00
Gustavo André dos Santos Lopes
a0575612f2
* Made clearer the requirements for the callback function, as per bug #52778
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303045 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-05 05:26:29 +00:00
Adam Harvey
d5e635d12d
Fix doc bug #52646 (contradicting information regarding "sort_flags").
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302524 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 05:29:16 +00:00
Philip Olson
380c441c88
Clarified (in the description) that entry keys are returned. Closes PHP bug #52247
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302055 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-10 01:31:30 +00:00
Mark Wiesemann
d7fad8f1ed
fixed changelog order (descending seems to be common)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301582 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-26 19:46:57 +00:00
Daniel Egeberg
ac57e6596c
Fixed PHP bug #52437 (array_unique version misleading)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301530 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-25 11:12:19 +00:00
Daniel Egeberg
9280b06246
Fixed PHP bug #52392 (Small, but important addictions in "Return Values" and "See Also")
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301475 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-22 17:59:08 +00:00
Peter Cowburn
7653b91a1f
smush another pesky PHP 6
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299468 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 20:49:29 +00:00
Philip Olson
08e2e3465c
Added note about 5.2.10 '0' padding change, and added a bunch of gotcha-like examples as expressed in several user notes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299436 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-18 01:43:37 +00:00
Daniel Egeberg
99a0f11459
Fixed PHP bug #51828 (example of natsort should compare with asort function)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299407 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-15 21:49:14 +00:00
Peter Cowburn
426ec589cc
clarify array_merge reindexing behaviour with numeric-only keys (bug #51699 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298804 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-30 12:27:36 +00:00
Daniel Egeberg
fb70264f42
Clarified the parameter's requirements.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298761 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-29 08:33:49 +00:00
Daniel Egeberg
1db0fccd50
Added initializer to array_reduce()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298259 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-21 15:54:33 +00:00
Yannick Torres
0306ecd5ad
Fix typo in tag name
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297786 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-10 07:58:00 +00:00
Daniel Egeberg
01adf8724e
Fixed PHP bug #51520 (strict-parameter of array_search() and object-identity)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297745 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-09 14:04:21 +00:00
Philip Olson
3e57d6ccfd
Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug #51468
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +00:00
Daniel Egeberg
d6f393442b
Fixed #51453 (Mentioning NULL as special value for replacement in array_splice())
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297304 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-01 20:33:18 +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
d87240a673
Link Countable
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296747 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-24 20:54:21 +00:00
Kalle Sommer Nielsen
b25e5de2b0
Fixed bug #51180 (Incorrect description of array_merge parameters)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296209 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-14 22:29:19 +00:00
Richard Quadling
b091b761c3
Corrected the syntax of XML attributes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294567 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-05 16:14:57 +00:00
Richard Quadling
cac33a7a6b
Enhanced example using a string as $initial.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294359 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 10:01:10 +00:00
Peter Cowburn
de318a3586
array_reduce initial parameter mixed as of 5.3.0. Closes #50919
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294358 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 09:45:02 +00:00
Kalle Sommer Nielsen
4bc27d8766
Remove the last of the PHP3 related stuff around the manual, including the documentation for:
...
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +00:00
Hannes Magnusson
f39b9daa3c
array_flip() will never return false (cought by yawk)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293230 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-07 20:19:16 +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
Jakub Vrana
201dc3748c
Prefer <initializer> before "defaults to"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291313 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-25 14:49:47 +00:00
Jakub Vrana
ec87ab8ad9
First parameter can't be negative (bug #40882 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291198 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-23 12:52:00 +00:00
Jakub Vrana
29268ad117
Resets pointer (bug #50176 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290755 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-14 20:20:34 +00:00
Jakub Vrana
aaf3c8054b
Terminology (bug #49834 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290698 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 21:06:58 +00:00
Jakub Vrana
c49f0a6a86
Returns array (bug #50131 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290672 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 16:48:52 +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
Torben Wilson
6e6a7b535a
Fixed an old incorrect description of array union.
...
Addresses bug #46765 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287831 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 08:34:04 +00:00
Torben Wilson
3152dc0fa7
Typo fix.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287828 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 07:08:17 +00:00
Torben Wilson
8a0492f839
Documented what happens when you use extract() on $_FILES with
...
EXTR_SKIP when register_globals is turned on. Also noted that good
coding practice means you should never see this.
Addresses Bug #45283 .
Also fixed some minor grammatical problems.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287827 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 06:43:30 +00:00
Torben Wilson
9bd06a0d9d
Document the fact that key() returns NULL when the array pointer is out of bounds.
...
Addresses Bug #47330 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287789 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-27 04:48:24 +00:00
Rasmus Lerdorf
5c6fd60e8f
Note about the array parameter being passed by reference
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284285 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-17 21:56:27 +00:00
Richard Quadling
514d3eef12
Fix #48921 - First parameter is passed by reference.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284105 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-15 08:50:49 +00:00
Nilgün Belma Bugüner
876c81c602
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283800 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:30:45 +00:00
Hannes Magnusson
49747f6e5f
Like the changelogs says, the random number generator is seeded
...
automatically
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283558 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-06 07:24:11 +00:00
Kalle Sommer Nielsen
3b0392cafa
Fixed #48119 (usort() docs don't mention it now takes a lambda)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283436 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-03 18:21:37 +00:00
Richard Quadling
e2d7ee138a
Added versions and some typos
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282707 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-24 09:20:29 +00:00
Damien Seguy
021cc13b97
fix build
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282666 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 16:44:57 +00:00
Damien Seguy
dfef10d5b3
initial commit
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@282662 c90b9560-bf6c-de11-be94-00142212c4b1
2009-06-23 15:51:34 +00:00
Kalle Sommer Nielsen
7dec13037a
Revert
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280953 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-22 12:49:59 +00:00
Kalle Sommer Nielsen
95a492c98b
Fixed #48316 (Precision for array_multisort)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280919 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-22 00:30:36 +00:00
Kalle Sommer Nielsen
29c60ed6c8
Fix proto
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280918 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-22 00:26:10 +00:00
Hannes Magnusson
b1774f7680
We don't document bugs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280839 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-20 08:33:26 +00:00
Moriyoshi Koizumi
793badf884
* Update the document so it reflects the recent change.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280663 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-17 10:19:11 +00:00
Etienne Kneuss
28a4ad2460
Document #48224 and put randomseed in the changelog
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@280285 c90b9560-bf6c-de11-be94-00142212c4b1
2009-05-10 17:55:00 +00:00
Yannick Torres
c492e64880
correct markup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279077 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-20 21:41:48 +00:00
Damien Seguy
d6f1644922
fix spelling
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278865 c90b9560-bf6c-de11-be94-00142212c4b1
2009-04-16 20:12:03 +00:00
Kalle Sommer Nielsen
051f9a61fc
Fixes #47642 (array_unique() does not work with multidimensional arrays)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-26 01:34:09 +00:00
Mehdi Achour
33452ee6b3
Add/move sections to changelogs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277645 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-23 21:08:01 +00:00
Philip Olson
768052f230
Cleaned up SeeAlso for the array sorting functions,
...
and linked them to the new array sorting chapter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277530 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-20 20:40:34 +00:00
Damien Seguy
01253d3618
introduction of the foreach entity
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275923 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 15:30:18 +00:00
Hannes Magnusson
1f2f99b771
php-src reverted back to use _REGULAR
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275809 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-14 08:06:42 +00:00
Mark Wiesemann
d34d573dc4
use "&false;" instead of "false" as the return value
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275783 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-13 20:51:15 +00:00
Moriyoshi Koizumi
136c8c25ed
- The default for sort_flag is now SORT_STRING, just the same as previous
...
versions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275726 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-13 04:42:39 +00:00
Ross Masters
4375ee59c9
* Fix for http://news.php.net/php.webmaster/3784
...
* Examples for uasort, DateTimeZone::construct, file_get_contents, file_put_contents and ini_set
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275453 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-09 21:54:29 +00:00
Jakub Vrana
5730e7a2fa
Initializers - part 5
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273648 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:14:26 +00:00
Daniel P. Brown
dc3c580b79
Added 'all' to function definition because it was apparently 'too ambiguous.'
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273206 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-09 22:53:54 +00:00
Philip Olson
7774d7bb25
Fixed simple spelling errors
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271307 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-16 01:58:18 +00:00
LEE Yun-young
a240b58137
new seealso style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271232 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-14 14:51:22 +00:00
Mark Wiesemann
1a753bdca8
typo ("objetcs") and indentation fix
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271180 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-13 18:43:26 +00:00
Kalle Sommer Nielsen
fb32b71aef
Document new sort_flags parameter for array_unique() in 5.2.9
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271119 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-13 05:32:05 +00:00
Hannes Magnusson
4bdd5c9f0f
Add see also for iterator_apply
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270120 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-30 00:38:25 +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
Jakub Vrana
525ddcd3fd
Returns false for empty array (bug #46482 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268284 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-04 16:24:54 +00:00
Hannes Magnusson
dd1f81f00b
Add seealso array_fill_keys()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265879 c90b9560-bf6c-de11-be94-00142212c4b1
2008-09-04 16:18:49 +00:00
Felipe Pena
61d6907857
- Fixed typo (removed "()" inside <function>, what yields double "()")
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265870 c90b9560-bf6c-de11-be94-00142212c4b1
2008-09-04 00:26:38 +00:00
Felipe Pena
b47434c5b2
array-key-exists.xml
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265831 c90b9560-bf6c-de11-be94-00142212c4b1
2008-09-02 13:33:29 +00:00
Felipe Pena
9c862a24c1
- New example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265668 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-30 14:23:24 +00:00
Hannes Magnusson
5cd5661448
Use proper markup for variables
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265362 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-23 15:40:25 +00:00
Antony Dovgal
a877babfaf
fix build
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265161 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-20 07:49:46 +00:00
Kalle Sommer Nielsen
ad7d582a65
Document that each() also accepts objects, but may return unexpected results + add link to object iteration
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265142 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-19 23:18:42 +00:00
Ken
4f4310b1a9
Adding note about sorting algorithm
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262372 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-09 22:23:41 +00:00
Daniel P. Brown
3b915536c0
Addresses Bug # 45367.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261679 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-26 15:08:54 +00:00
Matt Wilmas
8814a824ae
array_fill_keys: Fixed value description (bug #43693 ); and added info. about illegal values for key (like array_combine)
...
array_fill: Reword value description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@259538 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-11 14:08:20 +00:00
Florian Anderiasch
6b3613b92b
clarified: warning on non-array, bug #44844
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@258926 c90b9560-bf6c-de11-be94-00142212c4b1
2008-05-02 21:24:19 +00:00
Felipe Pena
7362172ae6
- Added new example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257845 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-18 19:54:42 +00:00
Edward Z. Yang
d1e421d30d
Fix Bug #44485 array_splice behaves unexpectedly when given an object, by clarifying that a typecast is done for mixed types.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@255621 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-20 21:18:35 +00:00
Philip Olson
074d5dc756
Added role=parameters, and moved note to new role=notes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253466 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-21 18:08:31 +00:00
Philip Olson
4a15716911
Updated parameter information to reflect behaviour, and added the parameter role.
...
# Sanity check required please
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253372 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-21 01:36:14 +00:00
Paul Reinheimer
3317f3f29a
List works without a second parameter, correcting docs to demonstrate this
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@253351 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-20 21:23:52 +00:00
Philip Olson
dabad796d9
Be clear that key() works with all arrays (closes bug #44016 ).
...
Also, added example output to <example>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@252235 c90b9560-bf6c-de11-be94-00142212c4b1
2008-02-04 18:13:59 +00:00
Robert Nicholson
eceaba35ad
Fixed bug#43612 (array_map behaviour with string keys undocumented)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250986 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-20 14:56:59 +00:00
Felipe Pena
ebcf4708d7
Fix reference (link to itself)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250726 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-15 21:18:35 +00:00
Felipe Pena
b4df63995d
Fix examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250725 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-15 21:14:47 +00:00
Felipe Pena
36af2be7c4
Add information about empty array; add examples ( #43760 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250020 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-06 12:30:42 +00:00
Mehdi Achour
f2ccacf049
Tyop
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249460 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-31 01:38:43 +00:00
Mehdi Achour
c10971d592
Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249451 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 23:05:06 +00:00
Felipe Pena
a3408906fa
Add information about negative keys.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249445 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 19:58:59 +00:00
Mehdi Achour
885d702e25
Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249444 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 19:17:05 +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
Mehdi Achour
6b20633e2a
Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249414 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 11:35:36 +00:00
Mehdi Achour
7d46847705
Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249383 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-29 23:04:24 +00:00
Felipe Pena
0bdb078cd4
Add static keyword in method static
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249104 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-27 01:29:48 +00:00