Commit graph

99 commits

Author SHA1 Message Date
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
Jeroen van Wolffelaar
a3b8d41417 Clarify array_unique & array_diff comparisation.
FIXME: when exactly were these broken?

This should fix some docbugs


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@57557 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-14 23:14:49 +00:00
Marco Cucinato
d0ce30ee6d Corrected each() refpurpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56566 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-02 20:58:47 +00:00
Marco Cucinato
e12a0e45f0 Typo fixed
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56565 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-02 20:55:27 +00:00
Jeroen van Wolffelaar
a0fb1babfc Reworded count() a bit, and a very little bit of WS (sorry for mixing)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56555 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-02 17:47:22 +00:00
Gabor Hojtsy
63e9bc2e15 Correct bug
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@56554 c90b9560-bf6c-de11-be94-00142212c4b1
2001-09-02 13:27:42 +00:00
Jeroen van Wolffelaar
82365cfbed Fix proto for array_walk
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@55690 c90b9560-bf6c-de11-be94-00142212c4b1
2001-08-21 22:54:05 +00:00
Gabor Hojtsy
4f1834c50f External parsed entities _should_ each begin with a text declaration.
See: http://www.w3.org/TR/2000/REC-xml-20001006#sec-TextDecl


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@55418 c90b9560-bf6c-de11-be94-00142212c4b1
2001-08-19 11:42:10 +00:00
Jeroen van Wolffelaar
9e6c77c6dd <void/>-ify, by means of the script.
Also a couple of other type-fixes


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@54459 c90b9560-bf6c-de11-be94-00142212c4b1
2001-08-12 22:16:08 +00:00
Jeroen van Wolffelaar
a207062226 Fix example-error (Marco Cucinato)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@53999 c90b9560-bf6c-de11-be94-00142212c4b1
2001-08-09 21:52:37 +00:00
Jon Parise
554d45cae2 HTML-encode <?php and ?> to fix this example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@53331 c90b9560-bf6c-de11-be94-00142212c4b1
2001-08-04 19:55:41 +00:00
Jeroen van Wolffelaar
7915a6c933 Added Revision tag on top of most xml files in en-tree
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@53059 c90b9560-bf6c-de11-be94-00142212c4b1
2001-08-02 17:37:51 +00:00
Damien Seguy
489af1563c Added comment about array_walk and PHP functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51404 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-13 12:24:11 +00:00
Damien Seguy
f73e436d2b Added note about array_unique making case of value's types.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51324 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-12 12:49:04 +00:00
Rasmus Lerdorf
2c6b660b34 Add note toi range() function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51038 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-10 01:10:36 +00:00
Rasmus Lerdorf
2ec8988e25 Updated range() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@51029 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-09 20:38:39 +00:00
Jeroen van Wolffelaar
f0927e4c19 Updated script, fixed error in array.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50799 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 22:11:15 +00:00
Jeroen van Wolffelaar
db09591bd8 Processed the en-tree with the new script, which leaves text inside <programlisting> alone.
I hope it's okay now...


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50794 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 21:27:21 +00:00
Jeroen van Wolffelaar
d311842440 Modified script, it is now preserving case for true/false/null's that
do NOT get replaced.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50770 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 19:36:45 +00:00
Jeroen van Wolffelaar
308ffe41f2 Changed true, false and null to &true;, &false; and &null;
Probably this isn't correct at some places, but in the majority
it is.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50762 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-07 18:42:46 +00:00
Egon Schmid
1c003b122b Never use a < character in examples or ordinary text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50501 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-02 19:44:44 +00:00
Daniel Beckham
b7be24739c fixing usort example (oops)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50494 c90b9560-bf6c-de11-be94-00142212c4b1
2001-07-02 16:52:10 +00:00
Jeroen van Wolffelaar
7c62d81304 Changed all identifiers between <function> and/or <refname> tags
that had ONLY the first letter uppercase to all-lowercase


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50055 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-23 20:10:52 +00:00
Daniel Beckham
f0568677de - more clarification of count (and sizeof)
- linkage to the Arrays sub-section of the Types section
  no one seems to be able to find that section so they can RTFM


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49875 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-20 14:26:02 +00:00
Daniel Beckham
eb9b7d9a1f - added note that sizeof is an alias for count
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49834 c90b9560-bf6c-de11-be94-00142212c4b1
2001-06-19 19:18:08 +00:00
Damien Seguy
c0d39a4764 Made the array_splice example compliant cut/paste.
Added an (obvious?) detail to array_diff().


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@48774 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-28 17:50:50 +00:00
Damien Seguy
e4738deb2c Added Thomas's contribution, plus more details on array_flip.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@47561 c90b9560-bf6c-de11-be94-00142212c4b1
2001-05-16 08:36:08 +00:00
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