Permalink
Browse files

be sure to have entries in alphabetical sort order

git-svn-id: http://svn.php.net/repository/pear/packages/PHP_CompatInfo/trunk@272398 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent ad9b92b commit 430202f8f361c5a0c3a1864c2ac36a6633fb62d4 Laurent Laville committed Dec 31, 2008
Showing with 4 additions and 1 deletion.
  1. +4 −1 CompatInfo/Parser.php
View
@@ -1205,7 +1205,10 @@ function _parseElements($elements, $options = array())
if ($options['debug'] === false) {
$cond_code = array($cond_code);
} else {
- $cond_code = array($cond_code, array($function_exists,
+ sort($function_exists);
+ sort($extension_loaded);
+ sort($defined);
+ $cond_code = array($cond_code, array($function_exists,
$extension_loaded,
$defined));
}

0 comments on commit 430202f

Please sign in to comment.