Figyelem |
Ez a függvény KÍSÉRLETI JELLEGGEL MŰKÖDIK. Ez azt jelenti, hogy a leírt működés, a függvény neve, azaz BÁRMI, ami itt le van írva, megváltozhat egy későbbi PHP kiadásban MINDEN FIGYELMEZTETÉS NÉLKÜL. Ezt a függvényt csak a saját felelősségedre használd! |
Returns 0 if row_a[$columnname_or_index] is equal to row_b[$columnname_or_index], 1 if it is greater and -1 if it is smaller (or vice versa if the DBX_CMP_DESC flag is set).
The flags can be set to specify comparison direction (whether sorting is ascending or descending) and comparison type (force string or numeric compare by converting the data). The constants for direction are DBX_CMP_ASC and DBX_CMP_DESC. The constants for comparison type are DBX_CMP_NATIVE (no conversion), DBX_CMP_TEXT and DBX_CMP_NUMBER. These constants can be OR-ed together. The default value for the flags parameter is DBX_CMP_ASC | DBX_CMP_NATIVE.
See also dbx_sort().