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 $row[$x]; } else if ($fuzzyprocessormin <= $row[$x] or $row[$x] <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row[$x] ) / ($fuzzyprocessormax - $fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; $row[$x]; } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1'; $row[$x]; } } ?>

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.0040.01216.25
8.3.50.0160.00321.95
8.3.40.0170.00318.55
8.3.30.0100.00719.09
8.3.20.0040.00420.21
8.3.10.0030.00623.49
8.3.00.0060.00320.71
8.2.180.0150.00416.38
8.2.170.0110.00422.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.01026.16
8.2.120.0060.00322.19
8.2.110.0030.00722.13
8.2.100.0080.00417.72
8.2.90.0000.00819.35
8.2.80.0030.00618.16
8.2.70.0040.00417.63
8.2.60.0080.00018.16
8.2.50.0040.00418.07
8.2.40.0040.00418.22
8.2.30.0000.00818.12
8.2.20.0000.00717.65
8.2.10.0050.00217.73
8.2.00.0030.00517.60
8.1.280.0000.01425.92
8.1.270.0060.00922.09
8.1.260.0040.00426.35
8.1.250.0030.00328.09
8.1.240.0080.00023.87
8.1.230.0070.00319.02
8.1.220.0030.00517.74
8.1.210.0050.00318.77
8.1.200.0040.00417.35
8.1.190.0040.00417.18
8.1.180.0080.00018.10
8.1.170.0060.00318.32
8.1.160.0070.00021.93
8.1.150.0040.00418.71
8.1.140.0000.00717.36
8.1.130.0000.00717.84
8.1.120.0040.00417.54
8.1.110.0070.00017.35
8.1.100.0040.00417.34
8.1.90.0000.00717.38
8.1.80.0030.00517.47
8.1.70.0000.00717.33
8.1.60.0060.00317.63
8.1.50.0050.00317.40
8.1.40.0000.00717.42
8.1.30.0030.00617.48
8.1.20.0080.00017.58
8.1.10.0040.00417.47
8.1.00.0060.00317.59
8.0.300.0070.00018.77
8.0.290.0070.00017.16
8.0.280.0070.00018.33
8.0.270.0000.00717.18
8.0.260.0000.00716.74
8.0.250.0000.00716.98
8.0.240.0040.00416.97
8.0.230.0070.00017.01
8.0.220.0060.00016.85
8.0.210.0000.00716.96
8.0.200.0070.00016.82
8.0.190.0000.00816.95
8.0.180.0000.00716.90
8.0.170.0000.00816.89
8.0.160.0030.00516.89
8.0.150.0070.00016.85
8.0.140.0000.00716.84
8.0.130.0050.00013.32
8.0.120.0060.00316.92
8.0.110.0070.00016.89
8.0.100.0000.00716.91
8.0.90.0000.00716.92
8.0.80.0100.00616.89
8.0.70.0000.00716.85
8.0.60.0040.00416.92
8.0.50.0000.00716.79
8.0.30.0120.00817.15
8.0.20.0080.01117.40
8.0.10.0080.00016.82
8.0.00.0070.01116.56
7.4.330.0050.00015.00
7.4.320.0030.00316.50
7.4.300.0000.00616.41
7.4.290.0000.00816.67
7.4.280.0080.00016.58
7.4.270.0070.00016.44
7.4.260.0040.00416.45
7.4.250.0030.00316.57
7.4.240.0040.00316.55
7.4.230.0070.00016.51
7.4.220.0090.00916.54
7.4.210.0040.01116.60
7.4.200.0060.00016.64
7.4.190.0040.00416.55
7.4.160.0030.01316.42
7.4.150.0060.01317.40
7.4.140.0090.00817.86
7.4.130.0110.00516.49
7.4.120.0080.01316.48
7.4.110.0100.00716.52
7.4.100.0090.01216.44
7.4.90.0130.00316.49
7.4.80.0100.00716.59
7.4.70.0120.00316.62
7.4.60.0100.00716.38
7.4.50.0080.00016.42
7.4.40.0070.00722.77
7.4.30.0230.00016.39
7.4.10.0050.01215.04
7.4.00.0060.01214.95
7.3.330.0000.00513.18
7.3.320.0070.00013.11
7.3.310.0040.00416.15
7.3.300.0030.00316.27
7.3.290.0120.00316.27
7.3.280.0080.00916.29
7.3.270.0100.00717.40
7.3.260.0060.01216.38
7.3.250.0090.00816.40
7.3.240.0160.00016.37
7.3.230.0130.00316.54
7.3.210.0090.00916.19
7.3.200.0110.01119.39
7.3.190.0100.01316.67
7.3.180.0090.00916.36
7.3.170.0000.01516.58
7.3.160.0040.01116.43
7.3.130.0030.01314.84
7.3.120.0060.01014.80
7.3.110.0090.00614.89
7.3.100.0050.00814.81
7.3.90.0050.00814.94
7.3.80.0070.00615.03
7.3.70.0070.00414.99
7.3.60.0030.00914.99
7.3.50.0020.00814.72
7.3.40.0080.00614.75
7.3.30.0070.00314.93
7.3.20.0070.00516.84
7.3.10.0080.00516.70
7.3.00.0060.00816.66
7.2.330.0070.01016.71
7.2.320.0080.01216.75
7.2.310.0150.00316.37
7.2.300.0120.00316.72
7.2.290.0070.00716.73
7.2.260.0030.01514.96
7.2.250.0100.00715.04
7.2.240.0070.00815.20
7.2.230.0020.01415.11
7.2.220.0060.00914.88
7.2.210.0080.00715.04
7.2.200.0050.01215.07
7.2.190.0060.00615.07
7.2.180.0040.01014.97
7.2.170.0080.00615.00
7.2.160.0030.00815.08
7.2.150.0070.00817.03
7.2.140.0060.00616.86
7.2.130.0030.00817.08
7.2.120.0040.01016.85
7.2.110.0050.01016.84
7.2.100.0020.01216.77
7.2.90.0080.00716.84
7.2.80.0050.01116.82
7.2.70.0120.00516.91
7.2.60.0030.00816.81
7.2.50.0050.00816.76
7.2.40.0070.00716.94
7.2.30.0070.00516.97
7.2.20.0050.00917.00
7.2.10.0070.00716.99
7.2.00.0090.00717.90
7.1.330.0080.00615.82
7.1.320.0080.00715.76
7.1.310.0080.00815.67
7.1.300.0050.00515.89
7.1.290.0050.00615.90
7.1.280.0090.00515.90
7.1.270.0050.00515.77
7.1.260.0110.00415.91
7.1.250.0080.00715.73
7.1.240.0020.00915.80
7.1.230.0070.00815.77
7.1.220.0060.00615.89
7.1.210.0060.00515.79
7.1.200.0050.00915.67
7.1.190.0050.00515.80
7.1.180.0070.00615.77
7.1.170.0050.00915.95
7.1.160.0030.01115.84
7.1.150.0080.00515.85
7.1.140.0040.01115.75
7.1.130.0050.01015.68
7.1.120.0040.00815.68
7.1.110.0060.00915.94
7.1.100.0320.00816.01
7.1.90.0050.01115.94
7.1.80.0030.01015.76
7.1.70.0030.00816.02
7.1.60.0060.00916.95
7.1.50.0090.00716.22
7.1.40.0030.01115.73
7.1.30.0050.00415.77
7.1.20.0030.01015.77
7.1.10.0060.00715.73
7.1.00.0040.03118.06
7.0.330.0070.00815.17
7.0.320.0030.00915.50
7.0.310.0090.00315.37
7.0.300.0070.00615.31
7.0.290.0060.00715.42
7.0.280.0110.00415.43
7.0.270.0060.00815.41
7.0.260.0020.01015.46
7.0.250.0020.00715.38
7.0.240.0000.01315.56
7.0.230.0030.01015.52
7.0.220.0040.01015.45
7.0.210.0060.00415.62
7.0.200.0080.00616.03
7.0.190.0070.00715.30
7.0.180.0100.00715.41
7.0.170.0060.00715.61
7.0.160.0080.00815.56
7.0.150.0040.00715.46
7.0.140.0050.02817.68
7.0.130.0030.01015.43
7.0.120.0030.00715.59
7.0.110.0040.00615.51
7.0.100.0080.00315.50
7.0.90.0050.01015.47
7.0.80.0030.00815.40
7.0.70.0040.00715.41
7.0.60.0040.03016.91
7.0.50.0080.02716.21
7.0.40.0050.01915.74
7.0.30.0160.02415.75
7.0.20.0140.02515.80
7.0.10.0020.02215.70
7.0.00.0050.03315.65
5.6.400.0020.00814.17
5.6.390.0090.00314.45
5.6.380.0090.00514.24
5.6.370.0080.00914.55
5.6.360.0080.00714.37
5.6.350.0100.00314.45
5.6.340.0050.00914.36
5.6.330.0060.00414.55
5.6.320.0050.00814.40
5.6.310.0040.01014.44
5.6.300.0070.00514.58
5.6.290.0050.01014.51
5.6.280.0040.03016.72
5.6.270.0040.00614.11
5.6.260.0050.01014.44
5.6.250.0050.00814.31
5.6.240.0080.00614.46
5.6.230.0050.00814.36
5.6.220.0070.00714.59
5.6.210.0060.01816.48
5.6.200.0070.02415.54
5.6.190.0070.03516.37
5.6.180.0130.02116.35
5.6.170.0100.01916.32
5.6.160.0050.02416.29
5.6.150.0050.03315.68
5.6.140.0050.02215.55
5.6.130.0070.02715.62
5.6.120.0030.02116.69
5.6.110.0040.03516.50
5.6.100.0030.03216.68
5.6.90.0040.02116.58
5.6.80.0160.02416.13
5.6.70.0070.00514.21
5.6.60.0050.00714.12
5.6.50.0070.00514.33
5.6.40.0120.00314.22
5.6.30.0040.00814.40
5.6.20.0070.00814.44
5.6.10.0050.01114.41
5.6.00.0060.00614.51
5.5.380.0070.00514.28
5.5.370.0060.00614.54
5.5.360.0050.01114.14
5.5.350.0660.02016.22
5.5.340.0040.01915.47
5.5.330.0070.02316.38
5.5.320.0090.02916.17
5.5.310.0180.02116.29
5.5.300.0040.03315.63
5.5.290.0070.01515.38
5.5.280.0050.02116.53
5.5.270.0070.02916.53
5.5.260.0100.02616.62
5.5.250.0070.02216.16
5.5.240.0050.02816.23
5.5.230.0050.00714.37
5.5.220.0050.00914.16
5.5.210.0050.00714.35
5.5.200.0070.00914.14
5.5.190.0060.00514.05
5.5.180.0110.00314.34
5.5.170.0060.01014.23
5.5.160.0070.00314.26
5.5.150.0040.01014.29
5.5.140.0060.00514.24
5.5.130.0050.01014.11
5.5.120.0040.01014.11
5.5.110.0050.00914.15
5.5.100.0090.00714.25
5.5.90.0040.01214.08
5.5.80.0050.00714.15
5.5.70.0050.00514.20
5.5.60.0060.00713.99
5.5.50.0030.01014.32
5.5.40.0030.01114.19
5.5.30.0020.01114.33
5.5.20.0080.00514.07
5.5.10.0070.01014.41
5.5.00.0030.00814.24
5.4.450.0070.02414.76
5.4.440.0130.02114.72
5.4.430.0100.02014.58
5.4.420.0080.02914.72
5.4.410.0090.02414.65
5.4.400.0130.01714.59
5.4.390.0080.02314.60
5.4.380.0080.02214.46
5.4.370.0080.01914.40
5.4.360.0080.02114.43
5.4.350.0090.02214.39
5.4.340.0120.01714.39
5.4.330.0060.00812.33
5.4.320.0040.01612.37
5.4.310.0030.02112.37
5.4.300.0040.01912.37
5.4.290.0030.02012.37
5.4.280.0070.01612.33
5.4.270.0030.01712.32
5.4.260.0070.01612.32
5.4.250.0030.02012.32
5.4.240.0030.01712.32
5.4.230.0070.01712.32
5.4.220.0050.01812.32
5.4.210.0060.01712.32
5.4.200.0050.01812.32
5.4.190.0040.01712.32
5.4.180.0060.02012.32
5.4.170.0060.01812.32
5.4.160.0050.01512.32
5.4.150.0060.01912.32
5.4.140.0080.01712.21
5.4.130.0040.02212.21
5.4.120.0050.02012.20
5.4.110.0050.01812.20
5.4.100.0040.01712.20
5.4.90.0050.01712.19
5.4.80.0030.02012.19
5.4.70.0060.01412.19
5.4.60.0050.01612.19
5.4.50.0070.01612.19
5.4.40.0060.01712.19
5.4.30.0080.01412.19
5.4.20.0050.01612.19
5.4.10.0050.01612.19
5.4.00.0040.01612.02
5.3.290.0060.01412.48
5.3.280.0070.01512.45
5.3.270.0030.01912.46
5.3.260.0050.01712.46
5.3.250.0060.01512.46
5.3.240.0030.01812.46
5.3.230.0060.01612.45
5.3.220.0070.01412.44
5.3.210.0050.01612.44
5.3.200.0040.01712.44
5.3.190.0030.02112.44
5.3.180.0060.01512.44
5.3.170.0040.01812.44
5.3.160.0060.02012.44
5.3.150.0020.01812.44
5.3.140.0030.02012.44
5.3.130.0040.02012.44
5.3.120.0060.01612.44
5.3.110.0070.01712.44
5.3.100.0040.01812.26
5.3.90.0050.02012.24
5.3.80.0020.01912.24
5.3.70.0070.01512.24
5.3.60.0030.01812.24
5.3.50.0040.01712.22
5.3.40.0070.01512.22
5.3.30.0040.01812.20
5.3.20.0040.01712.11
5.3.10.0080.01612.10
5.3.00.0040.01712.10
5.2.170.0080.0339.14
5.2.160.0050.0289.14
5.2.150.0070.0289.14
5.2.140.0060.0299.14
5.2.130.0060.0279.10
5.2.120.0090.0239.10
5.2.110.0040.0309.10
5.2.100.0070.0269.10
5.2.90.0050.0319.10
5.2.80.0040.0339.10
5.2.70.0020.0369.09
5.2.60.0080.0279.05
5.2.50.0030.0339.02
5.2.40.0050.0289.00
5.2.30.0020.0328.97
5.2.20.0070.0268.96
5.2.10.0090.0248.89
5.2.00.0060.0298.75
5.1.60.0030.0268.04
5.1.50.0040.0258.04
5.1.40.0040.0328.03
5.1.30.0030.0278.37
5.1.20.0010.0338.40
5.1.10.0040.0268.12
5.1.00.0020.0288.12
5.0.50.0030.0216.61
5.0.40.0040.0226.47
5.0.30.0010.0386.29
5.0.20.0020.0216.25
5.0.10.0030.0296.23
5.0.00.0000.0356.22
4.4.90.0060.0124.78
4.4.80.0040.0144.75
4.4.70.0030.0174.75
4.4.60.0020.0164.76
4.4.50.0030.0154.77
4.4.40.0040.0244.71
4.4.30.0030.0154.76
4.4.20.0020.0164.84
4.4.10.0040.0154.85
4.4.00.0030.0254.76
4.3.110.0030.0164.67
4.3.100.0050.0184.67
4.3.90.0030.0184.64
4.3.80.0020.0314.58
4.3.70.0040.0174.63
4.3.60.0050.0134.63
4.3.50.0040.0144.63
4.3.40.0050.0234.54
4.3.30.0020.0163.30
4.3.20.0010.0183.28
4.3.10.0010.0173.23
4.3.00.0000.0235.77

preferences:
40.05 ms | 401 KiB | 5 Q