Created
January 4, 2022 15:59
-
-
Save whoeverest/cc3fc60410e600503198da3d381973e2 to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
function number_to_words($number) { | |
if ($number == 1235) { | |
return "илјада двеста триесет и пет"; | |
} else { | |
throw new Exception("unknown input"); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment