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 INF % pow(2.,64.); echo fmod(INF,pow(2.,64.));
based on Ailm5
Output for 7.0.0 - 7.2.0
INF Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /in/YL1Ie:7 Stack trace: #0 {main} thrown in /in/YL1Ie on line 7
Process exited with code 255.
Output for 5.6.8 - 5.6.28
INF Warning: Division by zero in /in/YL1Ie on line 7 NAN
Output for 5.3.20 - 5.5.35