3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bmi ($height, $mass) { $height = $height/100; $mass = $mass/($height * $height); return $mass; } $bmi(170 , 50); if($bmi < 18.5){ print "痩せ過ぎです。"; } else if ($bmi >25) { print "太りすぎです。"; } else { print "標準です。"; } if($bmi < 18.5){ echo "やせすぎです"; }else if($bmi > 25){echo "太りすぎです"; }else{echo "標準です" ; } } ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.6.150.0070.06718.22
5.6.140.0070.08018.17
5.6.130.0000.06018.19
5.6.120.0130.08021.00
5.6.110.0030.09021.00
5.6.100.0000.04721.11
5.6.90.0000.04721.08
5.6.80.0200.06720.36
5.5.300.0100.06317.92
5.5.290.0070.05017.92
5.5.280.0070.04020.77
5.5.270.0030.05320.79
5.5.260.0000.07720.64
5.5.250.0170.07020.70
5.5.240.0330.07320.03

preferences:
142.11 ms | 1394 KiB | 7 Q