Created
October 12, 2017 11:14
-
-
Save 6footgeek/e0f27d580cb8f3b34f3137f35f63af1b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
usort($data, function ($a, $b) { | |
return ip2long($a[0]) - ip2long($b[0]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment