3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reason = 735; if(!in_array($reason, array("unspecified", "keyCompromise", "affiliationChanged", "superseded", "cessationOfOperation"))){ print "hiba"; } else { print "átmegy"; }

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.40.0040.01118.63
8.3.30.0100.00718.92
8.3.20.0000.00720.39
8.3.10.0070.00023.48
8.3.00.0080.00017.38
8.2.170.0100.01022.96
8.2.160.0070.00720.47
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0020.00521.08
8.2.110.0090.00022.25
8.2.100.0120.00017.84
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0040.00417.76
8.2.50.0060.00318.07
8.2.40.0050.00319.77
8.2.30.0000.00717.92
8.2.20.0040.00417.74
8.2.10.0050.00318.07
8.2.00.0040.00417.66
8.1.270.0040.00423.81
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00323.84
8.1.230.0000.01119.10
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0000.00818.10
8.1.170.0030.00718.56
8.1.160.0030.00321.95
8.1.150.0040.00418.95
8.1.140.0040.00417.45
8.1.130.0030.00317.76
8.1.120.0000.00717.50
8.1.110.0030.00517.49
8.1.100.0040.00417.45
8.1.90.0000.00717.48
8.1.80.0030.00317.53
8.1.70.0000.00717.43
8.1.60.0060.00317.63
8.1.50.0060.00317.50
8.1.40.0040.00417.47
8.1.30.0080.00017.62
8.1.20.0040.00417.54
8.1.10.0000.00717.39
8.1.00.0040.00417.32
8.0.300.0000.00818.77
8.0.290.0000.00716.63
8.0.280.0080.00018.45
8.0.270.0030.00317.22
8.0.260.0060.00017.21
8.0.250.0000.00716.84
8.0.240.0000.00816.83
8.0.230.0030.00316.93
8.0.220.0040.00416.86
8.0.210.0000.00716.95
8.0.200.0000.00616.93
8.0.190.0030.00316.79
8.0.180.0000.00716.94
8.0.170.0040.00416.91
8.0.160.0030.00316.88
8.0.150.0050.00216.79
8.0.140.0050.00216.85
8.0.130.0000.00513.34
8.0.120.0040.00416.87
8.0.110.0000.00716.71
8.0.100.0020.00516.89
8.0.90.0000.00716.71
8.0.80.0120.00316.86
8.0.70.0040.00416.69
8.0.60.0040.00416.74
8.0.50.0050.00216.95
8.0.30.0160.00716.84
8.0.20.0150.01217.40
8.0.10.0080.00016.89
8.0.00.0120.00816.73
7.4.330.0000.00515.12
7.4.320.0060.00016.55
7.4.300.0030.00316.42
7.4.290.0030.00316.41
7.4.280.0080.00016.62
7.4.270.0030.00316.52
7.4.260.0030.00316.43
7.4.250.0000.00716.54
7.4.240.0020.00516.63
7.4.230.0000.00716.25
7.4.220.0100.00716.56
7.4.210.0150.00316.59
7.4.200.0030.00316.35
7.4.160.0110.00716.49
7.4.150.0060.01217.40
7.4.140.0080.01017.86
7.4.130.0110.00516.54
7.4.120.0130.00416.39
7.4.110.0160.00016.47
7.4.100.0100.01316.32
7.4.90.0100.01016.53
7.4.80.0090.00919.39
7.4.70.0070.01316.56
7.4.60.0060.01016.44
7.4.50.0040.00416.18
7.4.40.0150.00016.33
7.4.30.0160.00016.43
7.4.00.0110.00714.99
7.3.330.0050.00013.04
7.3.320.0050.00013.14
7.3.310.0050.00216.27
7.3.300.0070.00016.21
7.3.290.0030.01016.22
7.3.280.0090.00916.22
7.3.270.0120.00617.40
7.3.260.0030.01416.49
7.3.250.0100.00916.33
7.3.240.0100.00616.30
7.3.230.0160.02216.45
7.3.210.0130.00416.43
7.3.200.0030.01319.39
7.3.190.0140.00316.42
7.3.180.0050.01016.49
7.3.170.0070.01016.42
7.3.160.0100.01016.35
7.2.330.0060.01116.61
7.2.320.0090.00916.36
7.2.310.0090.00616.57
7.2.300.0060.00916.75
7.2.290.0060.01316.57
7.2.00.0100.01019.02
7.1.100.0200.01017.45
7.1.70.0000.00817.21
7.1.60.0090.01519.40
7.1.50.0120.00316.92
7.1.00.0070.07322.32
7.0.200.0370.00614.70
7.0.140.0070.07022.11
7.0.60.0100.05719.83
7.0.50.0030.04717.89
7.0.40.0070.04020.09
7.0.30.0330.04720.17
7.0.20.0430.06720.33
7.0.10.0000.06720.33
7.0.00.0170.08020.13
5.6.280.0030.06720.99
5.6.210.0100.04320.47
5.6.200.0100.06018.21
5.6.190.0030.04320.39
5.6.180.0330.04720.41
5.6.170.0130.04720.47
5.6.160.0200.07020.48
5.6.150.0030.06318.13
5.6.140.0070.04018.18
5.6.130.0030.08318.21
5.6.120.0170.06020.88
5.6.110.0070.07720.94
5.6.100.0100.04020.98
5.6.90.0100.08720.87
5.6.80.0130.07720.43
5.5.350.0000.08020.43
5.5.340.0030.06017.96
5.5.330.0070.04020.23
5.5.320.4070.05320.34
5.5.310.0370.04020.51
5.5.300.0030.08317.92
5.5.290.0130.07717.88
5.5.280.0170.05320.87
5.5.270.0000.07720.65
5.5.260.0270.06320.88
5.5.250.0070.09020.78
5.5.240.0030.08320.16
5.4.450.1070.05319.39
5.4.440.1400.04019.41
5.4.430.1430.04719.20
5.4.420.0070.05719.31
5.4.410.0100.05018.97
5.4.400.0400.05018.74
5.4.390.0400.06718.55
5.4.380.0170.05018.72
5.4.370.0030.04718.45
5.4.360.0170.04318.54
5.4.350.0080.04711.97
5.4.340.0060.04111.96
5.4.320.0060.04612.45
5.4.310.0100.03312.45
5.4.300.0050.03912.45
5.4.290.0090.04212.45
5.4.280.0050.03712.35
5.4.270.0050.04112.35
5.4.260.0090.03912.35
5.4.250.0080.03812.35
5.4.240.0110.04412.34
5.4.230.0050.03812.34
5.4.220.0060.03612.34
5.4.210.0070.03912.34
5.4.200.0030.04012.34
5.4.190.0050.03612.33
5.4.180.0040.04112.33
5.4.170.0060.03512.34
5.4.160.0090.03912.34
5.4.150.0060.04112.34
5.4.140.0060.03612.02
5.4.130.0040.03612.01
5.4.120.0040.03911.97
5.4.110.0070.03711.96
5.4.100.0040.03511.96
5.4.90.0020.04711.96
5.4.80.0070.04011.96
5.4.70.0060.03711.96
5.4.60.0050.03411.96
5.4.50.0060.03611.96
5.4.40.0050.03611.95
5.4.30.0090.03711.95
5.4.20.0070.03711.95
5.4.10.0080.03211.95
5.4.00.0090.03211.44
5.3.290.0080.03712.80
5.3.280.0060.04112.71
5.3.270.0050.04012.72
5.3.260.0030.04212.72
5.3.250.0060.04012.72
5.3.240.0090.03412.72
5.3.230.0040.04012.71
5.3.220.0080.03512.68
5.3.210.0050.03812.68
5.3.200.0070.04212.68
5.3.190.0110.03812.68
5.3.180.0060.03912.67
5.3.170.0060.03812.67
5.3.160.0060.04712.67
5.3.150.0130.03512.68
5.3.140.0050.03812.66
5.3.130.0090.04012.66
5.3.120.0080.03612.66
5.3.110.0080.03912.66
5.3.100.0060.04012.12
5.3.90.0070.05112.08
5.3.80.0120.04212.07
5.3.70.0050.05112.08
5.3.60.0070.03312.06
5.3.50.0080.03312.00
5.3.40.0080.04012.00
5.3.30.0060.03811.95
5.3.20.0060.04111.72
5.3.10.0070.03411.69
5.3.00.0060.04011.68
5.2.170.0020.0329.18
5.2.160.0050.0369.18
5.2.150.0030.0339.18
5.2.140.0030.0329.18
5.2.130.0040.0359.13
5.2.120.0040.0289.14
5.2.110.0090.0299.14
5.2.100.0070.0349.14
5.2.90.0070.0299.14
5.2.80.0040.0389.14
5.2.70.0030.0319.14
5.2.60.0050.0299.08
5.2.50.0060.0329.05
5.2.40.0090.0349.02
5.2.30.0020.0339.01
5.2.20.0050.0289.00
5.2.10.0030.0298.92
5.2.00.0030.0308.77
5.1.60.0050.0248.06
5.1.50.0050.0338.05
5.1.40.0060.0308.04
5.1.30.0030.0328.39
5.1.20.0030.0318.41
5.1.10.0070.0238.13
5.1.00.0020.0278.14
5.0.50.0070.0266.61
5.0.40.0050.0266.47
5.0.30.0040.0306.29
5.0.20.0030.0206.26
5.0.10.0050.0186.23
5.0.00.0040.0296.23
4.4.90.0030.0154.78
4.4.80.0020.0154.76
4.4.70.0000.0184.76
4.4.60.0020.0164.75
4.4.50.0010.0174.77
4.4.40.0040.0244.71
4.4.30.0020.0174.76
4.4.20.0030.0184.84
4.4.10.0030.0154.85
4.4.00.0050.0224.76
4.3.110.0030.0214.67
4.3.100.0020.0194.66
4.3.90.0030.0184.64
4.3.80.0020.0264.58
4.3.70.0030.0134.63
4.3.60.0060.0144.63
4.3.50.0020.0164.63
4.3.40.0040.0294.54
4.3.30.0030.0193.29
4.3.20.0010.0163.26
4.3.10.0010.0243.23
4.3.00.0270.01715.85

preferences:
57.27 ms | 400 KiB | 5 Q