3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $percentSales = round( (100 / 0) * 100 , 1); //TECHOPS-968 echo "\tPercent Sales: ".$percentSales."% ";
Output for 7.0.0 - 7.1.0
Warning: Division by zero in /in/KT2GN on line 3 Percent Sales: INF%
Output for 4.3.0 - 5.6.28, hhvm-3.12.0
Warning: Division by zero in /in/KT2GN on line 3 Percent Sales: 0%
Output for hhvm-3.10.0

Process exited with code 153.