Browse Source

Zend_Search_Lucene: extended PHP 5.3 array_multisort() usage comment. [ZF-7081] related.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17840 44c647ce-9c0f-0410-b52a-842ac1e357ba
alexander 16 năm trước cách đây
mục cha
commit
57881c5b90
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      library/Zend/Search/Lucene.php

+ 2 - 2
library/Zend/Search/Lucene.php

@@ -953,8 +953,8 @@ class Zend_Search_Lucene implements Zend_Search_Lucene_Interface
             $sortArgs   = array();
 
             // PHP 5.3 now expects all arguments to array_multisort be passed by
-            // reference; since constants can't be passed by reference, create
-            // some placeholder variables.
+            // reference (if it's invoked through call_user_func_array());
+            // since constants can't be passed by reference, create some placeholder variables.
             $sortReg    = SORT_REGULAR;
             $sortAsc    = SORT_ASC;
             $sortNum    = SORT_NUMERIC;