3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array (2000,7000,3000); $fuzzyprocessormax = 6000; $fuzzyprocessormin = 5000; $rekomendasi = 1000; $arrlength = count($row); for($x=0; $x < $arrlength; $x++) { // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 0' ; echo $arrlength; die(); } else if ($fuzzyprocessormin <= $row or $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; die(); echo $arrlength; } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1'; echo $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)
8.3.60.0100.00718.56
8.3.50.0110.01122.05
8.3.40.0070.00718.62
8.3.30.0030.01019.04
8.3.20.0040.00420.39
8.3.10.0050.00222.04
8.3.00.0070.00022.46
8.2.180.0070.01116.61
8.2.170.0000.01522.96
8.2.160.0070.00720.94
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0160.00326.16
8.2.120.0080.00019.36
8.2.110.0090.00022.26
8.2.100.0070.00417.84
8.2.90.0080.00017.75
8.2.80.0000.00817.97
8.2.70.0030.00517.93
8.2.60.0040.00418.04
8.2.50.0090.00018.10
8.2.40.0030.00620.38
8.2.30.0070.00017.95
8.2.20.0060.00317.73
8.2.10.0070.00017.82
8.2.00.0040.00417.88
8.1.280.0180.00425.92
8.1.270.0040.00422.22
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.91
8.1.230.0090.00619.03
8.1.220.0060.00317.76
8.1.210.0040.00418.77
8.1.200.0040.00417.36
8.1.190.0040.00417.13
8.1.180.0040.00418.10
8.1.170.0050.00318.65
8.1.160.0070.00022.02
8.1.150.0040.00418.61
8.1.140.0000.00717.33
8.1.130.0030.00317.70
8.1.120.0040.00417.44
8.1.110.0000.00717.51
8.1.100.0000.00817.45
8.1.90.0070.00017.39
8.1.80.0050.00317.37
8.1.70.0040.00417.33
8.1.60.0060.00317.59
8.1.50.0040.00417.51
8.1.40.0050.00317.42
8.1.30.0040.00417.52
8.1.20.0040.00417.66
8.1.10.0040.00417.45
8.1.00.0000.00717.53
8.0.300.0100.00021.46
8.0.290.0030.00516.88
8.0.280.0070.00018.41
8.0.270.0000.00817.16
8.0.260.0000.00716.74
8.0.250.0040.00416.90
8.0.240.0040.00417.04
8.0.230.0020.00516.90
8.0.220.0070.00016.99
8.0.210.0000.00617.01
8.0.200.0030.00316.97
8.0.190.0030.00316.89
8.0.180.0000.00717.03
8.0.170.0000.00716.87
8.0.160.0030.00516.89
8.0.150.0040.00416.98
8.0.140.0060.00316.96
8.0.130.0050.00013.32
8.0.120.0040.00416.99
8.0.110.0070.00017.00
8.0.100.0000.00816.96
8.0.90.0030.00516.95
8.0.80.0130.00317.02
8.0.70.0000.00717.00
8.0.60.0070.00016.76
8.0.50.0000.00716.87
8.0.30.0130.00817.17
8.0.20.0100.01017.40
8.0.10.0020.00516.90
8.0.00.0120.00616.71
7.4.330.0050.00015.07
7.4.320.0000.00616.53
7.4.300.0030.00316.51
7.4.290.0050.00216.43
7.4.280.0070.00016.52
7.4.270.0070.00416.53
7.4.260.0090.00316.49
7.4.250.0030.00316.37
7.4.240.0030.00316.59
7.4.230.0000.00816.43
7.4.220.0040.01316.63
7.4.210.0060.01016.61
7.4.200.0030.00316.32
7.4.190.0000.00716.41
7.4.160.0120.00416.41
7.4.150.0140.00417.40
7.4.140.0110.01017.86
7.4.130.0070.01116.52
7.4.120.0100.00716.52
7.4.110.0170.00716.58
7.4.100.0120.00916.48
7.4.90.0030.01316.44
7.4.80.0100.00719.39
7.4.70.0110.00716.48
7.4.60.0110.00416.56
7.4.50.0040.00416.66
7.4.40.0030.00922.77
7.4.30.0000.01616.57
7.4.00.0130.00314.85
7.3.330.0060.00013.18
7.3.320.0000.00513.15
7.3.310.0030.00316.39
7.3.300.0070.00016.28
7.3.290.0070.01016.27
7.3.280.0070.01116.35
7.3.270.0070.01417.40
7.3.260.0070.01016.36
7.3.250.0090.01016.50
7.3.240.0090.00916.35
7.3.230.0100.00716.39
7.3.210.0100.00716.52
7.3.200.0130.00419.39
7.3.190.0100.00616.46
7.3.180.0110.00516.52
7.3.170.0170.00316.42
7.3.160.0060.01616.44
7.3.120.0100.00715.00
7.2.330.0030.01416.38
7.2.320.0140.01116.66
7.2.310.0110.00616.44
7.2.300.0100.00616.58
7.2.290.0110.00516.79
7.2.60.0060.00616.94
7.2.00.0090.00019.46
7.1.200.0090.00615.83
7.1.100.0060.00618.39
7.1.70.0030.00317.37
7.1.60.0170.00719.82
7.1.50.0090.01517.10
7.1.00.0070.07322.40
7.0.200.0000.00916.96
7.0.140.0030.07022.10
7.0.60.0030.04319.91
7.0.50.0100.04717.88
7.0.40.0000.08320.02
7.0.30.0270.04020.20
7.0.20.0300.08320.33
7.0.10.0030.07020.16
7.0.00.0070.04020.18
5.6.280.0000.07720.99
5.6.210.0130.05320.50
5.6.200.0030.09018.22
5.6.190.0000.05720.77
5.6.180.0500.07320.48
5.6.170.0330.04720.45
5.6.160.0200.07020.70
5.6.150.0070.04018.09
5.6.140.0030.04318.12
5.6.130.0000.05318.18
5.6.120.0030.04721.14
5.6.110.0130.05321.00
5.6.100.0100.07720.95
5.6.90.0030.09020.96
5.6.80.0100.07720.43
5.5.350.0270.06020.46
5.5.340.0030.04017.89
5.5.330.0070.05320.14
5.5.320.0200.03720.32
5.5.310.0230.04720.16
5.5.300.0070.03317.88
5.5.290.0000.08317.98
5.5.280.0400.06320.95
5.5.270.0000.07320.85
5.5.260.0100.05320.86
5.5.250.0170.07720.77
5.5.240.0070.07020.23
5.4.450.0430.06019.55
5.4.440.0570.05719.10
5.4.430.0070.05719.45
5.4.420.0100.05319.63
5.4.410.0100.05318.97
5.4.400.0170.04318.61
5.4.390.0130.05018.69
5.4.380.0130.05318.61
5.4.370.0230.06018.52
5.4.360.0430.04318.50
5.4.350.0230.05018.57
5.4.340.0300.04718.72
5.4.320.0050.03812.45
5.4.310.0060.03912.45
5.4.300.0060.03612.46
5.4.290.0110.04112.45
5.4.280.0080.03212.35
5.4.270.0130.06018.84
5.4.260.0130.05318.73
5.4.250.0130.07718.64
5.4.240.0270.03718.95
5.4.230.0170.05018.82
5.4.220.0030.06318.82
5.4.210.0170.07018.97
5.4.200.0130.06318.98
5.4.190.0030.06018.64
5.4.180.0130.04718.91
5.4.170.0130.06018.91
5.4.160.0130.05018.86
5.4.150.0130.06718.86
5.4.140.0070.06016.25
5.4.130.0100.05316.39
5.4.120.0170.04316.30
5.4.110.0100.07716.36
5.4.100.0100.04716.41
5.4.90.0030.05016.34
5.4.80.0030.05316.25
5.4.70.0070.04716.33
5.4.60.0000.05316.26
5.4.50.0100.04716.47
5.4.40.0130.04316.48
5.4.30.0070.04716.16
5.4.20.0130.06716.37
5.4.10.0100.06316.31
5.4.00.0070.07015.65
5.3.290.0080.03912.80
5.3.280.0130.05314.61
5.3.270.0030.05714.38
5.3.260.0130.04714.62
5.3.250.0130.05714.60
5.3.240.0130.06314.69
5.3.230.0030.05314.61
5.3.220.0100.07014.58
5.3.210.0100.05014.40
5.3.200.0170.04714.48
5.3.190.0100.06014.66
5.3.180.0000.06714.43
5.3.170.0100.05014.57
5.3.160.0100.07314.65
5.3.150.0100.07014.57
5.3.140.0070.06714.61
5.3.130.0200.04014.59
5.3.120.0100.05014.40
5.3.110.0100.06714.43
5.3.100.0100.05014.05
5.3.90.0230.03714.02
5.3.80.0070.05714.02
5.3.70.0070.07013.96
5.3.60.0130.06013.94
5.3.50.0030.06013.86
5.3.40.0070.05713.86
5.3.30.0170.04713.92
5.3.20.0030.05313.55
5.3.10.0100.04313.48
5.3.00.0070.06013.56
5.2.170.0100.05311.16
5.2.160.0100.04011.14
5.2.150.0170.04711.15
5.2.140.0030.04310.97
5.2.130.0070.04011.20
5.2.120.0070.03711.13
5.2.110.0130.04311.12
5.2.100.0070.03711.10
5.2.90.0000.04711.11
5.2.80.0130.04010.99
5.2.70.0070.04011.10
5.2.60.0030.05710.94
5.2.50.0000.04711.03
5.2.40.0100.03310.90
5.2.30.0000.05010.75
5.2.20.0070.04010.98
5.2.10.0100.03310.79
5.2.00.0030.04310.88
5.1.60.0030.03310.04
5.1.50.0170.03010.05
5.1.40.0070.03310.02
5.1.30.0100.05010.54
5.1.20.0100.04710.18
5.1.10.0130.04310.30
5.1.00.0170.03710.13
5.0.50.0070.0478.47
5.0.40.0030.0278.36
5.0.30.0030.0438.17
5.0.20.0070.0238.25
5.0.10.0030.0438.23
5.0.00.0070.0478.23
4.4.90.0000.0237.47
4.4.80.0070.0177.47
4.4.70.0000.0237.47
4.4.60.0030.0207.47
4.4.50.0100.0137.47
4.4.40.0070.0477.47
4.4.30.0100.0237.47
4.4.20.0030.0237.47
4.4.10.0030.0207.47
4.4.00.0030.0307.47
4.3.110.0000.0237.47
4.3.100.0030.0207.47
4.3.90.0070.0207.47
4.3.80.0000.0437.47
4.3.70.0030.0207.47
4.3.60.0030.0337.47
4.3.50.0100.0177.47
4.3.40.0030.0477.47
4.3.30.0070.0207.47
4.3.20.0070.0277.47
4.3.10.0000.0237.47
4.3.00.0030.0206.95

preferences:
54.25 ms | 401 KiB | 5 Q