3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hasil = 100; $kecewa = array(0,40,65); $biasa = array(40,65,80); $puas = array(65,80,100); $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 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.01018.38
8.3.50.0120.00721.08
8.3.40.0070.00718.71
8.3.30.0000.01320.17
8.3.20.0080.00020.59
8.3.10.0050.00321.05
8.3.00.0050.00223.70
8.2.180.0000.01816.38
8.2.170.0120.00622.96
8.2.160.0140.00620.22
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00421.11
8.2.110.0000.00922.24
8.2.100.0070.00417.91
8.2.90.0000.00817.75
8.2.80.0000.00918.77
8.2.70.0040.00419.21
8.2.60.0030.00617.63
8.2.50.0040.00417.63
8.2.40.0040.00419.48
8.2.30.0000.00717.73
8.2.20.0000.00817.58
8.2.10.0050.00217.66
8.2.00.0040.00417.70
8.1.280.0090.00625.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00620.29
8.1.230.0070.00417.70
8.1.220.0030.00517.76
8.1.210.0000.00818.77
8.1.200.0000.00817.35
8.1.190.0000.00817.35
8.1.180.0050.00318.10
8.1.170.0060.00317.65
8.1.160.0070.00018.88
8.1.150.0080.00018.64
8.1.140.0040.00417.36
8.1.130.0040.00417.83
8.1.120.0030.00517.49
8.1.110.0040.00417.50
8.1.100.0000.00817.46
8.1.90.0030.00517.45
8.1.80.0030.00317.51
8.1.70.0070.00017.41
8.1.60.0040.00417.51
8.1.50.0040.00417.54
8.1.40.0000.00817.54
8.1.30.0050.00317.59
8.1.20.0040.00417.74
8.1.10.0060.00317.58
8.1.00.0040.00417.46
8.0.300.0070.00318.77
8.0.290.0090.00016.63
8.0.280.0040.00418.01
8.0.270.0040.00418.01
8.0.260.0030.00316.82
8.0.250.0080.00016.96
8.0.240.0050.00316.94
8.0.230.0040.00316.94
8.0.220.0030.00316.79
8.0.210.0030.00316.96
8.0.200.0030.00316.94
8.0.190.0070.00016.89
8.0.180.0000.00716.92
8.0.170.0040.00416.93
8.0.160.0080.00016.79
8.0.150.0000.00716.81
8.0.140.0070.00016.91
8.0.130.0030.00313.39
8.0.120.0030.00616.83
8.0.110.0050.00316.86
8.0.100.0040.00416.74
8.0.90.0040.00416.88
8.0.80.0040.01116.83
8.0.70.0040.00416.95
8.0.60.0000.00716.86
8.0.50.0040.00416.75
8.0.30.0100.00917.18
8.0.20.0120.00917.40
8.0.10.0030.00516.88
8.0.00.0090.01016.70
7.4.330.0000.00516.71
7.4.320.0030.00316.41
7.4.300.0000.00616.64
7.4.290.0000.00816.61
7.4.280.0070.00016.48
7.4.270.0030.00316.40
7.4.260.0000.00613.18
7.4.250.0040.00416.63
7.4.240.0000.00716.52
7.4.230.0040.00416.39
7.4.220.0060.01916.61
7.4.210.0070.00716.56
7.4.200.0030.00316.69
7.4.190.0030.00616.46
7.4.160.0120.00416.57
7.4.150.0030.01317.40
7.4.140.0070.01017.86
7.4.130.0120.00516.47
7.4.120.0070.01016.59
7.4.110.0170.00716.69
7.4.100.0100.00716.44
7.4.90.0060.01316.77
7.4.80.0120.00619.39
7.4.70.0040.01216.59
7.4.60.0060.01116.34
7.4.50.0040.00416.45
7.4.40.0060.00922.77
7.4.30.0060.01016.60
7.4.00.0080.00814.74
7.3.330.0000.00513.17
7.3.320.0000.00513.02
7.3.310.0000.00716.41
7.3.300.0030.00616.32
7.3.290.0160.00316.36
7.3.280.0060.01016.26
7.3.270.0060.01517.40
7.3.260.0100.00918.24
7.3.250.0180.00316.32
7.3.240.0100.00716.37
7.3.230.0130.00316.39
7.3.210.0080.01116.56
7.3.200.0100.00719.39
7.3.190.0100.00716.63
7.3.180.0060.01716.34
7.3.170.0080.00816.45
7.3.160.0100.00616.49
7.3.120.0080.00814.70
7.3.110.0070.01014.58
7.3.100.0030.01314.80
7.3.90.0130.00014.75
7.3.80.0000.01414.79
7.3.70.0030.00614.86
7.3.60.0060.01214.86
7.3.50.0030.01314.85
7.3.40.0060.00914.64
7.3.30.0090.00014.54
7.3.20.0060.00616.68
7.3.10.0070.01016.73
7.3.00.0000.01016.68
7.2.330.0030.01716.35
7.2.320.0090.00916.59
7.2.310.0120.01016.64
7.2.300.0210.00316.69
7.2.290.0060.01016.32
7.2.250.0030.01515.02
7.2.240.0070.01114.87
7.2.230.0000.01415.31
7.2.220.0040.01115.10
7.2.210.0030.00714.79
7.2.200.0120.00315.07
7.2.190.0000.01915.07
7.2.180.0060.00314.87
7.2.170.0070.00714.90
7.2.00.0070.00719.01
7.1.330.0070.01015.93
7.1.320.0040.00415.98
7.1.310.0070.00715.84
7.1.300.0060.01015.66
7.1.290.0000.01215.73
7.1.280.0060.01015.80
7.1.270.0040.01115.75
7.1.260.0030.00715.76
7.1.100.0120.00816.49
7.1.70.0030.01017.05
7.1.60.0130.01019.17
7.1.50.0100.01417.02
7.1.00.0030.03322.34
7.0.200.0100.00016.84
7.0.140.0030.07322.07
7.0.100.0070.07720.06
7.0.90.0130.08019.82
7.0.80.0070.07319.86
7.0.70.0130.08019.98
7.0.60.0130.07719.95
7.0.50.0170.07020.36
7.0.40.0100.08020.02
7.0.30.0130.07720.07
7.0.20.0170.08020.07
7.0.10.0130.07320.14
7.0.00.0030.09320.09
5.6.280.0070.07020.89
5.6.250.0130.05020.59
5.6.240.0030.08720.63
5.6.230.0070.08720.73
5.6.220.0100.07320.73
5.6.210.0070.08020.52
5.6.200.0030.06021.14
5.6.190.0100.05020.95
5.6.180.0270.06320.97
5.6.170.0100.08320.95
5.6.160.0130.08021.13
5.6.150.0100.06021.17
5.6.140.0030.08021.01
5.6.130.0030.08721.02
5.6.120.0070.08721.02
5.6.110.0130.06321.09
5.6.100.0030.09021.07
5.6.90.0100.08320.98
5.6.80.0070.08020.55
5.6.70.0100.07020.55
5.6.60.0000.08320.30
5.6.50.0130.07020.46
5.6.40.0170.06720.40
5.6.30.0030.08020.38
5.6.20.0000.05020.46
5.6.10.0070.04020.52
5.6.00.0070.03720.29
5.5.380.0170.07020.41
5.5.370.0030.06320.45
5.5.360.0070.07720.53
5.5.350.0100.04720.40
5.5.340.0100.07320.82
5.5.330.0030.08020.64
5.5.320.0030.08320.84
5.5.310.0100.07020.79
5.5.300.0100.07020.80
5.5.290.0100.07020.64
5.5.280.0130.07020.72
5.5.270.0200.07020.75
5.5.260.0070.08720.90
5.5.250.0070.08720.72
5.5.240.0070.05320.21
5.5.230.0070.07020.23
5.5.220.0070.07720.27
5.5.210.0070.08320.29
5.5.200.0070.07320.15
5.5.190.0130.04020.23
5.5.180.0100.06320.08
5.5.160.0100.03720.22
5.5.150.0000.04720.18
5.5.140.0000.04020.07
5.5.130.0030.04020.27
5.5.120.0100.03320.26
5.5.110.0130.06020.26
5.5.100.0070.03320.09
5.5.90.0100.02720.15
5.5.80.0070.05020.18
5.5.70.0030.06720.06
5.5.60.0070.03720.03
5.5.50.0070.04020.11
5.5.40.0130.05719.92
5.5.30.0070.05720.07
5.5.20.0000.05020.14
5.5.10.0070.06020.04
5.5.00.0030.04020.05
5.4.450.0100.07719.21
5.4.440.0130.07319.27
5.4.430.0070.08019.45
5.4.420.0170.04719.36
5.4.410.0070.08719.40
5.4.400.0100.07319.04
5.4.390.0100.07719.21
5.4.380.0030.08019.12
5.4.370.0070.07719.03
5.4.360.0170.07019.09
5.4.350.0130.05719.16
5.4.340.0000.05719.12
5.4.320.0030.04019.07
5.4.310.0030.03719.03
5.4.300.0070.03319.04
5.4.290.0100.03019.02
5.4.280.0070.03319.22
5.4.270.0070.03319.13
5.4.260.0070.06719.14
5.4.250.0070.03719.13
5.4.240.0100.05019.12
5.4.230.0030.03319.22
5.4.220.0000.04019.08
5.4.210.0030.03719.14
5.4.200.0100.02719.20
5.4.190.0100.06319.20
5.4.180.0030.05018.99
5.4.170.0000.04719.08
5.4.160.0100.02718.88
5.4.150.0070.03719.15
5.4.140.0100.04016.46
5.4.130.0030.03716.39
5.4.120.0000.03716.43
5.4.110.0000.04316.50
5.4.100.0030.04016.39
5.4.90.0000.05016.48
5.4.80.0070.03316.43
5.4.70.0070.04016.37
5.4.60.0100.02716.47
5.4.50.0000.04016.41
5.4.40.0000.03716.49
5.4.30.0000.04716.30
5.4.20.0030.03716.47
5.4.10.0000.04316.31
5.4.00.0070.03315.87
5.3.290.0100.06714.69
5.3.280.0070.03714.51
5.3.270.0030.03714.55
5.3.260.0030.05714.66
5.3.250.0000.04314.56
5.3.240.0030.03714.61
5.3.230.0030.03714.58
5.3.220.0070.03314.52
5.3.210.0070.03314.51
5.3.200.0030.03714.48
5.3.190.0030.03714.62
5.3.180.0070.03314.62
5.3.170.0070.03314.56
5.3.160.0030.03714.56
5.3.150.0000.04014.56
5.3.140.0030.03314.66
5.3.130.0000.04014.57
5.3.120.0000.04014.64
5.3.110.0030.03314.52
5.3.100.0000.04013.95
5.3.90.0000.04314.12
5.3.80.0100.02713.93
5.3.70.0070.06314.06
5.3.60.0030.03313.89
5.3.50.0000.03714.05
5.3.40.0000.04013.86
5.3.30.0070.03713.89
5.3.20.0000.03713.82
5.3.10.0000.07713.63
5.3.00.0030.05713.73
5.2.170.0000.03312.40
5.2.160.0000.03012.40
5.2.150.0000.03012.40
5.2.140.0000.03012.40
5.2.130.0070.06012.40
5.2.120.0000.05712.40
5.2.110.0030.05712.40
5.2.100.0070.06012.40
5.2.90.0030.06312.40
5.2.80.0100.03012.40
5.2.70.0000.04012.40
5.2.60.0000.04012.40
5.2.50.0070.05312.40
5.2.40.0170.02312.40
5.2.30.0000.06312.40
5.2.20.0100.05012.40
5.2.10.0100.05712.40
5.2.00.0000.05312.40
5.1.60.0100.05012.40
5.1.50.0030.05712.40
5.1.40.0070.05712.40
5.1.30.0070.05312.40
5.1.20.0030.03312.40
5.1.10.0000.03312.40
5.1.00.0030.05712.40
5.0.50.0030.04312.40
5.0.40.0000.04312.40
5.0.30.0030.06312.40
5.0.20.0030.04312.40
5.0.10.0030.04712.40
5.0.00.0070.05312.40
4.4.90.0000.03712.40
4.4.80.0030.03312.40
4.4.70.0030.03712.40
4.4.60.0030.03712.40
4.4.50.0030.03312.40
4.4.40.0030.05312.40
4.4.30.0070.03712.40
4.4.20.0070.02712.40
4.4.10.0030.03312.40
4.4.00.0030.05012.40
4.3.110.0030.03712.40
4.3.100.0000.03312.40
4.3.90.0000.02712.40
4.3.80.0030.05012.40
4.3.70.0000.03312.40
4.3.60.0030.03712.40
4.3.50.0000.03712.40
4.3.40.0030.05012.40
4.3.30.0000.03712.40
4.3.20.0000.03712.40
4.3.10.0030.03312.40
4.3.00.0000.02712.40

preferences:
51.95 ms | 400 KiB | 5 Q