Commit graph

143 commits

Author SHA1 Message Date
Kenneth Schwartz
b8604368ab added example for natcasesort
fix: natsort does in fact maintain key/value


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@152489 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-26 19:55:33 +00:00
Derick Rethans
a2b37b0a57 - Added another see also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@151104 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-11 13:18:02 +00:00
Ken
9d856c34c6 Use proper alias structure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150400 c90b9560-bf6c-de11-be94-00142212c4b1
2004-02-03 18:29:13 +00:00
Stefan Walk
61e92271e2 Fix typo, add tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150176 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-30 18:18:47 +00:00
Stefan Walk
71ff7bc597 Add security warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150175 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-30 18:09:45 +00:00
Jakub Vrana
be7bbac9a1 Comparison operators (#27090)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150156 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-30 09:31:30 +00:00
Mehdi Achour
b9d06698c4 s/var/static/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@149475 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-22 12:55:24 +00:00
Mehdi Achour
45a0f65851 CS : Function declarations follow the 'one true brace' convention
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148756 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-15 12:43:50 +00:00
Derick Rethans
ac27f24183 - Add tip about $array[] to array_push()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148554 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-12 20:48:44 +00:00
Jakub Vrana
2ccd1ae37f Link to array operators in See also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147860 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-05 10:29:53 +00:00
Marco Cucinato
c953f7a843 Small typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147768 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-03 15:10:20 +00:00
Ken
6195120882 Added note that sort() kills existing keys.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147653 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-01 22:59:00 +00:00
Ken
c2b6fb8a1f Switched argument order. It's needle, haystack, as stated just a few lines above. ;-)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147608 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-01 06:44:47 +00:00
Derek Ford
a02fb899e9 Grammatical Fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147346 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-26 18:42:02 +00:00
Jakub Vrana
313b98ba94 sort functions return true or false
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147340 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-26 09:56:59 +00:00
Jakub Vrana
b4833d1ae6 Definition of cmp_function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147142 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-22 10:01:48 +00:00
Mehdi Achour
e8844eadb3 some more CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146748 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-18 17:46:56 +00:00
Mehdi Achour
0e714ae7f2 parse error ;)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146561 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-16 09:26:34 +00:00
Dave Barr
5a0a13cb6d - Add a note about case-sensitivity, fix #26539.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146517 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 19:16:05 +00:00
Jakub Vrana
602b3865fd Xmas typos 2/5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146514 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 18:42:07 +00:00
Mehdi Achour
27960e632c Merry XHTML and CS compliant christmas all \!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Jakub Vrana
4085ee780b All syntax errors in examples hunted except those clearly stated as invalid
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146224 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-11 15:42:10 +00:00
Jakub Vrana
0599b66cc0 Changed print to echo as recommended in RFC/coding_standards
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145979 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-08 13:52:47 +00:00
Mehdi Achour
2464af67f4 using screen to dislpay the correct output
# a user note was complaining about the statement being wrong (array ("blue") != array(1 => "blue"))


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@145449 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-03 11:24:18 +00:00
Mehdi Achour
d0fefa8d94 fixing #26225
adding an example
correcting the callback parameter name


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@144208 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-12 21:06:32 +00:00
Mehdi Achour
5695676352 this function need two callbacks
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143799 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-04 17:28:10 +00:00
Mehdi Achour
5360891466 use the right function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143673 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-03 14:32:58 +00:00
Mehdi Achour
7e29802d31 using screen tag for the examples
converting tabs to spaces in the examples
there is some noise with WS that I was unable to reduce, but my WS seems to be ok


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@143671 c90b9560-bf6c-de11-be94-00142212c4b1
2003-11-03 14:05:07 +00:00
Fernando Correa da Conceição
98f50b0330 Fix wrong ID
# Don´t you use make test?


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142151 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-10 05:08:09 +00:00
Andrey Hristov
909c25dafa Documentation for new functions in PHP5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142099 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-09 07:28:40 +00:00
Sara Golemon
fb512b8f7e Correct specified index and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140608 c90b9560-bf6c-de11-be94-00142212c4b1
2003-09-19 04:33:56 +00:00
Mehdi Achour
49bb81ffbe adding prev to the see also list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138194 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-18 16:09:01 +00:00
Heilig (Cece) Szabolcs
23396d4d4e applying PEAR coding standards on examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138081 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 12:21:03 +00:00
Heilig (Cece) Szabolcs
d9784b8655 sorry, did not checked before committed :(
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138079 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 12:16:16 +00:00
Heilig (Cece) Szabolcs
ff4dc961b3 added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138076 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 12:12:48 +00:00
Dallas Wang
00b0b64b1a Fixing bug #25113.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138048 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-17 06:15:41 +00:00
Mehdi Achour
477aa9f95c adding role attribute and php tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138007 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-16 18:59:12 +00:00
Heilig (Cece) Szabolcs
dc31a2a93d added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@137991 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-16 15:33:22 +00:00
Philip Olson
56ae60d50d Added see also's.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135952 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-25 16:38:56 +00:00
Philip Olson
79f2183ac1 Remove warning about being broken in 4.0.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135951 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-25 16:33:04 +00:00
Philip Olson
bf504c0c96 A revision of the mode docs, and made the 0 warning a caution instead.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135505 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-20 16:59:16 +00:00
Friedhelm Betz
d7609cabba optional param for count, thanks to Griggs Domler
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135411 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-19 06:51:26 +00:00
Philip Olson
db8088a4bc Properly document the word "element" as an array key/value pair, and "value"
as the value.  This almost closes bug #20394


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135353 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-18 08:31:09 +00:00
Philip Olson
14787bd7d7 See alsos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135341 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-17 22:38:54 +00:00
Mehdi Achour
e45685a32d adding PHP tags in the examples and ws
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135246 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-16 17:06:57 +00:00
Philip Olson
c9b9c8ff0f Added information from (and closes) bug #11077, and see also unlink/array_merge.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135092 c90b9560-bf6c-de11-be94-00142212c4b1
2003-07-15 07:01:58 +00:00
Thomas Schoefbeck
0dca8349fa added php-pi's
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133569 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-29 07:43:05 +00:00
Thomas Schoefbeck
2f813e99ae corr. example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133539 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-28 20:32:41 +00:00
Philip Olson
fa4f1efb88 Clarify the feature of "character sequences", and caution that numeric strings
are seen as strings and not integers prior to PHP 4.3.3, so used as character sequences.
This documents bug #24420


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132976 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-22 23:17:14 +00:00
Philip Olson
405647fad1 Added a <caution> regarding bug #23195 as copying an array resets the original array's
pointer which can cause an endless loop.  Also, each() will move the pointer past the end
as opposed to the end.  Updated the example to be self-contained, no longer uses $_POST.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132838 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-22 03:09:45 +00:00