on Found this gem in someone's code today... in r/PHPThuu13 Sep 2012 public function generateRandomNumber() { for($i = 0; $i <= 6; $i++) { return $i; } } Guaranteed random 0! 11 pointsCopy link
on Building Your Own URL Shortener in r/PHPThuu25 Sep 2012 Might also want to take a look at http://yourls.org/ 5 pointsCopy link
on Found this gem in someone's code today... in r/PHPThuu13 Sep 2012 I wouldn't go as far as to call it "optimized", but it made me laugh, so I'll thank you for that :) 1 pointsCopy link
on ArchLinux on i686 processor in r/archlinuxThuu9 Jan 2012 Yeah... I fixed it... Just gonna delete this one, sorry folks! 1 pointsCopy link
Guaranteed random 0!
Might also want to take a look at http://yourls.org/
I wouldn't go as far as to call it "optimized", but it made me laugh, so I'll thank you for that :)
Yeah... I fixed it... Just gonna delete this one, sorry folks!