Commit graph

47 commits

Author SHA1 Message Date
Karsten Lehmann
d42b32e96b
Fix parameter names for array functions (#616)
* Fix parameter names in array_walk docs

* Fix parameter names in documentation for array_walk_recursive
2021-07-07 21:53:13 +01:00
Goran Grbic
755faca201 Added version PHP 8 into array functions' version.
Also slight improvements to related examples.

Closes GH-337.
2021-01-17 12:01:07 +01:00
Christoph Michael Becker
19af072c3e Fix #80482: Undocumented behavior of array_walk with objects
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351878 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-04 17:20:44 +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
d3ab3ae75d Fix #76668: array_walk() never returns FALSE
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345396 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-26 14:38:26 +00:00
Christoph Michael Becker
2030feeb3f Update Errors/Exceptions sections to PHP 7.1 behaviour.
-- 
Provided by anonymous 84645 (petcu.stephan@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342934 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-25 13:44:23 +00:00
Chris Wright
2cc66f620e Grammar fix in array_walk() docs
-- 
Provided by Michael C (wafflestealer654@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334705 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:37:56 +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
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
Maciek Sokolewicz
ce8212a9d0 Fixed missing initializers
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323350 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-18 20:02:26 +00:00
Karoly Negyesi
0419c2fe75 tried to clarify what popen does and added a note to array walk.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308188 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 12:53:33 +00:00
Gustavo André dos Santos Lopes
a0575612f2 * Made clearer the requirements for the callback function, as per bug #52778
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303045 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-05 05:26:29 +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
Kalle Sommer Nielsen
4bc27d8766 Remove the last of the PHP3 related stuff around the manual, including the documentation for:
* ascii2ebcdic
* ebcdic2ascii
* mysql_change_user

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293483 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-13 04:01:06 +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
Damien Seguy
01253d3618 introduction of the foreach entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@275923 c90b9560-bf6c-de11-be94-00142212c4b1
2009-02-16 15:30:18 +00:00
Hannes Magnusson
4bdd5c9f0f Add see also for iterator_apply
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270120 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-30 00:38:25 +00:00
Mehdi Achour
c10971d592 Switch to new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249451 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 23:05:06 +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
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
8df39c3aaa Remove superfluous information about reseting the array position
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195450 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-08 08:39:45 +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
Jakub Vrana
c148211fa2 Replace <parameter>&amp; by <parameter role="reference">
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@172416 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-10 08:30:50 +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
Aidan Lister
2e7fb0b1f6 Replaced 'function' with 'funcname' as per synopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165038 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-03 08:51:19 +00:00
Aidan Lister
da67f96ed8 Fixed spacing of synopsis
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165031 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-03 07:05:43 +00:00
Jakub Vrana
5ab8a8819e First parameter passed by reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164431 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-27 12:23:32 +00:00
Aidan Lister
762bc4bd27 Fixed line length
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163025 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-11 02:20:24 +00:00
Aidan Lister
8b6ea03d60 Added link to array_walk_recursive
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163024 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-11 02:18:37 +00:00
Mehdi Achour
f8a9eed409 See also
# spotted by Olivier Parmentier (miam)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162872 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-08 14:46:23 +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
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
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
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
Andy Lindeman
bc1793b7bd adding &return.success;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125633 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-04 01:13:00 +00:00
Andy Lindeman
08f59dd854 fixing bug #23473
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125632 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-04 01:06:20 +00:00
Dirkjan Ochtman
ed9f38361d See also itself isn't very useful.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@111419 c90b9560-bf6c-de11-be94-00142212c4b1
2003-01-11 11:19:10 +00:00
Philip Olson
fd14b35700 See also array_map()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@103277 c90b9560-bf6c-de11-be94-00142212c4b1
2002-11-11 00:34:07 +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
Philip Olson
9dea6b1a31 Fixed typo; rewrote most of docs; see also foreach() and call_user_func_array().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@100035 c90b9560-bf6c-de11-be94-00142212c4b1
2002-10-17 11:25:32 +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