Lines Matching refs:b
1165 * @param array $b
1169 private function comparator($a, $b) argument
1172 case $a['filename'] === '.' || $b['filename'] === '.':
1173 if ($a['filename'] === $b['filename']) {
1177 case $a['filename'] === '..' || $b['filename'] === '..':
1178 if ($a['filename'] === $b['filename']) {
1183 if (!isset($b['type'])) {
1186 if ($b['type'] !== $a['type']) {
1190 case isset($b['type']) && $b['type'] === NET_SFTP_TYPE_DIRECTORY:
1194 if (!isset($a[$sort]) || !isset($b[$sort])) {
1198 if (isset($b[$sort])) {
1205 $result = strcasecmp($a['filename'], $b['filename']);
1212 $b[$sort] &= 07777;
1215 if ($a[$sort] === $b[$sort]) {
1218 return $order === SORT_ASC ? $a[$sort] - $b[$sort] : $b[$sort] - $a[$sort];