Commit graph

40 commits

Author SHA1 Message Date
Christoph Michael Becker
32952c4ddc Fix #51229: consecutives sorting with usort and uasort
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339490 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-25 14:42:12 +00:00
Pieter Hordijk
a71203b0e4 Removed php4 related changelog https://bugs.php.net/bug.php?id=69342
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336314 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-01 14:51:17 +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
Sherif Ramadan
15bd95f5d1 Added caution for returning non-integer types to help clarify language for usort callback behavior.
Address issues raised in Bug #62590


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326718 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 02:22:35 +00:00
Peter Cowburn
1c961c95fa ids for usort examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325272 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-17 19:03:05 +00:00
Peter Cowburn
6863e5d2ab usort closure example (patch by Benjamin Kuz)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325271 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-17 18:56:19 +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
Antony Dovgal
4f685cf936 minor clarification
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323088 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-06 12:55:38 +00:00
Justin Martin
8519fee981 Cleaning up and refactoring the callback descriptions for functions which use a user-defined comparison function.
Adds an entity to global.ent defining a generic callback prototype, which is common to several sorting functions.
Adds a language snippet describing the comparison function return value, which is common to several sorting functions.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323049 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-03 21:07:23 +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
Philip Olson
768052f230 Cleaned up SeeAlso for the array sorting functions,
and linked them to the new array sorting chapter


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@277530 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-20 20:40:34 +00:00
Mehdi Achour
885d702e25 Switch to new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249444 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-30 19:17:05 +00:00
Felipe Pena
0bdb078cd4 Add static keyword in method static
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249104 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-27 01:29:48 +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
Dan Scott
a2abd495c5 Fix bug 34228 (rsort should link to krsort).
Fix bug 34229 (shuffle and other sort functions clobber key associations).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194314 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-24 14:15:11 +00:00
Jakub Vrana
5ace950dc8 Use foreach
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189684 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-01 13:07:50 +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
Jakub Vrana
c8196b0236 Parameters passed by reference
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165051 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-03 10:24:06 +00:00
Damien Seguy
2bbe2338d4 added constanst, literal and varname tags for cosmetic update
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@157966 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-04 19:56:18 +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
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
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
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
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
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
Philip Olson
736a15f139 Added php tags (<?php ?>) to examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129443 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-30 18:12:53 +00:00
David Croft
cc50ece11c this example was confusing if you didn't read through to the end
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126067 c90b9560-bf6c-de11-be94-00142212c4b1
2003-05-06 20:30:27 +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
Hartmut Holzgraefe
6aceff3a11 - documentation on pseudo-types
- "callback" pseudo-type added
- changed usort proto to use callback (more will follow)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@101396 c90b9560-bf6c-de11-be94-00142212c4b1
2002-10-26 06:58:16 +00:00
Derick Rethans
48eb9a1db5 - Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@85963 c90b9560-bf6c-de11-be94-00142212c4b1
2002-06-17 15:34:33 +00:00
Hartmut Holzgraefe
3e43773974 behaviour change ducumented more clearly (see bug #14591)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@85921 c90b9560-bf6c-de11-be94-00142212c4b1
2002-06-17 12:36:08 +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