diff --git a/reference/dir/constants.xml b/reference/dir/constants.xml
index 435674bc6a..e72b99906f 100644
--- a/reference/dir/constants.xml
+++ b/reference/dir/constants.xml
@@ -22,16 +22,44 @@
-
+ Available since PHP 4.3.0.
+
+
+
+
+
+ SCANDIR_SORT_ASCENDING
+ (integer)
+
+
+
+ Available since PHP 5.4.0.
+
+
+
+
+
+ SCANDIR_SORT_DESCENDING
+ (integer)
+
+
+
+ Available since PHP 5.4.0.
+
+
+
+
+
+ SCANDIR_SORT_NONE
+ (integer)
+
+
+
+ Available since PHP 5.4.0.
-
-
- The PATH_SEPARATOR was introduced with PHP 4.3.0-RC2.
-
-