Skip to content

Instantly share code, notes, and snippets.

@joonty joonty/sort.php
Created Oct 17, 2013

Embed
What would you like to do?
PHP sorting algorithm
<?php
$input = file("php://stdin");
sort($input);
file_put_contents(end($argv), join($input));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.