Lines Matching defs:b
1186 * @param array $b
1189 private function comparator(array $a, array $b)
1192 case $a['filename'] === '.' || $b['filename'] === '.':
1193 if ($a['filename'] === $b['filename']) {
1197 case $a['filename'] === '..' || $b['filename'] === '..':
1198 if ($a['filename'] === $b['filename']) {
1203 if (!isset($b['type'])) {
1206 if ($b['type'] !== $a['type']) {
1210 case isset($b['type']) && $b['type'] === NET_SFTP_TYPE_DIRECTORY:
1214 if (!isset($a[$sort]) || !isset($b[$sort])) {
1218 if (isset($b[$sort])) {
1225 $result = strcasecmp($a['filename'], $b['filename']);
1232 $b[$sort] &= 07777;
1235 if ($a[$sort] === $b[$sort]) {
1238 return $order === SORT_ASC ? $a[$sort] - $b[$sort] : $b[$sort] - $a[$sort];