Larry Garfield
d042804100
Fold in comments to array_map()
...
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Closes GH-828.
2021-07-30 18:18:35 +02:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 ( #548 )
2021-04-26 11:46:55 +03:00
Christoph Michael Becker
cd943f94a0
Generate array methodsynopses based on stubs
...
Partial merge of <https://github.com/php/doc-en/pull/266 >.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351860 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 00:35:15 +00:00
Christoph Michael Becker
9e0f03ac35
Proper variadics instead of pseudo variadics
...
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
80872147aa
Get rid of "callback" types
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350788 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-06 09:11:05 +00:00
Christoph Michael Becker
fcb6e76fc6
Minor improvements to array_map() docs
...
Patch contributed by Larry Garfield.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350490 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-02 16:31:49 +00:00
Christoph Michael Becker
1397ae6df7
Fix #78848 : Important info about return values is tucked away at the end of fourth example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348465 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-08 15:18:49 +00:00
George Peter Banyard
108ea73be5
Adapted documentation of NULL callback per PHPDoc Editor request.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347465 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 19:56:39 +00:00
George Peter Banyard
13d24878bd
Add a note that NULL can be used as a callback and an additional example showing that array-map returns the original array if only one array is provided with a NULL callback.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347462 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-21 16:15:12 +00:00
George Peter Banyard
821b199e5c
Replace type element by corresponding entity.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347430 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-16 21:16:35 +00:00
Joe Watkins
7f5c1d1573
Added some &true; entities, unified examples in array_filter so all match the same style guide.
...
--
Provided by anonymous 75058 (michal.brzuchalski@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347421 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-15 11:39:08 +00:00
George Peter Banyard
6d3254ed43
Fix Doc Bug #70655
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347117 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-01 19:15:50 +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
Peter Cowburn
9481fbe0e0
Fix param name
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333185 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:54:25 +00:00
Nikita Popov
a0efd60818
Remove mentions of create_function from docs. Add caution to create_function docs advising to use anon funcs instead.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331556 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-28 15:43:16 +00:00
Nikita Popov
3ce14fde5c
Normalize parameter names of array functions
...
Normalizing parameter names in docs first to later update arginfos from that.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331477 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-24 13:06:51 +00:00
Chris Wright
576b5fc5dd
Clarify arrap_map behaviour when arrays of different lengths are passed
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331407 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-16 08:27:44 +00:00
Jakub Vrana
5faa7a6747
Document and use callable type hint introduced in PHP 5.4
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324122 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-12 05:55:59 +00:00
Jakub Vrana
61e122fd90
Move seealso to list
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312075 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-12 01:09:01 +00:00
Richard Quadling
070d3068ad
2 <refsect1 role="examples">'s => 1 <refsect1 role="examples">.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304438 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-15 15:09:39 +00:00
Daniel Egeberg
96c9d88bad
Converted to utf-8
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
876c81c602
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283800 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:30:45 +00:00
Kalle Sommer Nielsen
3b0392cafa
Fixed #48119 (usort() docs don't mention it now takes a lambda)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283436 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-03 18:21:37 +00:00
Mehdi Achour
33452ee6b3
Add/move sections to changelogs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277645 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-23 21:08:01 +00:00
Felipe Pena
9c862a24c1
- New example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@265668 c90b9560-bf6c-de11-be94-00142212c4b1
2008-08-30 14:23:24 +00:00
Robert Nicholson
eceaba35ad
Fixed bug#43612 (array_map behaviour with string keys undocumented)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250986 c90b9560-bf6c-de11-be94-00142212c4b1
2008-01-20 14:56:59 +00:00
Hannes Magnusson
c030e2adf7
Upgrade to DocBook5:
...
- All id attributes are now xml:id
- Add docbook namespace to all root elements
- Replace <ulink /> with <link xlink:href />
- Minor markup fixes here and there
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Logan Buesching
b34edb705d
ref.array switch to new style. 12/61 done
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238020 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-18 22:49:15 +00:00
Hannes Magnusson
c3bc936236
WS, preparation for the new doc style...
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@222577 c90b9560-bf6c-de11-be94-00142212c4b1
2006-10-31 11:24:02 +00:00
Jakub Vrana
9e27b31c3c
Mention create_function (bug #36585 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@208443 c90b9560-bf6c-de11-be94-00142212c4b1
2006-03-02 08:30:25 +00:00
Aidan Lister
af56b760ee
Added callback type to see-also
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@180107 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-19 12:33:33 +00:00
Yannick Torres
aef96d95ce
more &example.outputs; entities
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175176 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-20 19:54:46 +00:00
Yannick Torres
47cce4de27
use more entities
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171823 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-01 12:39:29 +00:00
Jakub Vrana
fa2e38785e
Fix protos from sources
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166167 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-12 18:12:00 +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
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
Derick Rethans
0b93bd27f7
- Fixed structures. The structure for adding examples is:
...
<para>
<example>
<title />
<programlisting>
<![CDATA[
<?php
echo "foo\n";
?>
]]>
</programlisting>
<para>
The output is:
</para>
<screen>
<![CDATA[
foo
]]>
</screen>
</example>
</para>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@131857 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 12:03:39 +00:00
Marco Cucinato
eaf6ebb676
Aligned parameter tags with prototype
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@114791 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-04 19:17:43 +00:00
Damien Seguy
c9ae2d383c
adding various tags
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@114767 c90b9560-bf6c-de11-be94-00142212c4b1
2003-02-04 17:19:32 +00:00
Philip Olson
ddf7426cca
See also array_walk(); and some <?php ?> additions.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@103278 c90b9560-bf6c-de11-be94-00142212c4b1
2002-11-11 00:36:16 +00:00
Hartmut Holzgraefe
e22d9639b8
ongoing changes to callback pseudo-type
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@101469 c90b9560-bf6c-de11-be94-00142212c4b1
2002-10-26 20:40:42 +00:00
Adrian Jurjica
2f7966f92e
no message
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81901 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-12 08:19:28 +00:00
Adrian Jurjica
de71bf7038
Translation of array functions.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@81898 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-12 08:10:34 +00:00
Hartmut Holzgraefe
5b9fc29465
revision tags added
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3
banana-split
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00