Fractions with PHP
Refresh the page a few times to see how it handles the random input: