mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Clarified that the constants were added in 5.4.0, and how to mimic asc|desc before that. Closes PHP bug #62256
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326021 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
33f6eda0cd
commit
13e47276f8
1 changed files with 5 additions and 2 deletions
|
@ -84,8 +84,11 @@
|
|||
<row>
|
||||
<entry>5.4.0</entry>
|
||||
<entry>
|
||||
<parameter>sorting_order</parameter> now accepts constants. Any
|
||||
nonzero value caused descending order in previous versions.
|
||||
<parameter>sorting_order</parameter> <link linkend="dir.constants">constants</link>
|
||||
were added. Any nonzero value caused descending order in previous versions. So
|
||||
for all PHP versions, use <literal>0</literal> for ascending order, and <literal>1</literal>
|
||||
for descending order. An option for <constant>SCANDIR_SORT_NONE</constant> behavior did not
|
||||
exist prior to PHP 5.4.0.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
Loading…
Reference in a new issue