3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $stars = 5; $max = 4.3961873; $score = 3.0593812; echo ($max/$stars), "\n"; echo ($score/$stars), "\n"; echo $stars % (($max/$stars) * ($score/$stars));
based on Wa7FG
Output for 7.0.0 - 7.2.0
0.87923746 0.61187624 Fatal error: Uncaught DivisionByZeroError: Modulo by zero in /in/eKBBG:11 Stack trace: #0 {main} thrown in /in/eKBBG on line 11
Process exited with code 255.
Output for 5.3.18 - 5.6.28
0.87923746 0.61187624 Warning: Division by zero in /in/eKBBG on line 11