3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array (2000,7000,3000); $fuzzyprocessormax = 6000; $fuzzyprocessormin = 5000; $arrlength = count($row); for($x=0; $x < $arrlength; $x++) { // Hitung fuzzy processor min if ($row[$x] <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 0' ; echo $arrlength; die(); } else if ($fuzzyprocessormin <= $row[$x] or $row[$x] <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row[$x] ) / ($fuzzyprocessormax - $fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; $arrlength die(); } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1' $arrlength; } else echo header("Location: ../processor.html"); } ?>

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.4.270.0070.05018.95
5.4.260.0070.05718.66
5.4.250.0100.05018.95
5.4.240.0100.05018.65
5.4.230.0070.05318.92
5.4.220.0070.05318.90
5.4.210.0130.05018.82
5.4.200.0130.04318.90
5.4.190.0070.05018.93
5.4.180.0130.04319.02
5.4.170.0130.05318.92
5.4.160.0070.05318.92
5.4.150.0170.06318.97
5.4.140.0030.05316.43
5.4.130.0070.05016.49
5.4.120.0070.05316.44
5.4.110.0070.05016.44
5.4.100.0130.04716.50
5.4.90.0070.07716.49
5.4.80.0100.06716.47
5.4.70.0100.04316.46
5.4.60.0100.07716.38
5.4.50.0030.05316.49
5.4.40.0100.05316.43
5.4.30.0170.05016.46
5.4.20.0130.04716.62
5.4.10.0030.05716.29
5.4.00.0170.04715.87
5.3.280.0030.05714.63
5.3.270.0070.05014.66
5.3.260.0030.05714.30
5.3.250.0130.04314.61
5.3.240.0070.05314.76
5.3.230.0100.04714.60
5.3.220.0070.05314.73
5.3.210.0070.05714.59
5.3.200.0130.04314.58
5.3.190.0030.06014.58
5.3.180.0070.06014.43
5.3.170.0200.03714.44
5.3.160.0070.05714.61
5.3.150.0200.04314.72
5.3.140.0130.04314.57
5.3.130.0170.06714.40
5.3.120.0100.06014.57
5.3.110.0070.07714.57
5.3.100.0200.05014.04
5.3.90.0000.05714.04
5.3.80.0100.05014.05
5.3.70.0070.05014.04
5.3.60.0130.04313.94
5.3.50.0100.04713.96
5.3.40.0000.05313.79
5.3.30.0070.04713.61
5.3.20.0130.04013.71
5.3.10.0070.04313.59
5.3.00.0030.05013.59
5.2.170.0170.04711.25
5.2.160.0130.03311.05
5.2.150.0070.04011.29
5.2.140.0070.04011.07
5.2.130.0030.04011.11
5.2.120.0070.03711.14
5.2.110.0030.04310.99
5.2.100.0100.05311.00
5.2.90.0070.03711.02
5.2.80.0030.05711.12
5.2.70.0070.04011.02
5.2.60.0030.04011.06
5.2.50.0100.03710.93
5.2.40.0070.04010.94
5.2.30.0130.03710.99
5.2.20.0100.04010.72
5.2.10.0070.03710.94
5.2.00.0030.04310.61
5.1.60.0070.03310.04
5.1.50.0070.0339.96
5.1.40.0070.04710.05
5.1.30.0100.04710.49
5.1.20.0100.03310.41
5.1.10.0070.0379.96
5.1.00.0130.0439.86
5.0.50.0100.0278.79
5.0.40.0070.0278.79
5.0.30.0170.0338.79
5.0.20.0000.0308.79
5.0.10.0070.0378.79
5.0.00.0070.0478.79
4.4.90.0000.0278.79
4.4.80.0100.0178.79
4.4.70.0030.0208.79
4.4.60.0100.0138.79
4.4.50.0000.0238.79
4.4.40.0070.0408.79
4.4.30.0000.0238.79
4.4.20.0100.0178.79
4.4.10.0000.0278.79
4.4.00.0070.0308.79
4.3.110.0000.0238.79
4.3.100.0000.0238.79
4.3.90.0030.0208.79
4.3.80.0000.0338.79
4.3.70.0070.0178.79
4.3.60.0030.0308.79
4.3.50.0130.0178.79
4.3.40.0000.0378.79
4.3.30.0030.0208.79
4.3.20.0000.0278.79
4.3.10.0030.0308.79
4.3.00.0070.0177.23

preferences:
144.25 ms | 1394 KiB | 7 Q