3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 18; $kecewa = array(0,11,12); $biasa = array(11,12,17); $puas = array(12,17,20); $kb = array_intersect($kecewa, $biasa); print_r($kb); if ( $hasil <= $kb ) { // hitung nilai kecewa pake rumus fuzzy logic $muKecewa = ($kb[2] - $hasil) / ($kb[2] - $kb[1]); //output : 52,5 $muBiasa = ($hasil - $kb[1]) / ($kb[2] - $kb[1]); echo $muKecewa; } 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.0120.00618.27
8.3.50.0150.00321.14
8.3.40.0090.00618.55
8.3.30.0030.01020.34
8.3.20.0080.00020.48
8.3.10.0080.00021.22
8.3.00.0000.00723.69
8.2.180.0140.00718.18
8.2.170.0150.00622.96
8.2.160.0030.01020.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00420.95
8.2.110.0030.00619.20
8.2.100.0060.00617.91
8.2.90.0080.00019.17
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0070.00018.05
8.2.50.0080.00018.07
8.2.40.0040.00418.16
8.2.30.0040.00419.54
8.2.20.0030.00517.77
8.2.10.0000.00817.71
8.2.00.0070.00017.62
8.1.280.0100.00325.92
8.1.270.0000.00823.99
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0040.00820.88
8.1.230.0070.00420.88
8.1.220.0030.00618.77
8.1.210.0030.00619.09
8.1.200.0040.00417.35
8.1.190.0000.00817.55
8.1.180.0060.00318.10
8.1.170.0050.00318.59
8.1.160.0040.00418.89
8.1.150.0020.00518.64
8.1.140.0030.00517.46
8.1.130.0000.00817.77
8.1.120.0000.00717.43
8.1.110.0050.00217.44
8.1.100.0030.00517.45
8.1.90.0040.00417.47
8.1.80.0070.00017.34
8.1.70.0030.00317.41
8.1.60.0030.00617.56
8.1.50.0080.00017.37
8.1.40.0000.00817.54
8.1.30.0040.00417.47
8.1.20.0000.00817.63
8.1.10.0070.00017.56
8.1.00.0070.00017.47
8.0.300.0020.00519.76
8.0.290.0040.00417.05
8.0.280.0040.00418.31
8.0.270.0030.00317.25
8.0.260.0030.00316.68
8.0.250.0070.00016.92
8.0.240.0040.00416.95
8.0.230.0040.00417.01
8.0.220.0030.00316.96
8.0.210.0000.00716.84
8.0.200.0000.00616.90
8.0.190.0040.00416.92
8.0.180.0040.00416.94
8.0.170.0040.00416.84
8.0.160.0040.00416.88
8.0.150.0040.00316.88
8.0.140.0040.00316.76
8.0.130.0000.00513.30
8.0.120.0000.00816.86
8.0.110.0040.00416.83
8.0.100.0040.00416.82
8.0.90.0040.00416.70
8.0.80.0180.00416.91
8.0.70.0070.00016.67
8.0.60.0000.00716.84
8.0.50.0000.00716.92
8.0.30.0040.01516.90
8.0.20.0110.00717.40
8.0.10.0070.00016.92
8.0.00.0020.01616.78
7.4.330.0000.00615.02
7.4.320.0000.00816.51
7.4.300.0080.00016.62
7.4.290.0030.00316.56
7.4.280.0000.00716.42
7.4.270.0030.00316.50
7.4.260.0000.00613.33
7.4.250.0040.00416.36
7.4.240.0040.00416.43
7.4.230.0050.00316.58
7.4.220.0140.01016.53
7.4.210.0070.00816.59
7.4.200.0000.00716.40
7.4.190.0030.00416.56
7.4.160.0070.01416.44
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0140.00816.49
7.4.120.0120.00916.42
7.4.110.0070.01016.51
7.4.100.0110.01116.29
7.4.90.0060.01216.67
7.4.80.0070.01019.39
7.4.70.0100.00616.61
7.4.60.0000.01816.41
7.4.50.0000.00916.39
7.4.40.0080.00322.77
7.4.30.0070.01016.48
7.4.00.0130.00314.81
7.3.330.0020.00313.10
7.3.320.0030.00313.16
7.3.310.0000.00716.14
7.3.300.0030.00316.10
7.3.290.0030.01116.28
7.3.280.0080.01116.25
7.3.270.0110.00717.40
7.3.260.0140.00618.24
7.3.250.0080.00816.47
7.3.240.0060.01216.32
7.3.230.0090.01016.59
7.3.210.0070.01116.46
7.3.200.0060.00919.39
7.3.190.0140.00816.25
7.3.180.0070.01016.28
7.3.170.0080.00816.60
7.3.160.0090.00616.43
7.3.120.0040.01114.80
7.2.330.0120.00616.35
7.2.320.0070.01016.43
7.2.310.0090.00916.70
7.2.300.0190.00016.40
7.2.290.0070.01016.77
7.1.100.0060.00617.83
7.1.70.0100.00017.13
7.1.60.0100.01319.17
7.1.50.0070.02017.10
7.1.00.0000.03722.32
7.0.200.0050.00216.85
7.0.140.0030.07321.93
7.0.100.0100.04719.97
7.0.90.0300.04720.03
7.0.80.0100.04319.90
7.0.70.0200.07019.89
7.0.60.0130.07719.91
7.0.50.0070.06720.32
7.0.40.0130.06320.10
7.0.30.0130.08020.04
7.0.20.0070.08020.07
7.0.10.0000.04720.14
7.0.00.0130.04320.08
5.6.280.0130.08320.85
5.6.250.0100.07320.75
5.6.240.0030.04720.63
5.6.230.0130.07020.68
5.6.220.0070.08720.68
5.6.210.0100.09020.45
5.6.200.0070.08321.04
5.6.190.0030.07321.11
5.6.180.0030.07020.95
5.6.170.0170.06721.00
5.6.160.0170.03321.08
5.6.150.0130.08321.08
5.6.140.0070.04321.07
5.6.130.0070.05020.95
5.6.120.0030.04721.07
5.6.110.0000.05321.07
5.6.100.0100.04721.02
5.6.90.0130.07721.02
5.6.80.0130.07020.32
5.6.70.0130.07020.45
5.6.60.0000.06020.38
5.6.50.0100.07020.33
5.6.40.0070.06720.31
5.6.30.0000.08020.32
5.6.20.0070.05720.42
5.6.10.0170.07720.30
5.6.00.0070.06320.34
5.5.380.0100.07020.45
5.5.370.0030.07320.35
5.5.360.0130.09720.56
5.5.350.0100.08320.41
5.5.340.0030.04720.87
5.5.330.0200.07020.83
5.5.320.0130.05320.87
5.5.310.0130.04020.90
5.5.300.0130.07720.90
5.5.290.0030.08320.82
5.5.280.0070.04720.87
5.5.270.0030.05020.91
5.5.260.0070.09320.89
5.5.250.0070.04020.70
5.5.240.0030.03720.31
5.5.230.0070.04720.14
5.5.220.0030.05020.25
5.5.210.0100.06020.20
5.5.200.0070.03320.29
5.5.190.0070.08020.27
5.5.180.0170.06020.15
5.5.160.0130.06720.12
5.5.150.0070.04020.07
5.5.140.0030.07720.22
5.5.130.0030.07320.14
5.5.120.0030.04019.98
5.5.110.0070.05320.23
5.5.100.0100.03020.17
5.5.90.0030.04320.07
5.5.80.0000.06719.94
5.5.70.0030.03720.06
5.5.60.0070.03320.05
5.5.50.0030.05020.08
5.5.40.0130.03020.05
5.5.30.0130.07020.04
5.5.20.0070.04720.16
5.5.10.0030.04720.00
5.5.00.0000.04020.11
5.4.450.0170.06019.43
5.4.440.0170.06719.33
5.4.430.0100.04019.32
5.4.420.0100.04319.26
5.4.410.0100.07719.04
5.4.400.0000.04319.18
5.4.390.0070.06019.21
5.4.380.0030.03719.12
5.4.370.0100.07019.21
5.4.360.0100.03319.16
5.4.350.0100.05718.85
5.4.340.0170.05719.18
5.4.320.0070.06019.04
5.4.310.0100.06018.87
5.4.300.0030.03719.04
5.4.290.0100.06019.08
5.4.280.0100.03319.23
5.4.270.0030.03719.04
5.4.260.0030.04719.02
5.4.250.0030.03319.09
5.4.240.0070.03318.89
5.4.230.0100.07019.04
5.4.220.0030.07719.18
5.4.210.0030.03319.02
5.4.200.0100.05718.94
5.4.190.0030.03719.15
5.4.180.0030.07019.11
5.4.170.0100.06719.11
5.4.160.0070.07018.92
5.4.150.0070.07318.86
5.4.140.0100.07016.50
5.4.130.0130.08016.45
5.4.120.0100.06316.40
5.4.110.0030.03716.48
5.4.100.0100.02716.44
5.4.90.0100.03716.47
5.4.80.0200.06016.53
5.4.70.0100.06716.38
5.4.60.0030.07016.27
5.4.50.0100.06316.39
5.4.40.0100.06316.36
5.4.30.0100.06716.46
5.4.20.0170.06316.41
5.4.10.0130.06016.38
5.4.00.0000.03315.85
5.3.290.0070.03714.78
5.3.280.0000.04014.68
5.3.270.0000.04014.58
5.3.260.0030.03714.58
5.3.250.0100.05714.55
5.3.240.0070.07014.73
5.3.230.0100.03314.57
5.3.220.0070.05714.68
5.3.210.0100.05714.58
5.3.200.0130.06014.62
5.3.190.0030.06014.65
5.3.180.0100.03014.52
5.3.170.0070.06714.56
5.3.160.0070.04014.53
5.3.150.0070.04014.57
5.3.140.0000.04314.57
5.3.130.0070.03714.57
5.3.120.0130.03714.55
5.3.110.0100.07714.57
5.3.100.0000.04014.14
5.3.90.0070.07013.98
5.3.80.0030.03314.04
5.3.70.0030.07714.00
5.3.60.0070.03314.14
5.3.50.0000.03714.08
5.3.40.0070.06314.05
5.3.30.0130.06313.96
5.3.20.0100.06013.70
5.3.10.0000.07713.75
5.3.00.0030.03313.62
5.2.170.0030.06011.27
5.2.160.0000.03011.22
5.2.150.0030.05011.27
5.2.140.0070.05311.18
5.2.130.0030.05711.00
5.2.120.0000.05011.15
5.2.110.0070.05311.15
5.2.100.0070.02710.95
5.2.90.0070.05711.18
5.2.80.0070.03711.00
5.2.70.0030.06011.19
5.2.60.0030.03710.99
5.2.50.0000.03011.13
5.2.40.0030.03011.08
5.2.30.0030.06011.02
5.2.20.0030.04010.90
5.2.10.0030.04310.86
5.2.00.0070.03010.74
5.1.60.0070.0239.98
5.1.50.0000.03710.03
5.1.40.0030.02310.07
5.1.30.0000.03310.23
5.1.20.0070.02310.20
5.1.10.0000.03010.12
5.1.00.0000.03010.11
5.0.50.0000.0179.41
5.0.40.0000.0179.41
5.0.30.0030.0309.41
5.0.20.0030.0209.41
5.0.10.0030.0179.41
5.0.00.0070.0279.41
4.4.90.0000.0309.41
4.4.80.0000.0379.41
4.4.70.0070.0109.41
4.4.60.0070.0339.41
4.4.50.0000.0309.41
4.4.40.0030.0409.41
4.4.30.0000.0209.41
4.4.20.0070.0139.41
4.4.10.0030.0179.41
4.4.00.0000.0239.41
4.3.110.0030.0139.41
4.3.100.0000.0209.41
4.3.90.0000.0179.41
4.3.80.0000.0239.41
4.3.70.0030.0109.41
4.3.60.0000.0139.41
4.3.50.0030.0139.41
4.3.40.0000.0239.41
4.3.30.0000.0179.41
4.3.20.0000.0179.41
4.3.10.0030.0139.41
4.3.00.0030.0139.41

preferences:
43.36 ms | 401 KiB | 5 Q