3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array( 1000,4000,6000); $fuzzyprocessormax = 6000; $fuzzyprocessormin = 5000; $rekomendasi = 1000; $count = count($row); for ($i = 0; $i < $row; $i++){ // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 0'; die(); } else if ($fuzzyprocessormin <= $row or $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; die(); } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1'; die();} 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.0120.00618.56
8.3.50.0130.00821.98
8.3.40.0110.00418.81
8.3.30.0030.01019.14
8.3.20.0040.00420.20
8.3.10.0000.00722.15
8.3.00.0040.00422.38
8.2.180.0120.00616.63
8.2.170.0130.00722.96
8.2.160.0070.00721.07
8.2.150.0040.00424.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0040.00419.48
8.2.110.0060.00320.97
8.2.100.0120.00017.84
8.2.90.0080.00017.91
8.2.80.0080.00018.05
8.2.70.0000.00817.63
8.2.60.0000.00718.04
8.2.50.0040.00418.07
8.2.40.0080.00018.16
8.2.30.0050.00218.07
8.2.20.0020.00517.62
8.2.10.0030.00617.72
8.2.00.0040.00419.63
8.1.280.0110.00425.92
8.1.270.0080.00022.09
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0060.00323.81
8.1.230.0040.00820.97
8.1.220.0050.00317.78
8.1.210.0060.00318.77
8.1.200.0030.00617.36
8.1.190.0000.00817.53
8.1.180.0000.00818.10
8.1.170.0050.00318.64
8.1.160.0000.00822.02
8.1.150.0000.00718.64
8.1.140.0000.00717.38
8.1.130.0070.00017.89
8.1.120.0000.00717.41
8.1.110.0060.00317.36
8.1.100.0070.00017.44
8.1.90.0070.00017.42
8.1.80.0000.00717.46
8.1.70.0000.00717.48
8.1.60.0030.00517.55
8.1.50.0050.00317.54
8.1.40.0090.00017.42
8.1.30.0000.00817.53
8.1.20.0060.00317.67
8.1.10.0000.00817.63
8.1.00.0000.00717.56
8.0.300.0070.00019.96
8.0.290.0000.00817.18
8.0.280.0000.00718.40
8.0.270.0040.00416.87
8.0.260.0030.00316.84
8.0.250.0030.00517.04
8.0.240.0000.00816.96
8.0.230.0000.00717.07
8.0.220.0050.00316.98
8.0.210.0030.00317.01
8.0.200.0060.00016.91
8.0.190.0050.00316.89
8.0.180.0040.00416.91
8.0.170.0000.00716.89
8.0.160.0070.00017.00
8.0.150.0000.00716.84
8.0.140.0050.00316.94
8.0.130.0000.00613.32
8.0.120.0050.00316.84
8.0.110.0050.00516.98
8.0.100.0000.00716.91
8.0.90.0050.00216.83
8.0.80.0030.01217.02
8.0.70.0040.00416.84
8.0.60.0040.00416.86
8.0.50.0000.00716.89
8.0.30.0110.00817.16
8.0.20.0090.00917.40
8.0.10.0000.00817.16
8.0.00.0110.00716.80
7.4.330.0020.00215.19
7.4.320.0030.00316.47
7.4.300.0030.00316.59
7.4.290.0040.00416.61
7.4.280.0000.00716.52
7.4.270.0040.00416.67
7.4.260.0000.00716.57
7.4.250.0040.00416.56
7.4.240.0040.00416.58
7.4.230.0000.00716.32
7.4.220.0060.01216.40
7.4.210.0070.01016.59
7.4.200.0030.00316.49
7.4.190.0000.00716.65
7.4.160.0160.00016.66
7.4.150.0070.01017.40
7.4.140.0120.00917.86
7.4.130.0110.00616.45
7.4.120.0120.00716.36
7.4.110.0110.00516.50
7.4.100.0090.00816.66
7.4.90.0100.00716.61
7.4.80.0030.02119.39
7.4.70.0160.00616.64
7.4.60.0140.00516.38
7.4.50.0040.00416.45
7.4.40.0040.01122.77
7.4.30.0060.01016.74
7.4.00.0060.00915.26
7.3.330.0020.00213.22
7.3.320.0000.00513.04
7.3.310.0030.00516.40
7.3.300.0070.00016.17
7.3.290.0030.01316.26
7.3.280.0110.00416.30
7.3.270.0040.01517.40
7.3.260.0130.01016.36
7.3.250.0080.00816.55
7.3.240.0150.00416.49
7.3.230.0090.00916.39
7.3.210.0140.00616.21
7.3.200.0130.00319.39
7.3.190.0110.01016.45
7.3.180.0120.00416.36
7.3.170.0060.01016.42
7.3.160.0090.00616.28
7.3.120.0070.00715.15
7.2.330.0140.01116.37
7.2.320.0090.00916.62
7.2.310.0120.00416.40
7.2.300.0030.01416.70
7.2.290.0120.00416.73
7.2.60.0030.01016.89
7.2.00.0100.00719.49
7.1.200.0110.00415.93
7.1.70.0000.00717.18
7.1.60.0030.00717.35
7.1.50.0060.00916.98
7.1.00.0100.07322.36
7.0.200.0040.01216.77
7.0.140.0100.06721.92
7.0.60.0030.08320.01
7.0.50.0130.05717.84
7.0.40.0100.04320.20
7.0.30.0470.06720.18
7.0.20.0370.04320.04
7.0.10.0170.03320.01
7.0.00.0000.04320.24
5.6.280.0130.06020.91
5.6.210.0070.08020.46
5.6.200.0030.08318.11
5.6.190.0070.04020.35
5.6.180.0230.04720.43
5.6.170.0270.08320.51
5.6.160.0100.06720.71
5.6.150.0030.04018.21
5.6.140.0000.09018.18
5.6.130.0070.08018.11
5.6.120.0030.04721.01
5.6.110.0130.06320.98
5.6.100.0130.07321.00
5.6.90.0100.07721.10
5.6.80.0100.03720.28
5.5.350.0030.08720.32
5.5.340.0000.04717.99
5.5.330.0070.04020.43
5.5.320.0230.05020.29
5.5.310.0200.07720.29
5.5.300.0070.03717.95
5.5.290.0070.08318.00
5.5.280.0000.09320.79
5.5.270.0070.08320.76
5.5.260.0230.06720.76
5.5.250.0100.07720.57
5.5.240.0430.06320.36
5.4.450.0130.06019.46
5.4.440.0130.07019.48
5.4.430.0500.06319.10
5.4.420.0030.06019.57
5.4.410.0330.05719.38
5.4.400.0870.06319.30
5.4.390.0600.07018.78
5.4.380.0370.05718.46
5.4.370.0330.05718.72
5.4.360.0330.04718.61
5.4.350.0270.05318.59
5.4.340.0330.05018.68
5.4.320.0060.03912.46
5.4.310.0050.04012.45
5.4.300.0040.04312.45
5.4.290.0080.04212.45
5.4.280.0060.04312.35
5.4.270.0030.05718.69
5.4.260.0070.06018.88
5.4.250.0100.06718.77
5.4.240.0130.05018.88
5.4.230.0100.05018.90
5.4.220.0100.06318.90
5.4.210.0070.05718.77
5.4.200.0100.05718.69
5.4.190.0030.07318.88
5.4.180.0130.05318.78
5.4.170.0130.07318.94
5.4.160.0100.07718.93
5.4.150.0070.05718.91
5.4.140.0130.05016.25
5.4.130.0070.05316.46
5.4.120.0070.06016.29
5.4.110.0100.06016.34
5.4.100.0030.06316.26
5.4.90.0100.07316.34
5.4.80.0130.05016.18
5.4.70.0100.04716.27
5.4.60.0200.05716.40
5.4.50.0030.06016.20
5.4.40.0030.05316.43
5.4.30.0070.05316.16
5.4.20.0130.07016.38
5.4.10.0070.05316.36
5.4.00.0170.05315.91
5.3.290.0100.05212.80
5.3.280.0030.06714.48
5.3.270.0130.05014.62
5.3.260.0130.05714.30
5.3.250.0170.05014.52
5.3.240.0130.05714.60
5.3.230.0300.04714.48
5.3.220.0070.07014.48
5.3.210.0170.07014.57
5.3.200.0130.06714.26
5.3.190.0100.07314.57
5.3.180.0000.06014.34
5.3.170.0130.04714.40
5.3.160.0100.06314.26
5.3.150.0170.04714.42
5.3.140.0100.05314.57
5.3.130.0130.05014.56
5.3.120.0130.06314.38
5.3.110.0030.08014.56
5.3.100.0000.05714.19
5.3.90.0000.06014.02
5.3.80.0100.04713.89
5.3.70.0170.04013.90
5.3.60.0030.06313.90
5.3.50.0130.05713.79
5.3.40.0070.07014.10
5.3.30.0070.06013.85
5.3.20.0100.04713.78
5.3.10.0100.05313.49
5.3.00.0070.07013.41
5.2.170.0030.05711.29
5.2.160.0070.05311.04
5.2.150.0130.05011.29
5.2.140.0100.04711.15
5.2.130.0000.04711.25
5.2.120.0070.03711.01
5.2.110.0070.04711.03
5.2.100.0070.05311.11
5.2.90.0030.06011.02
5.2.80.0100.03711.24
5.2.70.0030.04311.23
5.2.60.0000.04711.16
5.2.50.0070.06010.94
5.2.40.0070.05311.02
5.2.30.0070.04310.80
5.2.20.0070.05010.89
5.2.10.0030.05010.96
5.2.00.0130.03310.48
5.1.60.0070.04710.09
5.1.50.0030.0409.93
5.1.40.0130.03010.01
5.1.30.0100.03010.41
5.1.20.0070.03310.36
5.1.10.0070.03310.09
5.1.00.0130.04010.10
5.0.50.0070.0308.78
5.0.40.0000.0308.78
5.0.30.0000.0478.78
5.0.20.0030.0408.78
5.0.10.0030.0338.78
5.0.00.0030.0478.78
4.4.90.0030.0208.78
4.4.80.0030.0308.78
4.4.70.0000.0278.78
4.4.60.0130.0208.78
4.4.50.0100.0238.78
4.4.40.0030.0438.78
4.4.30.0000.0238.78
4.4.20.0000.0278.78
4.4.10.0100.0238.78
4.4.00.0070.0378.78
4.3.110.0030.0338.78
4.3.100.0070.0178.78
4.3.90.0000.0308.78
4.3.80.0030.0338.78
4.3.70.0000.0238.78
4.3.60.0100.0138.78
4.3.50.0070.0208.78
4.3.40.0030.0438.78
4.3.30.0100.0238.78
4.3.20.0100.0238.78
4.3.10.0030.0208.78
4.3.00.0030.0308.12

preferences:
50.5 ms | 401 KiB | 5 Q