Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- b 2010-02-02 12:05:17.000000000 -0500
- +++ a 2010-02-02 12:05:00.000000000 -0500
- @@ -2,6 +2,10 @@
- $s = "";
- $m = "0123456789ABCDEFGHJKLMNPQRSTUVWXYZ_abcdefghijkmnopqrstuvwxyz";
- if ($n===undefined || $n===0) { return 0; }
- + if($n<0) {
- + $n = $n*-1;
- + $s .= '-';
- + }
- while ($n>0) {
- $d = $n % 60;
- $s = strcat($m[$d],$s);
Add Comment
Please, Sign In to add comment