3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 40; $kecewa = array(0,40,65); $biasa = array(40,65,80); $puas = array(65,80,100); $kb = array_intersect($kecewa, $biasa); $bp = array_intersect($biasa, $puas); print_r($kb); print_r($bp); if ( $hasil <= $kb ) { // hitung nilai kecewa pake rumus fuzzy logic $muKecewa = ($kb[2] - $hasil) / ($kb[2] - $kb[1]); //output : 52,5 echo $muKecewa; echo "<br />"; } else { echo "false"; }

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.01016.75
8.3.50.0100.00921.98
8.3.40.0070.00718.84
8.3.30.0030.01019.22
8.3.20.0080.00020.21
8.3.10.0030.00623.62
8.3.00.0080.00020.77
8.2.180.0090.00916.38
8.2.170.0140.00022.96
8.2.160.0110.00422.11
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0100.00722.30
8.2.110.0090.00022.08
8.2.100.0090.00317.91
8.2.90.0040.00419.39
8.2.80.0030.00518.05
8.2.70.0040.00417.50
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0100.00020.00
8.2.30.0000.00818.18
8.2.20.0050.00317.66
8.2.10.0040.00417.74
8.2.00.0040.00417.75
8.1.280.0120.00625.92
8.1.270.0000.00823.71
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00023.97
8.1.230.0110.00019.11
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0050.00317.53
8.1.180.0040.00418.10
8.1.170.0030.00518.67
8.1.160.0030.00622.06
8.1.150.0040.00418.64
8.1.140.0000.00817.56
8.1.130.0070.00017.83
8.1.120.0070.00017.54
8.1.110.0030.00517.42
8.1.100.0020.00517.52
8.1.90.0000.00717.48
8.1.80.0030.00317.38
8.1.70.0000.00717.42
8.1.60.0090.00317.47
8.1.50.0040.00417.52
8.1.40.0030.00617.37
8.1.30.0040.00417.61
8.1.20.0030.00617.65
8.1.10.0040.00417.61
8.1.00.0000.00817.39
8.0.300.0050.00318.77
8.0.290.0030.00317.05
8.0.280.0030.00318.46
8.0.270.0000.00717.13
8.0.260.0070.00316.89
8.0.250.0070.00016.94
8.0.240.0040.00416.83
8.0.230.0070.00016.86
8.0.220.0030.00316.90
8.0.210.0000.00716.89
8.0.200.0030.00317.02
8.0.190.0030.00316.87
8.0.180.0040.00416.87
8.0.170.0000.00816.92
8.0.160.0040.00416.91
8.0.150.0040.00416.92
8.0.140.0030.00516.85
8.0.130.0000.00513.28
8.0.120.0020.00516.71
8.0.110.0000.00716.85
8.0.100.0050.00316.89
8.0.90.0030.00516.75
8.0.80.0090.00616.88
8.0.70.0050.00316.77
8.0.60.0050.00316.75
8.0.50.0040.00416.71
8.0.30.0110.00817.04
8.0.20.0130.00817.40
8.0.10.0040.00417.02
8.0.00.0080.01116.73
7.4.330.0020.00215.17
7.4.320.0000.00716.41
7.4.300.0000.00616.52
7.4.290.0000.00716.45
7.4.280.0030.00316.59
7.4.270.0040.00416.46
7.4.260.0000.00816.38
7.4.250.0000.00816.45
7.4.240.0040.00416.57
7.4.230.0000.00716.50
7.4.220.0070.01116.52
7.4.210.0100.00616.61
7.4.200.0070.00016.58
7.4.190.0030.00316.45
7.4.160.0050.01016.41
7.4.150.0150.00617.40
7.4.140.0130.00317.86
7.4.130.0070.01216.54
7.4.120.0100.00816.43
7.4.110.0150.00416.57
7.4.100.0100.01316.31
7.4.90.0110.00716.55
7.4.80.0100.00616.48
7.4.70.0120.00916.41
7.4.60.0100.00716.46
7.4.50.0030.00516.30
7.4.40.0060.00922.77
7.4.30.0000.01516.63
7.4.00.0030.00515.18
7.3.330.0030.00313.09
7.3.320.0050.00013.22
7.3.310.0040.00416.20
7.3.300.0030.00316.23
7.3.290.0140.00616.35
7.3.280.0050.01316.26
7.3.270.0100.00617.40
7.3.260.0120.00616.48
7.3.250.0080.00916.38
7.3.240.0090.01216.37
7.3.230.0090.00616.42
7.3.210.0170.00016.49
7.3.200.0060.00919.39
7.3.190.0060.01516.64
7.3.180.0090.00616.60
7.3.170.0100.00616.39
7.3.160.0090.00616.38
7.3.120.0080.00814.93
7.2.330.0130.01016.30
7.2.320.0150.00816.39
7.2.310.0100.00716.50
7.2.300.0100.00716.28
7.2.290.0080.00716.40
7.2.00.0060.00619.44
7.1.100.0030.00918.15
7.1.70.0090.00016.93
7.1.60.0090.00919.27
7.1.50.0070.01117.10
7.1.00.0100.07022.28
7.0.200.0020.00816.73
7.0.140.0000.08021.95
7.0.100.0300.08319.89
7.0.90.0100.07019.91
7.0.80.0070.08319.89
7.0.70.0370.07719.89
7.0.60.0030.08319.95
7.0.50.0130.05320.25
7.0.40.0100.05320.09
7.0.30.0200.05720.04
7.0.20.0070.08720.13
7.0.10.0130.04720.23
7.0.00.0070.05720.17
5.6.280.0070.07020.90
5.6.250.0130.03720.60
5.6.240.0170.08320.66
5.6.230.0170.07020.59
5.6.220.0100.04020.52
5.6.210.0070.07020.77
5.6.200.0130.08021.10
5.6.190.0100.03721.04
5.6.180.0170.07321.06
5.6.170.0130.06320.97
5.6.160.0100.08721.01
5.6.150.0070.07021.11
5.6.140.0130.07721.13
5.6.130.0030.09021.00
5.6.120.0200.07020.93
5.6.110.0170.04321.12
5.6.100.0030.05321.00
5.6.90.0070.08321.11
5.6.80.0200.07020.55
5.6.70.0100.07720.48
5.6.60.0030.08020.43
5.6.50.0100.07020.29
5.6.40.0030.08320.29
5.6.30.0070.08020.41
5.6.20.0070.08020.43
5.6.10.0130.07720.38
5.6.00.0130.04320.36
5.5.380.0130.07720.37
5.5.370.0000.07720.41
5.5.360.0130.08020.50
5.5.350.0100.04320.40
5.5.340.0130.08020.89
5.5.330.0130.07720.80
5.5.320.0030.07320.80
5.5.310.0100.08320.90
5.5.300.0070.08020.64
5.5.290.0130.07020.83
5.5.280.0200.05020.86
5.5.270.0100.06020.79
5.5.260.0100.04720.75
5.5.250.0130.08320.59
5.5.240.0070.07020.29
5.5.230.0100.07720.17
5.5.220.0170.07320.20
5.5.210.0100.07320.29
5.5.200.0170.07020.09
5.5.190.0170.07320.23
5.5.180.0130.07320.28
5.5.160.0100.08020.13
5.5.150.0070.04320.17
5.5.140.0070.08320.12
5.5.130.0130.03720.17
5.5.120.0100.06320.12
5.5.110.0100.07720.23
5.5.100.0100.07720.10
5.5.90.0170.07020.08
5.5.80.0070.07319.91
5.5.70.0030.06720.04
5.5.60.0200.06320.16
5.5.50.0100.06720.06
5.5.40.0170.06720.08
5.5.30.0070.06320.13
5.5.20.0070.08020.04
5.5.10.0070.07720.02
5.5.00.0030.08020.10
5.4.450.0070.07319.36
5.4.440.0070.07319.54
5.4.430.0030.08019.50
5.4.420.0030.08019.36
5.4.410.0030.06719.23
5.4.400.0070.06319.19
5.4.390.0100.07718.95
5.4.380.0030.08018.85
5.4.370.0130.06718.82
5.4.360.0070.07319.23
5.4.350.0070.07719.12
5.4.340.0000.07719.07
5.4.320.0070.06319.18
5.4.310.0070.06718.85
5.4.300.0030.06719.13
5.4.290.0070.07319.14
5.4.280.0230.06018.89
5.4.270.0030.07718.87
5.4.260.0100.04018.90
5.4.250.0170.07019.04
5.4.240.0030.08719.16
5.4.230.0100.07319.08
5.4.220.0130.07019.02
5.4.210.0100.07019.13
5.4.200.0000.08319.04
5.4.190.0130.07019.21
5.4.180.0170.06319.02
5.4.170.0070.07019.15
5.4.160.0200.06019.07
5.4.150.0100.07319.21
5.4.140.0070.07016.44
5.4.130.0100.07316.27
5.4.120.0100.06716.41
5.4.110.0070.04316.34
5.4.100.0070.06016.39
5.4.90.0000.06316.41
5.4.80.0070.07316.48
5.4.70.0000.04716.49
5.4.60.0070.07316.48
5.4.50.0030.05316.44
5.4.40.0130.05016.50
5.4.30.0070.06716.36
5.4.20.0030.07316.44
5.4.10.0070.04316.44
5.4.00.0000.05715.85
5.3.290.0030.08014.68
5.3.280.0130.06714.70
5.3.270.0030.05714.55
5.3.260.0070.06714.55
5.3.250.0000.08014.65
5.3.240.0030.06314.52
5.3.230.0030.05014.59
5.3.220.0070.06714.63
5.3.210.0130.07014.61
5.3.200.0100.07714.61
5.3.190.0030.06014.68
5.3.180.0170.03714.59
5.3.170.0000.07314.51
5.3.160.0070.07714.61
5.3.150.0070.05014.61
5.3.140.0000.07714.69
5.3.130.0100.07014.55
5.3.120.0100.05314.68
5.3.110.0000.07014.55
5.3.100.0100.07714.10
5.3.90.0030.07313.96
5.3.80.0100.07014.04
5.3.70.0030.07714.00
5.3.60.0100.06714.06
5.3.50.0130.06013.86
5.3.40.0070.07713.83
5.3.30.0000.04314.01
5.3.20.0030.07013.67
5.3.10.0030.07713.68
5.3.00.0000.07713.66
5.2.170.0100.03311.05
5.2.160.0000.06311.26
5.2.150.0030.05011.27
5.2.140.0130.05311.06
5.2.130.0030.06311.09
5.2.120.0030.06011.16
5.2.110.0100.06011.18
5.2.100.0100.05310.98
5.2.90.0070.06011.22
5.2.80.0070.06010.98
5.2.70.0030.06011.08
5.2.60.0030.05710.94
5.2.50.0030.06310.95
5.2.40.0070.05710.92
5.2.30.0130.05311.10
5.2.20.0070.06010.87
5.2.10.0000.06310.96
5.2.00.0070.05310.80
5.1.60.0030.0309.94
5.1.50.0070.0539.94
5.1.40.0000.03710.09
5.1.30.0030.05310.25
5.1.20.0030.05310.41
5.1.10.0100.04710.15
5.1.00.0030.03710.18
5.0.50.0070.0409.94
5.0.40.0000.0239.94
5.0.30.0070.0409.94
5.0.20.0000.0509.94
5.0.10.0000.0479.94
5.0.00.0070.0339.94
4.4.90.0070.0309.94
4.4.80.0000.0379.94
4.4.70.0030.0339.94
4.4.60.0000.0409.94
4.4.50.0000.0339.94
4.4.40.0100.0379.94
4.4.30.0000.0179.94
4.4.20.0000.0279.94
4.4.10.0030.0179.94
4.4.00.0030.0439.94
4.3.110.0030.0279.94
4.3.100.0000.0339.94
4.3.90.0030.0339.94
4.3.80.0000.0479.94
4.3.70.0070.0309.94
4.3.60.0030.0339.94
4.3.50.0030.0279.94
4.3.40.0030.0509.94
4.3.30.0000.0209.94
4.3.20.0030.0339.94
4.3.10.0030.0309.94
4.3.00.0070.0239.94

preferences:
38.16 ms | 401 KiB | 5 Q