Created
May 10, 2012 16:12
-
-
Save pavellishin/2654187 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
function check_straight($hand) { | |
$h=$hand;natsort($h);$h=str_replace(str_split('hdcs'),'',implode($h));return strpos('2345a2345678910jq910jkq10ajkq', $h)>-1; | |
} |
Author
pavellishin
commented
May 11, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment