Commit graph

66 commits

Author SHA1 Message Date
Jesus M. Castagnetto
0a4c9ac956 Fixed typo in title for array_map() example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45720 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-23 09:03:32 +00:00
Damien Seguy
fa443d0a00 Fixed example :
return shouldn't be in while() statement...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45417 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-17 16:02:35 +00:00
Stig Bakken
59b4d1cac6 mysql -> mysql_query
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45169 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-12 06:21:28 +00:00
Egon Schmid
11c0f75b36 Fixed funcdef for in_array and updated the German docs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45028 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-08 17:11:03 +00:00
Hartmut Holzgraefe
8439445081 third parameter to in_array is optional
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45026 c90b9560-bf6c-de11-be94-00142212c4b1
2001-04-08 16:34:13 +00:00
Jesus M. Castagnetto
a997a184c5 documentation of array_filter, array_map, and array_reduce
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@44368 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-27 12:57:19 +00:00
Jesus M. Castagnetto
607000d749 fixed element typos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43738 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-17 06:14:56 +00:00
Jesus M. Castagnetto
7d92d6cef0 arrya_pop/array_shift return NULL when passed empty arrays, bug #8106
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43734 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-17 05:29:09 +00:00
Jesus M. Castagnetto
236bf4c3f8 Added documentation for array_sum
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@42865 c90b9560-bf6c-de11-be94-00142212c4b1
2001-03-07 10:39:01 +00:00
Andrei Zmievski
6069fc342e Rename to array_search().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41554 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-20 14:23:56 +00:00
Damien Seguy
e17bafd417 added <function> in search_array() prototype.
TRUE/FALSE -> literal


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41534 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-20 08:13:49 +00:00
Sebastian Bergmann
8d47e43d5d Added search_array().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@41533 c90b9560-bf6c-de11-be94-00142212c4b1
2001-02-20 06:01:36 +00:00
jim winstead
87014819d0 remove bogus example, tested with php3.0.6 and php4.0.3 to be wrong
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40011 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-23 01:43:38 +00:00
jim winstead
4207d86a69 add a multidimensional array example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40010 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-23 01:29:14 +00:00
jim winstead
6d1b6f26ce document preserve_keys param to array_reverse
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@40008 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-23 01:20:41 +00:00
Egon Schmid
6154b2afef Typos and wrong nesting of elements.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@39997 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-22 22:51:51 +00:00
Egon Schmid
07da8169a0 Element variablelist was missing.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@39991 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-22 21:48:27 +00:00
Andrei Zmievski
c296e8a22f Add docs about new functionality of extract().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@39971 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-22 17:44:34 +00:00
Egon Schmid
d81f1decab Added a note for the changed return type.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38930 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-08 21:20:31 +00:00
Rasmus Lerdorf
c137faa71e Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38869 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-08 02:28:28 +00:00
Derick Rethans
435459d19d Clarification of the strict parameter of in_array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38843 c90b9560-bf6c-de11-be94-00142212c4b1
2001-01-07 23:32:24 +00:00
Ron Chmara
6e8112625b fixing <? to <?php
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@37665 c90b9560-bf6c-de11-be94-00142212c4b1
2000-12-13 04:51:35 +00:00
Jesus M. Castagnetto
968017a76c Fixed the informalexample missing the programlisting children tag
so the manual will build


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@36753 c90b9560-bf6c-de11-be94-00142212c4b1
2000-11-30 06:52:34 +00:00
Damien Seguy
6d6555ccc9 Adding details and examples to indexes behaviors.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@36739 c90b9560-bf6c-de11-be94-00142212c4b1
2000-11-29 19:47:41 +00:00
Ron Chmara
73f8077451 updating/expanding as per errata.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@34041 c90b9560-bf6c-de11-be94-00142212c4b1
2000-10-18 05:46:56 +00:00
Jesus M. Castagnetto
5288e30420 added also a pointer to is_array in the partintro section.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33587 c90b9560-bf6c-de11-be94-00142212c4b1
2000-10-10 23:16:41 +00:00
Jesus M. Castagnetto
c0cadeb2be Added a "see also" in the partintro to point to explode, implode, split and
join (which are described in the strings section)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@33476 c90b9560-bf6c-de11-be94-00142212c4b1
2000-10-07 18:14:27 +00:00
Andrei Zmievski
13b81a2720 PHP3 -> PHP 3, PHP4 -> PHP 4
And everyone should follow that.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32721 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-15 16:09:44 +00:00
Ron Chmara
5e3ae71e26 updating end() to match proto (as per errata)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32616 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-13 05:30:43 +00:00
Egon Schmid
bf5feb767c Indentation in examples should be 4 spaces.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32291 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-09 00:27:28 +00:00
Jesus M. Castagnetto
09cfe326ae Fixed typo in the code I just modified, and also did a search and replace
of all the => and -> to use the &gt; entity instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32277 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-08 19:34:56 +00:00
Jesus M. Castagnetto
136f5cc464 Modified array_keys example for PHP3 users to include the 2nd parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32276 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-08 19:27:11 +00:00
Jesus M. Castagnetto
342f5abda0 Added examples of implementations of array_keys and array_values for PHP3 users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32274 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-08 18:26:03 +00:00
Ron Chmara
ce6a94a250 De-"Clarifying array_unique" . (Manual rollback, bug being fixed).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32083 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-06 06:31:11 +00:00
Ron Chmara
5d5df1741d Clarifying array_unique.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31989 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-05 01:54:54 +00:00
James Moore
e477a6625b Adding natcasesort to the see also for sort
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31832 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-03 12:41:32 +00:00
James Moore
4a7fdd3367 Corrections to sort example and adding see also uksort to sort
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31830 c90b9560-bf6c-de11-be94-00142212c4b1
2000-09-03 11:30:11 +00:00
Ron Chmara
67e3b00211 Fixed array-keys "typo" fix. 3rd time's the charm.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31214 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-25 18:10:43 +00:00
Ron Chmara
0b5be7918e Fixed array-keys "typo" fix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31193 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-25 09:52:14 +00:00
Ron Chmara
d630e2f832 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31188 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-25 09:02:07 +00:00
James Moore
67e03b3e75 Fixing Example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@31015 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-23 19:44:02 +00:00
Ron Chmara
43077fbc6a natsort() cross refs in other sorts
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30939 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-23 07:55:57 +00:00
Daniel Beckham
084cf8438f added natsort() and natcasesort()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30927 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-23 01:53:05 +00:00
Egon Schmid
aa03eb671d Indentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30748 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-21 17:58:02 +00:00
Ron Chmara
8398134187 Added basic partintro, fixed recursive function reference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30713 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-21 10:38:59 +00:00
James Moore
de0c5af984 Adding to warning in response to bug 6117
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30299 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-15 12:22:50 +00:00
Daniel Beckham
2f40451f32 added multi-dimensional array example to the usort function and added quotes around the user-defined function parameters of the usort and uksort function examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29941 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-09 14:16:35 +00:00
Hartmut Holzgraefe
90a8ec582e sort() flags correction
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29922 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-08 22:58:48 +00:00
Daniel Beckham
e2cc8652db Small changes to the usort functions. "See also:" was re-organized on all three of them and a note about example user-defined functions was added to uasort.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29907 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-08 19:29:07 +00:00
Stig Venaas
7ccd9f4d98 Fixed bug in example, and added note about key preservation for
array_unique, array_diff and array_intersect.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@29903 c90b9560-bf6c-de11-be94-00142212c4b1
2000-08-08 18:59:22 +00:00