PHP Classes

File: src/Helpers/sort.php

Recommend this page to a friend!
  Classes of AccountKiller   Fuse   src/Helpers/sort.php   Download  
File: src/Helpers/sort.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Fuse
Fuzzy search of arrays using the Bitap algorithm
Author: By
Last change:
Date: 11 months ago
Size: 142 bytes


Class file image Download

namespace Fuse\Helpers;

sort(array $a, array $b): int
$a['score'] <=> $b['score'] ?: $a['idx'] <=> $b['idx'];