3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 52.5; $biasa = array(0,40,65); $puas = array(40,65,80); $istimewa = array(65,80,100); $kb = array_intersect($biasa, $puas); print_r($result); echo $result[1]; // 40 if ( $hasil <= $kb ) { // hitung nilai kecewa pake rumus fuzzy logic $muKecewa = $kb[1] - $hasil / $kb[2] - $kb[1]; //output : 52,5 $muBiasa = $hasil - $kb[1] / $kb[2] - $kb[1]; echo $muKecewa; echo $muBiasa; } 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.0150.00618.40
8.3.50.0070.01022.11
8.3.40.0150.00018.64
8.3.30.0100.00318.67
8.3.20.0050.00318.73
8.3.10.0080.00021.05
8.3.00.0070.00021.73
8.2.180.0070.00716.88
8.2.170.0120.00322.96
8.2.160.0070.00720.36
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0000.00921.00
8.2.110.0060.00320.55
8.2.100.0080.00417.84
8.2.90.0040.00419.17
8.2.80.0090.00017.97
8.2.70.0050.00517.63
8.2.60.0080.00018.01
8.2.50.0110.00018.07
8.2.40.0000.00818.09
8.2.30.0040.00421.10
8.2.20.0000.00817.66
8.2.10.0050.00317.80
8.2.00.0040.00417.92
8.1.280.0040.01125.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00022.60
8.1.230.0060.00620.98
8.1.220.0080.00018.77
8.1.210.0000.00819.04
8.1.200.0070.00417.35
8.1.190.0000.00717.51
8.1.180.0030.00618.10
8.1.170.0080.00018.71
8.1.160.0000.00718.86
8.1.150.0040.00418.64
8.1.140.0040.00417.36
8.1.130.0030.00317.70
8.1.120.0050.00217.47
8.1.110.0040.00417.31
8.1.100.0050.00217.35
8.1.90.0030.00317.38
8.1.80.0030.00417.37
8.1.70.0000.00717.45
8.1.60.0000.00817.60
8.1.50.0030.00617.53
8.1.40.0000.00717.55
8.1.30.0040.00417.70
8.1.20.0060.00317.70
8.1.10.0040.00417.47
8.1.00.0000.00817.55
8.0.300.0090.00019.91
8.0.290.0070.00017.03
8.0.280.0030.00318.46
8.0.270.0070.00017.26
8.0.260.0000.00716.76
8.0.250.0040.00416.91
8.0.240.0020.00517.00
8.0.230.0030.00516.99
8.0.220.0030.00316.87
8.0.210.0070.00016.93
8.0.200.0000.00617.00
8.0.190.0030.00317.02
8.0.180.0040.00416.98
8.0.170.0000.00917.02
8.0.160.0040.00416.89
8.0.150.0000.00716.94
8.0.140.0000.00816.95
8.0.130.0000.00513.43
8.0.120.0030.00616.98
8.0.110.0070.00016.77
8.0.100.0040.00416.85
8.0.90.0040.00416.83
8.0.80.0070.00716.94
8.0.70.0000.00816.80
8.0.60.0070.00016.94
8.0.50.0030.00516.98
8.0.30.0120.00817.27
8.0.20.0090.00917.40
8.0.10.0060.00316.94
8.0.00.0130.00716.96
7.4.330.0050.00014.77
7.4.320.0030.00316.42
7.4.300.0040.00416.59
7.4.290.0000.00716.51
7.4.280.0050.00216.48
7.4.270.0070.00016.63
7.4.260.0000.00513.31
7.4.250.0060.00316.54
7.4.240.0000.00816.52
7.4.230.0030.00316.68
7.4.220.0090.00916.55
7.4.210.0100.00616.53
7.4.200.0040.00416.50
7.4.190.0000.00816.66
7.4.160.0110.00416.37
7.4.150.0040.01217.40
7.4.140.0090.01117.86
7.4.130.0090.00916.52
7.4.120.0120.00816.53
7.4.110.0100.00716.47
7.4.100.0100.00716.51
7.4.90.0030.01616.57
7.4.80.0100.01019.39
7.4.70.0110.00716.60
7.4.60.0090.00916.47
7.4.50.0050.01116.48
7.4.40.0070.00722.77
7.4.30.0060.01216.57
7.4.00.0080.01115.06
7.3.330.0020.00213.15
7.3.320.0020.00213.13
7.3.310.0030.00316.36
7.3.300.0070.00016.43
7.3.290.0150.00616.35
7.3.280.0040.01216.38
7.3.270.0130.00317.40
7.3.260.0100.01418.24
7.3.250.0080.00916.39
7.3.240.0120.00416.52
7.3.230.0060.01016.51
7.3.210.0110.00616.36
7.3.200.0140.00919.39
7.3.190.0110.01116.43
7.3.180.0060.01016.53
7.3.170.0060.01516.63
7.3.160.0150.00316.37
7.3.120.0070.00914.85
7.3.110.0080.00615.03
7.3.100.0030.01114.97
7.3.90.0040.00914.80
7.3.80.0000.01114.91
7.3.70.0030.01015.05
7.3.60.0110.00314.86
7.3.50.0040.01114.96
7.3.40.0040.01114.66
7.3.30.0040.01214.83
7.3.20.0030.01016.79
7.3.10.0030.00916.64
7.3.00.0110.00016.40
7.2.330.0070.01416.50
7.2.320.0060.01116.64
7.2.310.0080.01216.68
7.2.300.0150.00316.54
7.2.290.0110.00916.46
7.2.250.0070.01015.08
7.2.240.0090.00914.93
7.2.230.0070.00715.11
7.2.220.0060.00914.96
7.2.210.0000.01214.75
7.2.200.0030.00615.12
7.2.190.0050.00515.14
7.2.180.0030.00715.04
7.2.170.0040.00415.14
7.2.60.0030.01316.66
7.2.00.0000.01619.05
7.1.330.0000.01615.81
7.1.320.0080.00315.84
7.1.310.0040.00416.10
7.1.300.0040.00715.87
7.1.290.0030.01015.81
7.1.280.0000.01115.94
7.1.270.0030.00715.60
7.1.260.0030.01015.95
7.1.200.0040.01215.50
7.1.100.0030.00617.53
7.1.70.0000.00716.87
7.1.60.0100.01319.40
7.1.50.0070.01616.99
7.1.00.0000.05022.44
7.0.200.0110.00816.86
7.0.140.0100.06722.07
7.0.70.0030.08321.68
7.0.60.0070.08021.75
7.0.50.0030.04322.05
7.0.40.0070.08320.13
7.0.30.0000.08320.14
7.0.20.0000.07020.18
7.0.10.0100.05320.09
7.0.00.0030.07320.04
5.6.280.0030.07020.97
5.6.220.0030.08020.67
5.6.210.0000.07320.60
5.6.200.0000.09321.06
5.6.190.0130.08020.95
5.6.180.0030.05021.16
5.6.170.0070.08020.99
5.6.160.0070.07021.04
5.6.150.0030.08721.11
5.6.140.0070.05321.08
5.6.130.0070.08320.94
5.6.120.0070.08721.07
5.6.110.0030.07320.90
5.6.100.0200.07020.97
5.6.90.0100.05721.09
5.6.80.0030.08320.38
5.6.70.0070.06020.29
5.6.60.0030.04320.36
5.6.50.0030.05720.38
5.6.40.0070.05320.44
5.6.30.0070.07720.47
5.6.20.0000.05720.35
5.6.10.0100.07720.46
5.6.00.0130.05720.40
5.5.360.0070.08020.34
5.5.350.0070.08320.47
5.5.340.0000.06020.82
5.5.330.0070.08020.93
5.5.320.0000.05020.64
5.5.310.0100.08020.91
5.5.300.0030.09020.89
5.5.290.0000.07320.67
5.5.280.0000.05720.80
5.5.270.0100.06720.74
5.5.260.0100.07020.74
5.5.250.0070.08720.68
5.5.240.0070.07720.25
5.5.230.0070.07720.02
5.5.220.0030.04720.09
5.5.210.0000.04320.10
5.5.200.0070.07720.25
5.5.190.0030.07720.21
5.5.180.0070.08020.22
5.5.160.0070.08020.15
5.5.150.0070.07019.99
5.5.140.0000.04719.98
5.5.130.0070.07320.18
5.5.120.0030.07720.24
5.5.110.0030.05320.05
5.5.100.0000.08720.13
5.5.90.0070.06320.05
5.5.80.0130.07320.14
5.5.70.0030.07720.02
5.5.60.0030.08320.04
5.5.50.0030.06320.05
5.5.40.0070.07720.12
5.5.30.0070.05320.03
5.5.20.0130.07720.13
5.5.10.0100.07719.96
5.5.00.0000.08720.00
5.4.450.0030.07719.36
5.4.440.0000.08319.28
5.4.430.0070.08019.22
5.4.420.0000.07719.26
5.4.410.0000.08319.14
5.4.400.0100.07019.04
5.4.390.0000.08019.13
5.4.380.0000.06718.83
5.4.370.0000.04019.05
5.4.360.0070.07319.03
5.4.350.0030.08019.05
5.4.340.0000.08319.04
5.4.320.0030.08019.23
5.4.310.0070.07719.06
5.4.300.0030.03718.89
5.4.290.0030.07019.07
5.4.280.0000.08719.23
5.4.270.0100.06319.05
5.4.260.0070.05719.02
5.4.250.0100.06318.97
5.4.240.0100.05719.22
5.4.230.0100.07318.96
5.4.220.0070.05718.96
5.4.210.0100.07319.11
5.4.200.0030.04319.11
5.4.190.0000.07718.99
5.4.180.0070.06019.21
5.4.170.0030.08019.01
5.4.160.0030.07019.12
5.4.150.0070.07019.00
5.4.140.0000.06316.29
5.4.130.0070.08016.42
5.4.120.0000.05016.27
5.4.110.0070.06716.27
5.4.100.0030.07316.34
5.4.90.0000.05716.30
5.4.80.0000.05016.33
5.4.70.0000.04316.43
5.4.60.0030.04716.18
5.4.50.0030.07716.23
5.4.40.0030.07016.26
5.4.30.0070.05316.41
5.4.20.0000.07316.23
5.4.10.0070.07016.37
5.4.00.0030.07715.83
5.3.290.0030.07314.50
5.3.280.0000.08014.41
5.3.270.0030.08014.55
5.3.260.0030.05014.58
5.3.250.0030.04714.46
5.3.240.0000.05714.56
5.3.230.0100.06714.58
5.3.220.0100.06014.57
5.3.210.0070.07314.57
5.3.200.0030.07314.56
5.3.190.0000.06714.38
5.3.180.0070.07014.42
5.3.170.0000.08314.55
5.3.160.0030.05014.42
5.3.150.0070.06714.55
5.3.140.0070.05714.53
5.3.130.0030.06714.54
5.3.120.0030.08014.47
5.3.110.0030.08014.48
5.3.100.0100.06313.97
5.3.90.0000.07313.88
5.3.80.0070.06013.98
5.3.70.0000.08313.77
5.3.60.0030.07313.96
5.3.50.0100.07013.90
5.3.40.0030.06313.70
5.3.30.0030.07013.89
5.3.20.0000.06713.66
5.3.10.0070.05013.60
5.3.00.0070.06013.49
5.2.170.0030.06312.21
5.2.160.0000.06712.21
5.2.150.0070.05012.21
5.2.140.0000.04712.21
5.2.130.0000.05712.21
5.2.120.0070.06012.21
5.2.110.0100.05712.21
5.2.100.0030.06012.21
5.2.90.0030.06012.21
5.2.80.0030.06012.21
5.2.70.0030.06712.21
5.2.60.0030.05012.21
5.2.50.0030.06312.21
5.2.40.0000.06312.21
5.2.30.0070.06012.21
5.2.20.0030.06012.21
5.2.10.0030.06012.21
5.2.00.0030.06012.21
5.1.60.0000.03312.21
5.1.50.0030.05712.21
5.1.40.0000.04312.21
5.1.30.0000.04312.21
5.1.20.0000.05712.21
5.1.10.0070.03312.21
5.1.00.0000.02712.21
5.0.50.0070.04312.21
5.0.40.0000.03312.21
5.0.30.0000.05712.21
5.0.20.0000.04712.21
5.0.10.0070.03712.21
5.0.00.0030.06012.21
4.4.90.0000.03712.21
4.4.80.0000.02312.21
4.4.70.0030.03312.21
4.4.60.0030.03312.21
4.4.50.0000.03712.21
4.4.40.0030.04712.21
4.4.30.0000.03312.21
4.4.20.0000.03312.21
4.4.10.0030.03312.21
4.4.00.0000.03712.21
4.3.110.0100.02312.21
4.3.100.0030.03312.21
4.3.90.0000.03312.21
4.3.80.0000.05312.21
4.3.70.0070.03012.21
4.3.60.0000.03012.21
4.3.50.0000.03012.21
4.3.40.0000.05312.21
4.3.30.0030.02012.21
4.3.20.0000.02712.21
4.3.10.0030.03312.21
4.3.00.0070.03012.21

preferences:
41.42 ms | 400 KiB | 5 Q