Christoph Michael Becker
d3ab3ae75d
Fix #76668 : array_walk() never returns FALSE
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345396 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 14:38:26 +00:00
Christoph Michael Becker
b7a1a91f89
array_replace[_recursive] only requires one argument, like array_merge[_recursive]. See https://github.com/php/php-src/pull/3194
...
PS: maybe further tweak the wording...
--
Provided by anonymous 92566 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345370 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-21 11:52:11 +00:00
Christoph Michael Becker
ce45d942db
$search_value of array_keys() has no default value
...
See <https://bugs.php.net/65904 >.
Based on a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345357 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-19 12:25:55 +00:00
Christoph Michael Becker
9a147ed11d
Document array_key_first() and array_key_last()
...
Cf. <https://wiki.php.net/rfc/array_key_first_last >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345342 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-17 11:41:17 +00:00
Christoph Michael Becker
192eda7b75
Show alternative usage of array_column() in example
...
Based on a patch provided by Stefan Topfstedt.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345315 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 12:22:09 +00:00
Christoph Michael Becker
4fff12b319
Integrate user note 26786
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345313 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 11:43:33 +00:00
Christoph Michael Becker
3e4dcbc1d3
Clarify meaning of $offset parameter
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345312 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 11:28:25 +00:00
Christoph Michael Becker
c9558408f7
String keys are always preserved
...
Integrates user note 115717.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345311 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-14 11:05:29 +00:00
Christoph Michael Becker
fab67f0be1
Document “Allow specifying keys in list()” RFC changes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345209 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-25 14:30:56 +00:00
Christoph Michael Becker
802fb7ce9f
Fix #76516 : shuffle() has a note about undefined sorted order
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345180 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-22 10:18:33 +00:00
Christoph Michael Becker
0ea2fa3e03
Document compact() change for 7.3
...
Based on a patch provided by Gabriel Caruso.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345170 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-19 14:55:51 +00:00
Nikita Popov
cccd50e8ed
Remove redundant note in count() docs
...
Follows from general PHP behavior (undefined variable reads as NULL) and discusses something nobody should be doing in the first place. This was probably more relevant ten years ago than it is now.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345126 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-13 14:15:05 +00:00
Christoph Michael Becker
7923a7bbfb
Add markup
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345095 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:32:38 +00:00
Christoph Michael Becker
2985b542a0
Now it is not clear what the default value for parameter flag does.
...
This patch explains it
--
Provided by anonymous 91702 (mailofjordi@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345094 c90b9560-bf6c-de11-be94-00142212c4b1
2018-06-04 11:27:31 +00:00
Christoph Michael Becker
e9be040e16
Integrate user note 101775
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345049 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-25 14:09:07 +00:00
Christoph Michael Becker
126eefa0db
Clarify refpurpose
...
As suggested by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344984 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:29:26 +00:00
Christoph Michael Becker
c35452fd96
Insert comma for clarity
...
As suggested by a patch provided by an anonymous user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344980 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-08 12:05:17 +00:00
Christoph Michael Becker
b45d8c1772
Nested <link>s can't work
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344693 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-17 16:10:01 +00:00
Christoph Michael Becker
37949e1431
Document PR 3011
...
Cf. <https://github.com/php/php-src/pull/3011 >
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344569 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 21:38:29 +00:00
Christoph Michael Becker
0fe00e3574
Minor doc improvements
...
Patches provided by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344469 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-09 12:44:59 +00:00
Christoph Michael Becker
8b3858be3e
Fix/improve wording
...
To detect whether the array pointer points beyond the end,
we have to check whether key() returns NULL (not the opposite).
We also reword to match reset() (r343965).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344002 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 12:31:16 +00:00
Christoph Michael Becker
eccca2de38
Improve wording
...
"strictly different from <type>null</type>" implies a type check,
what is not necessarily appropriate here.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343965 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 23:25:10 +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
Christoph Michael Becker
9a7ca7526c
Move essential point of the warning in the notes section up
...
Cf. <https://externals.io/message/100637 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343853 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-22 14:31:39 +00:00
Christoph Michael Becker
3fcc64d116
Fix #75733 : count(null) and count(empty-string) raises a warning
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343711 c90b9560-bf6c-de11-be94-00142212c4b1
2017-12-26 10:45:33 +00:00
Kalle Sommer Nielsen
27b6cff4d5
Documented that count() may yield a warning on invalid types passed to it as of 7.2.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343513 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 19:50:44 +00:00
Christoph Michael Becker
bebf0a236a
Properly refer to the value, not the type
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343124 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-21 10:53:19 +00:00
Christoph Michael Becker
fe00568fc5
Properly refer to the value, not the type
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343122 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-21 10:47:02 +00:00
Christoph Michael Becker
772108dfab
Update return with return false problem.
...
Add note about how to deal with the above problem.
--
Provided by anonymous 84645 (petcu.stephan@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342937 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:45:28 +00:00
Christoph Michael Becker
8b7191a5bc
Move falseproblem under the Return section for consistency.
...
Update Notes on how to check false values vs. out of bounds elements.
--
Provided by anonymous 84645 (petcu.stephan@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342936 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:45:04 +00:00
Christoph Michael Becker
da772b2649
Update note on how to check the values of arrays which may contain false, since each will soon be deprecated.
...
--
Provided by anonymous 84645 (petcu.stephan@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342935 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:44:44 +00:00
Christoph Michael Becker
2030feeb3f
Update Errors/Exceptions sections to PHP 7.1 behaviour.
...
--
Provided by anonymous 84645 (petcu.stephan@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342934 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:44:23 +00:00
Christoph Michael Becker
38c4ad6a3d
Update notes: removed reference to each
(deprecated as of 7.2) and updated with alternatives.
...
--
Provided by anonymous 84645 (petcu.stephan@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342933 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:43:56 +00:00
Christoph Michael Becker
8433a4a0a2
Fix bug #74850 current() and key() no longer take their parameter by reference (in PHP 7)
...
--
Provided by anonymous 84565 ()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342894 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-21 11:23:04 +00:00
Chris Wright
f9f9a44875
Make array_splice() example clearer
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342773 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-04 12:50:49 +00:00
Nikita Popov
b210b056cd
Update array_unique() documentation wrt 7853832234
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342752 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-01 15:30:27 +00:00
Pieter Hordijk
a9b5252986
Improved wording of description and added an extra example using more arrays.
...
#74942
--
Provided by anonymous 82010 (jay@room11.org )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342691 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-21 14:04:56 +00:00
Pieter Hordijk
7237e4e22d
Fixed wording of return value. Fixes #74828
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342677 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-18 13:32:15 +00:00
Christoph Michael Becker
fda0732fe1
Improve wording
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342152 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-17 13:09:03 +00:00
Andrey Andreev
028513e94b
Document PHP 7.2 deprecations as the result of https://wiki.php.net/rfc/deprecations_php_7_2
...
Also, simplify the first paragraph of 'Traditional assertions' in assert() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342126 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:30:59 +00:00
Andrey Gromov
bb8db2ad12
remove redurant tags "tbody"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341936 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:35:01 +00:00
Maciek Sokolewicz
ce3996c403
documented the change in behaviour due to aliasing of rand to mt_rand in PHP 7.1.0
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341933 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:01:10 +00:00
Christoph Michael Becker
52ae7dd55e
Improve wording
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341915 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-17 17:51:30 +00:00
Jean-Sebastien Hedde
cfa5165886
This emphasises the point that a strict type comparison is being performed when the "strict" parameter is set to true by the caller, exactly as if they were iterating over the array and using the === comparison operator themselves.
...
--
Provided by anonymous 78595 (git@matthewgamble.net )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341587 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-02 12:28:48 +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
Christoph Michael Becker
8c39010843
Fix typo
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341274 c90b9560-bf6c-de11-be94-00142212c4b1
2016-12-04 13:03:52 +00:00
Christoph Michael Becker
d1b2cfcca4
Add see-also links
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341135 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-25 12:18:58 +00:00
Christoph Michael Becker
0b15fb2e4b
Fix typo
...
Patch provided by anon user.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340435 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-11 14:08:21 +00:00
Christoph Michael Becker
5c65942664
Fix #73267 : Order by callback changed
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340377 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-08 09:12:17 +00:00
Christoph Michael Becker
db17573b4f
Fix #73256 : Missing documented return vaue for array_sum([])
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340330 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-06 09:57:03 +00:00
Christoph Michael Becker
b11f2fefd5
Improvements provided by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340325 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:32:17 +00:00
Christoph Michael Becker
57daa67471
Add link to empty()
...
This way we integrate user note 113617 in a sane way.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340315 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 18:13:45 +00:00
Christoph Michael Becker
c2df92e871
Fix #73205 : Default value for $length is shown as 0, but it it not
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340300 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-04 10:02:17 +00:00
Christoph Michael Becker
62302ea580
Fix typos and downgrade <caution> to <note>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340230 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 13:34:51 +00:00
Christoph Michael Becker
ea367db015
Fix #71713 : Array_Key_exist is not recursive
...
Provided by Nikolay Labinskiy.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340229 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 13:27:01 +00:00
Christoph Michael Becker
12ccdb90a1
Improve markup (patch provided by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340225 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:56:11 +00:00
Christoph Michael Becker
ce007084b5
Update example output wrt. PHP 7 change
...
(pointed out by benciba at gmail dot com)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340033 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-14 11:59:44 +00:00
Pierrick Charron
e5c34a3438
Rename variable to match documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339732 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-27 01:30:20 +00:00
Christoph Michael Becker
68b263e63d
Minor improvements by anon users
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339703 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-22 16:33:15 +00:00
Christoph Michael Becker
8074326ff6
Remove reference to obsolete function (provided by Juris)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339626 c90b9560-bf6c-de11-be94-00142212c4b1
2016-07-10 12:39:45 +00:00
Christoph Michael Becker
9caf16a8ba
Fix #70654 : array_map key preservation behaviour not explicit
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339528 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 17:49:53 +00:00
André Luis Ferreira da Silva Bacci
9a8ee04fdf
s/search/sort
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339523 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-29 16:45:26 +00:00
Christoph Michael Becker
260be846fd
Fix #65221 : Does not adequately explain nature of how list retrieves values from an array
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339494 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 16:10:15 +00:00
Christoph Michael Becker
32952c4ddc
Fix #51229 : consecutives sorting with usort and uasort
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339490 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 14:42:12 +00:00
Christoph Michael Becker
12e58c440b
Add foreach to "See Also" section
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339427 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-20 15:34:35 +00:00
Christoph Michael Becker
fb0122dd8b
Fix #64386 : No warning on insecure pseudo-random generators
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339348 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 14:52:22 +00:00
Christoph Michael Becker
da0818b8a5
clarified difference to array_intersect()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338914 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-04 16:51:21 +00:00
Thomas Punt
12572e7195
Resolve doc bug #71174
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338334 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-20 14:31:28 +00:00
Thomas Punt
b37f03f050
Resolves doc bug #69735
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338309 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 21:12:10 +00:00
Thomas Punt
424e4bdde8
Document new array_column() ability in PHP 7
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338286 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 21:10:18 +00:00
Peter Cowburn
0b53ec8dfb
array_keys() and array_splice() initalizers
...
Patch by bd808 via online editor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338158 c90b9560-bf6c-de11-be94-00142212c4b1
2015-11-21 15:18:13 +00:00
Christoph Michael Becker
fd99f26061
improved wording (contributed by anon user)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337660 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-28 12:36:58 +00:00
Christoph Michael Becker
3c88ee68d1
more consistent function name in example (contributed by Jason Woof)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337471 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 11:14:12 +00:00
Adam Harvey
674412f760
Expand the PHP 7 changelog for list().
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337337 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:14:43 +00:00
Christoph Michael Becker
6b45fbae9f
changelog update by pasindu
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337314 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-06 23:48:05 +00:00
Peter Cowburn
f5f9f820c1
Removes examples that a) don't demonstrate output that relates to the purpose of the example and b) relate more to another function (usort) than the function which is the topic of the manual page (natsort) (doc bug #69604 )
...
--
Provided by Melanie King (mvs.php@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336772 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 12:01:42 +00:00
Peter Cowburn
b0c1317937
better description
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336765 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 08:05:19 +00:00
Peter Cowburn
1b98a453d1
more useful see also functions (patch by cmb)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336764 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-14 07:58:05 +00:00
Karoly Negyesi
f393569ee0
document the lexicographical order used
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336741 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-08 22:03:39 +00:00
Pasindu De Silva
a44a1e0b79
Minor typo, grammar and example Fixes (By Christoph Becker cmb@php.net)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336715 c90b9560-bf6c-de11-be94-00142212c4b1
2015-05-04 19:48:31 +00:00
Pieter Hordijk
a71203b0e4
Removed php4 related changelog https://bugs.php.net/bug.php?id=69342
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336314 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-01 14:51:17 +00:00
Maciek Sokolewicz
68b5b97731
fixed various english grammar/spelling mistakes (patches by cmb)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336240 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 18:38:13 +00:00
Peter Cowburn
1f1e43d4b6
Mention what happens when length=0 for array_splice() (doc bug #67526 Patch by Patrick Schwisow)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336201 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-26 11:28:07 +00:00
Peter Cowburn
f1bced78de
Better self-contained examples
...
The array flip examples weren't very good - the first lacked an output (as well as a purpose?) and the second was confusing as it reused variables and used strange variable names.
--
Provided by James Ward (james@notjam.es )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335231 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-01 16:41:04 +00:00
Maciej Sobaczewski
faa6844f1f
Fix bug #68525 (link broken on array_pop doc page)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335229 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-30 06:21:53 +00:00
Peter Cowburn
b455daa1c7
num can be zero now (thanks Levi and rn at alpha9marketing dot com)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335201 c90b9560-bf6c-de11-be94-00142212c4b1
2014-11-20 21:58:35 +00:00
Tjerk Anne Meesters
27acde0b15
Added documentation for PR #287 :
...
- add ability to use array keys with array_filter()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334988 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-26 16:17:15 +00:00
Chris Wright
2cc66f620e
Grammar fix in array_walk() docs
...
--
Provided by Michael C (wafflestealer654@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334705 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:37:56 +00:00
Maciej Sobaczewski
e41aab5eca
Remove changelogs for PHP 4 - 3rd round
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Maciej Sobaczewski
1cd19d56e1
W/S fixes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334617 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 05:42:22 +00:00
Maciej Sobaczewski
8b5940cade
Remove changelogs for PHP 4 - 2nd round
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
afc3f34c68
Remove changelogs for PHP 4 - 1st round
...
Useful changelogs entries remain untouched.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334592 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-23 17:55:23 +00:00
Peter Cowburn
ecc5ebb63c
found a sneaky FIXME PHP_6 hiding behind the sofa
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334426 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-30 21:29:21 +00:00
Peter Cowburn
eda3b067eb
no more "FIXME PHP_6" todo comments
...
These mostly were about unicode, which probably won't come
with PHP <next major number here>, and FILE_TEXT/FILE_BINARY.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334374 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-24 12:28:07 +00:00
Maciej Sobaczewski
5be9b3288b
Add link to userland implementation of array_column()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334063 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-01 17:34:44 +00:00
Peter Cowburn
395344c770
Revert "Fixes for 'missinginitializer' errors (I am new so I am uncertain about a standard other than var types, please advise.)"
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333626 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-29 16:45:44 +00:00
Bob Weinand
51d9ea4b24
Use explicit variable names in code example for array_reduce()
...
--
Provided by adrien.crivelli@gmail.com
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333542 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-14 20:29:28 +00:00
Peter Cowburn
1818d0d6d4
Add see also: reference to array_replace in array_merge description.
...
Patch by anonymous 42711
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333385 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-21 19:25:03 +00:00
Dejan Marjanovic
4e21db746b
Doc Bug #67045 array_unique bad wording
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333355 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 23:52:49 +00:00
Mike Griffiths
df890faf6a
Fixing bad commit :(
...
Added note about the order of the function parameters. Docs could be miss-interpreted if, this note tries to reinforce expected behaviour and use
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333320 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-15 11:14:41 +00:00