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.06019.00
5.4.260.0100.06319.00
5.4.250.0130.06718.95
5.4.240.0130.07318.94
5.4.230.0100.05718.95
5.4.220.0100.08018.99
5.4.210.0130.06018.96
5.4.200.0230.07318.80
5.4.190.0030.07318.99
5.4.180.0070.07318.89
5.4.170.0070.06318.96
5.4.160.0200.05018.78
5.4.150.0130.08318.94
5.4.140.0070.06016.47
5.4.130.0130.04316.39
5.4.120.0170.04716.58
5.4.110.0100.04716.36
5.4.100.0130.05316.65
5.4.90.0130.05316.41
5.4.80.0070.06716.55
5.4.70.0170.04316.49
5.4.60.0130.04716.53
5.4.50.0130.04716.53
5.4.40.0170.04316.38
5.4.30.0130.04316.32
5.4.20.0100.07016.37
5.4.10.0030.05716.52
5.4.00.0170.05315.86
5.3.280.0130.07014.37
5.3.270.0000.06014.49
5.3.260.0100.05014.63
5.3.250.0070.07314.64
5.3.240.0070.07314.76
5.3.230.0070.06014.70
5.3.220.0070.05714.46
5.3.210.0070.05014.58
5.3.200.0070.05014.47
5.3.190.0000.07714.59
5.3.180.0070.07714.27
5.3.170.0130.04714.49
5.3.160.0070.05314.58
5.3.150.0070.06014.27
5.3.140.0170.06314.43
5.3.130.0100.07314.57
5.3.120.0070.07014.55
5.3.110.0030.06014.56
5.3.100.0100.05713.90
5.3.90.0070.05714.11
5.3.80.0230.05313.86
5.3.70.0130.06313.96
5.3.60.0030.05713.86
5.3.50.0170.04013.81
5.3.40.0230.04014.05
5.3.30.0130.04313.69
5.3.20.0070.05713.72
5.3.10.0100.04713.66
5.3.00.0070.04713.66
5.2.170.0100.04711.25
5.2.160.0070.04011.15
5.2.150.0030.04311.08
5.2.140.0100.04011.23
5.2.130.0200.04011.21
5.2.120.0000.06311.02
5.2.110.0000.04311.12
5.2.100.0070.04011.09
5.2.90.0070.04711.22
5.2.80.0070.03711.10
5.2.70.0100.04310.99
5.2.60.0100.06011.07
5.2.50.0070.04711.05
5.2.40.0130.04710.91
5.2.30.0070.05710.99
5.2.20.0070.04010.72
5.2.10.0030.05310.62
5.2.00.0170.04310.64
5.1.60.0000.03710.05
5.1.50.0030.03310.06
5.1.40.0000.05310.00
5.1.30.0070.03310.42
5.1.20.0070.05310.12
5.1.10.0030.03710.22
5.1.00.0070.0339.96
5.0.50.0070.0278.79
5.0.40.0030.0408.79
5.0.30.0000.0438.79
5.0.20.0000.0338.79
5.0.10.0070.0278.79
5.0.00.0100.0408.79
4.4.90.0000.0238.79
4.4.80.0070.0208.79
4.4.70.0000.0238.79
4.4.60.0030.0208.79
4.4.50.0030.0208.79
4.4.40.0070.0408.79
4.4.30.0000.0238.79
4.4.20.0100.0178.79
4.4.10.0070.0238.79
4.4.00.0030.0338.79
4.3.110.0030.0208.79
4.3.100.0030.0278.79
4.3.90.0030.0338.79
4.3.80.0030.0378.79
4.3.70.0070.0278.79
4.3.60.0030.0208.79
4.3.50.0030.0208.79
4.3.40.0030.0308.79
4.3.30.0000.0238.79
4.3.20.0030.0208.79
4.3.10.0000.0238.79
4.3.00.0100.0207.74

preferences:
134.15 ms | 1398 KiB | 7 Q