3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php phpversion() >= "5.6.0" or die(); echo INF/pow(2.,64.),"\n"; echo fmod(INF,pow(2.,64.)); //echo INF % pow(2.,64.); echo 0 % pow(2.,64.);
based on dVAkB
Output for 7.0.0 - 7.2.0
INF NAN Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /in/F4um5:11 Stack trace: #0 {main} thrown in /in/F4um5 on line 11
Process exited with code 255.
Output for 5.6.8 - 5.6.28
INF NAN Warning: Division by zero in /in/F4um5 on line 11
Output for 5.3.20 - 5.5.35