Commit graph

142 commits

Author SHA1 Message Date
jim winstead
aaf015874c u?sort: add &note.func-callback;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65802 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-21 00:55:20 +00:00
jim winstead
db359acf34 count: see also strlen
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65799 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-21 00:25:09 +00:00
jim winstead
0dbc9eb399 in_array: note match is case-sensitive, add example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65791 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-20 23:23:12 +00:00
jim winstead
27f070da7a array_pop: &return.falseproblem;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65785 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-20 22:23:24 +00:00
jim winstead
6947456d0d range: provide examples of generating decrementing arrays and character ranges using array_reverse and array_map
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65773 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-20 20:23:48 +00:00
jim winstead
5e45f2efe5 array: see also array_pad, range
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65772 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-20 20:14:32 +00:00
jim winstead
5d0b7b2428 array_filter: add note.func-callback
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@65619 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-18 20:18:59 +00:00
Torben Wilson
f47ca63fe5 Whitespace fix in code example.
Remember, don't use tabs to indent code examples; use 4 spaces. See the howto
for more information.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64968 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-14 01:11:48 +00:00
pgerzson
8be919b4c1 correct the array_keys() implementation for PHP 3 example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64967 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-14 01:00:27 +00:00
Hartmut Holzgraefe
3747b34a1b hope this solves the tabs vs. blanks issues once and for all
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64852 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-12 20:47:43 +00:00
jim winstead
cb08c60ccc array_search: add return.falseproblem note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64290 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-08 21:06:10 +00:00
jim winstead
29004957bc array_walk: note how to pass object/method as callback, and unpredictable behavior of modifying array inside the callback.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@64134 c90b9560-bf6c-de11-be94-00142212c4b1
2001-12-07 01:42:01 +00:00
Philip Olson
e5ad2170ee Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63548 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-30 22:35:12 +00:00
jim winstead
6360c5deab add see also
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63423 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-29 18:48:57 +00:00
Philip Olson
9017566f2f Added link to "types" under definition of in_array()'s "static" parameter.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63106 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-23 08:23:08 +00:00
Derick Rethans
fee77b5bac - Fix for bug 14176
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63027 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-22 13:51:33 +00:00
Derick Rethans
1805429b60 - Reverse thomas' patch. It was correct as it was.
#- In PHP 4.0.6 this function was introduced as key_exists. However, in
#  4.1.0 and up, the name is array_key_exists.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62859 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-20 07:27:26 +00:00
Thomas Schoefbeck
2d72033855 Small clarification
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62812 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-19 22:36:44 +00:00
Derick Rethans
98cf617991 - Fix for bug #14104 (added documentation on how to pass object member
functions to usort)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62786 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-19 08:56:03 +00:00
Hartmut Holzgraefe
4e856cd765 reformated some of the examples to contain the expected output
as <screen> within the <example> instead of adding a second
<example> or <informalexample> with the results in a <programlisting>
element


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62753 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-18 23:45:19 +00:00
Hartmut Holzgraefe
4a6f22f50a started to wrap up all <programlisting> environments
in CDATA sections to allow verbatim examples

having to use entities for &, < and > makes the code
hard to read and errors might slip in during the
process, so the two extra lines should be worth the effort


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62672 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-18 03:07:18 +00:00
Torben Wilson
85875f7a0a Reverting clarification. It was clearer, but also wrong.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62476 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-15 07:51:42 +00:00
Torben Wilson
a9f4a1c5f0 Small clarification.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62475 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-15 07:39:59 +00:00
Derick Rethans
f90ee8cbcf - Added note about array_key_exists
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62474 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-15 07:29:51 +00:00
Gabor Hojtsy
96517be5da So if this is array_key_exists, move this up to
the right place in alphabetical order...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62401 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-14 12:40:30 +00:00
Marco Cucinato
79591d6d84 Typo fixed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62102 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-12 13:50:34 +00:00
Jeroen van Wolffelaar
e32c87177b Re-add Hotsy's documentation of those functions - first wait for discussion
before possibly changing anything


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62036 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-12 00:16:44 +00:00
Jeroen van Wolffelaar
9bd3e42dc1 Let's first finish the discussion
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62011 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-11 19:07:40 +00:00
Derick Rethans
f89d74edd7 - Re-adding and fixing array_key_exists and array_change_key_case
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62003 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-11 18:17:45 +00:00
Jeroen van Wolffelaar
554f8c1e99 Hide key_exists and array_key_change_case from the docs for now.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@62001 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-11 17:47:25 +00:00
Gabor Hojtsy
eb5e3c9b8a Documenting two functions:
array_change_key_case
 key_exists

with examples...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61965 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-11 11:02:32 +00:00
Gabor Hojtsy
60fd8fdca4 Expanding example of array_chunk
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61887 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-10 22:11:39 +00:00
Hartmut Holzgraefe
9410c19fda added version attribute to <?xml tags
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61864 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-10 21:49:43 +00:00
Gabor Hojtsy
5224a6de1c Adding array_chunk as requested
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61851 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-10 21:00:55 +00:00
Thomas Schoefbeck
589ce16beb just a small example-corr.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@61538 c90b9560-bf6c-de11-be94-00142212c4b1
2001-11-04 09:20:46 +00:00
Sebastian Bergmann
28b9bd171b array_init->array_fill
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60600 c90b9560-bf6c-de11-be94-00142212c4b1
2001-10-23 19:04:12 +00:00
Sebastian Bergmann
08bcb4715c array_init() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60559 c90b9560-bf6c-de11-be94-00142212c4b1
2001-10-23 05:26:24 +00:00
Hartmut Holzgraefe
518c0fcfe6 small clarification regarding each() and reset()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60229 c90b9560-bf6c-de11-be94-00142212c4b1
2001-10-19 10:47:17 +00:00
Egon Schmid
2150260a40 Functions should be enclosed with the function element.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60116 c90b9560-bf6c-de11-be94-00142212c4b1
2001-10-17 21:17:36 +00:00
Jeroen van Wolffelaar
d00d946cb5 4.0.7 -> 4.1.0
4.0.8 -> 4.2.0


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@60091 c90b9560-bf6c-de11-be94-00142212c4b1
2001-10-17 16:24:01 +00:00
Daniel Beckham
71c1619673 The short definition of shift and unshift were using the words
pop and push to describe their functions.  Made it less confusing.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58661 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-28 16:07:14 +00:00
Zak Greant
5cece6ee12 Specified that the third parameter for array_search ('strict') is optional. Noted in both the func. prototype and the description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58207 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-24 21:34:39 +00:00
Jeroen van Wolffelaar
8a13500b1b WS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@58019 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-22 01:22:45 +00:00
Jeroen van Wolffelaar
09518063e1 Fix array_flip description on value requirments and what-if-that-isn't-the-case.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57994 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-21 23:02:13 +00:00
Jeroen van Wolffelaar
6ae3b9dba5 Fix modelines for VI(M) for the manual (en).
Syntax for vim < 6 is set to sgml, because xml is not recognizing tag-names.

This was discussed before, and this turned out to be best for all vi(m)
versions.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57993 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-21 22:47:49 +00:00
Hartmut Holzgraefe
18a026d449 get rid of 'double', lets call it 'float'
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57972 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-21 20:40:32 +00:00
Jeroen van Wolffelaar
096d4d2cae Revert bogus whitespace 'fixes'.
(the output of print_r simply IS like this)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57597 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-16 10:31:30 +00:00
Egon Schmid
56d05862c1 Whitespace and some typos.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57584 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-15 23:47:44 +00:00
Marco Cucinato
be771f02c9 Fixed some examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57583 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-15 19:06:11 +00:00
Jeroen van Wolffelaar
1a756d07d0 Add the note to array_intersect too
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57558 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-14 23:25:36 +00:00