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; } } ?>

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.0130.05319.04
5.4.260.0030.06318.87
5.4.250.0070.05718.71
5.4.240.0130.07718.94
5.4.230.0100.05318.77
5.4.220.0100.05318.94
5.4.210.0000.06018.90
5.4.200.0130.06318.96
5.4.190.0030.05718.88
5.4.180.0070.05718.70
5.4.170.0130.05718.73
5.4.160.0100.06018.72
5.4.150.0130.05318.72
5.4.140.0130.07716.41
5.4.130.0070.05316.39
5.4.120.0170.04316.56
5.4.110.0070.07716.56
5.4.100.0070.05316.43
5.4.90.0200.06716.30
5.4.80.0070.06316.41
5.4.70.0130.04716.39
5.4.60.0100.05016.33
5.4.50.0200.05316.40
5.4.40.0130.06316.59
5.4.30.0030.07716.26
5.4.20.0200.03716.40
5.4.10.0130.05316.53
5.4.00.0100.04715.87
5.3.280.0100.06314.46
5.3.270.0070.06714.63
5.3.260.0030.07014.63
5.3.250.0100.05314.63
5.3.240.0130.05714.49
5.3.230.0030.05714.30
5.3.220.0100.05314.45
5.3.210.0130.06014.34
5.3.200.0030.06014.36
5.3.190.0130.04714.57
5.3.180.0070.06014.45
5.3.170.0200.04314.58
5.3.160.0030.06014.41
5.3.150.0070.07014.62
5.3.140.0130.04714.41
5.3.130.0270.04014.43
5.3.120.0130.08014.57
5.3.110.0000.06014.57
5.3.100.0070.05313.88
5.3.90.0130.06013.91
5.3.80.0100.05314.03
5.3.70.0130.04714.02
5.3.60.0230.05013.88
5.3.50.0130.06713.95
5.3.40.0070.07013.66
5.3.30.0070.07313.68
5.3.20.0100.06713.57
5.3.10.0070.05013.36
5.3.00.0100.07013.66
5.2.170.0100.04011.16
5.2.160.0070.04711.16
5.2.150.0170.04011.14
5.2.140.0030.06311.15
5.2.130.0070.04011.04
5.2.120.0070.04011.05
5.2.110.0100.05311.21
5.2.100.0130.07710.87
5.2.90.0130.04711.20
5.2.80.0070.05711.20
5.2.70.0100.03311.03
5.2.60.0070.04011.16
5.2.50.0130.04710.93
5.2.40.0070.03710.79
5.2.30.0030.04711.07
5.2.20.0100.04710.73
5.2.10.0100.04310.63
5.2.00.0070.03710.80
5.1.60.0030.03310.06
5.1.50.0100.03310.02
5.1.40.0000.0409.91
5.1.30.0030.04710.32
5.1.20.0030.03710.18
5.1.10.0030.0539.98
5.1.00.0130.02710.14
5.0.50.0030.0308.79
5.0.40.0100.0238.79
5.0.30.0000.0608.79
5.0.20.0100.0208.79
5.0.10.0100.0238.79
5.0.00.0100.0338.79
4.4.90.0000.0237.39
4.4.80.0000.0337.39
4.4.70.0000.0338.79
4.4.60.0030.0238.79
4.4.50.0070.0308.79
4.4.40.0000.0378.79
4.4.30.0100.0178.79
4.4.20.0000.0378.79
4.4.10.0000.0238.79
4.4.00.0070.0338.79
4.3.110.0000.0338.79
4.3.100.0100.0178.79
4.3.90.0100.0138.79
4.3.80.0130.0308.79
4.3.70.0000.0238.79
4.3.60.0030.0208.79
4.3.50.0030.0308.79
4.3.40.0100.0278.79
4.3.30.0030.0238.79
4.3.20.0130.0208.79
4.3.10.0030.0208.79
4.3.00.0030.01713.33

preferences:
137.17 ms | 1394 KiB | 7 Q