3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reason = array(); 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.60.0040.01116.75
8.3.50.0160.01623.00
8.3.40.0070.01018.76
8.3.30.0110.00319.09
8.3.20.0050.00220.28
8.3.10.0000.00823.48
8.3.00.0060.00317.50
8.2.180.0110.00716.38
8.2.170.0140.00022.96
8.2.160.0060.00820.35
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0040.00426.16
8.2.120.0000.00820.89
8.2.110.0060.00319.24
8.2.100.0040.00717.91
8.2.90.0000.00818.03
8.2.80.0040.00419.03
8.2.70.0000.00817.63
8.2.60.0070.00017.91
8.2.50.0070.00318.07
8.2.40.0060.00319.88
8.2.30.0040.00418.04
8.2.20.0000.00717.79
8.2.10.0000.00817.87
8.2.00.0070.00017.56
8.1.280.0110.00425.92
8.1.270.0000.00823.82
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.01122.18
8.1.230.0040.00720.97
8.1.220.0050.00317.74
8.1.210.0030.00618.84
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0090.00318.55
8.1.160.0000.00722.00
8.1.150.0040.00418.94
8.1.140.0000.00717.50
8.1.130.0030.00317.82
8.1.120.0040.00417.55
8.1.110.0040.00417.46
8.1.100.0000.00717.34
8.1.90.0000.00717.38
8.1.80.0000.00717.44
8.1.70.0000.00717.41
8.1.60.0040.00417.57
8.1.50.0090.00017.45
8.1.40.0040.00417.41
8.1.30.0030.00617.49
8.1.20.0040.00417.48
8.1.10.0080.00017.52
8.1.00.0070.00017.45
8.0.300.0040.00419.87
8.0.290.0060.00316.75
8.0.280.0070.00018.44
8.0.270.0000.00716.88
8.0.260.0060.00017.13
8.0.250.0070.00016.94
8.0.240.0030.00316.81
8.0.230.0040.00416.90
8.0.220.0080.00016.78
8.0.210.0030.00316.86
8.0.200.0080.00016.81
8.0.190.0070.00016.86
8.0.180.0000.00716.79
8.0.170.0070.00016.89
8.0.160.0040.00416.98
8.0.150.0080.00016.80
8.0.140.0040.00416.84
8.0.130.0030.00313.33
8.0.120.0070.00016.75
8.0.110.0000.00816.89
8.0.100.0070.00016.82
8.0.90.0040.00417.00
8.0.80.0130.00716.84
8.0.70.0030.00516.75
8.0.60.0040.00416.85
8.0.50.0040.00416.95
8.0.30.0120.00917.02
8.0.20.0170.00317.40
8.0.10.0040.00416.89
8.0.00.0090.00916.76
7.4.330.0000.00515.00
7.4.320.0000.00716.52
7.4.300.0060.00016.51
7.4.290.0040.00416.52
7.4.280.0000.00816.55
7.4.270.0000.00716.47
7.4.260.0030.00616.48
7.4.250.0040.00416.61
7.4.240.0050.00216.52
7.4.230.0030.00316.41
7.4.220.0070.01016.55
7.4.210.0060.00916.68
7.4.200.0030.00516.67
7.4.160.0100.00716.36
7.4.150.0090.01617.40
7.4.140.0090.00917.86
7.4.130.0060.01116.47
7.4.120.0090.00816.48
7.4.110.0070.01016.50
7.4.100.0140.00916.49
7.4.90.0120.00616.54
7.4.80.0050.01219.39
7.4.70.0060.01616.46
7.4.60.0110.00716.50
7.4.50.0040.00416.34
7.4.40.0060.00916.41
7.4.30.0090.00616.41
7.4.00.0120.00314.92
7.3.330.0020.00213.07
7.3.320.0030.00312.93
7.3.310.0070.00016.28
7.3.300.0050.00216.19
7.3.290.0130.00316.19
7.3.280.0050.01016.19
7.3.270.0190.00517.40
7.3.260.0100.00716.36
7.3.250.0140.00916.34
7.3.240.0140.00316.36
7.3.230.0110.00616.39
7.3.210.0150.00616.30
7.3.200.0100.00619.39
7.3.190.0100.00716.50
7.3.180.0130.00316.29
7.3.170.0060.01016.30
7.3.160.0100.01116.27
7.2.330.0200.00316.68
7.2.320.0000.01716.36
7.2.310.0080.00816.58
7.2.300.0030.01916.38
7.2.290.0090.00716.61
7.2.00.0030.01319.09
7.1.200.0000.01215.59
7.1.100.0270.00816.86
7.1.70.0080.00317.10
7.1.60.0090.01519.40
7.1.50.0040.00716.80
7.1.00.0100.07022.58
7.0.200.0000.01016.70
7.0.140.0070.07022.06
7.0.60.0030.08719.83
7.0.50.0100.06017.80
7.0.40.0070.08719.98
7.0.30.0570.06020.17
7.0.20.0430.07020.18
7.0.10.0000.06020.21
7.0.00.0200.07720.22
5.6.280.0030.07321.14
5.6.210.0070.08720.64
5.6.200.0000.08718.09
5.6.190.0070.08320.57
5.6.180.0200.07720.46
5.6.170.0300.06320.49
5.6.160.0170.07020.49
5.6.150.0130.04018.11
5.6.140.0130.07018.17
5.6.130.0030.08018.18
5.6.120.0030.06720.96
5.6.110.0030.07720.96
5.6.100.0130.03021.03
5.6.90.0070.04020.96
5.6.80.0130.07320.53
5.5.350.4300.04320.42
5.5.340.0100.07717.96
5.5.330.0230.07020.56
5.5.320.0300.06020.32
5.5.310.0200.03720.28
5.5.300.0030.05717.99
5.5.290.0070.08317.94
5.5.280.0070.08720.96
5.5.270.0000.04720.75
5.5.260.0030.04720.88
5.5.250.0000.04720.79
5.5.240.0270.07020.27
5.4.450.1030.05319.25
5.4.440.0670.06319.41
5.4.430.1530.04019.47
5.4.420.0830.03719.40
5.4.410.1200.03019.44
5.4.400.0800.05019.14
5.4.390.1400.04718.92
5.4.380.0400.05718.68
5.4.370.0500.07718.74
5.4.360.0330.07018.74
5.4.350.0300.07718.46
5.4.340.0530.07318.66
5.4.320.0060.03612.45
5.4.310.0060.03812.45
5.4.300.0050.03712.45
5.4.290.0060.03712.45
5.4.280.0030.03912.34
5.4.270.0030.03912.34
5.4.260.0080.03512.34
5.4.250.0030.04712.34
5.4.240.0070.03912.35
5.4.230.0050.03812.34
5.4.220.0060.03512.34
5.4.210.0080.03512.34
5.4.200.0070.03712.34
5.4.190.0040.04412.33
5.4.180.0050.03712.34
5.4.170.0060.03612.34
5.4.160.0080.03512.34
5.4.150.0050.03712.34
5.4.140.0060.03712.02
5.4.130.0040.03812.01
5.4.120.0080.03311.97
5.4.110.0070.03611.96
5.4.100.0040.03711.96
5.4.90.0030.04011.96
5.4.80.0080.04511.96
5.4.70.0070.03411.96
5.4.60.0070.03811.96
5.4.50.0090.03311.96
5.4.40.0060.04211.95
5.4.30.0060.03511.95
5.4.20.0080.03211.95
5.4.10.0090.03611.95
5.4.00.0030.04011.44
5.3.290.0080.03912.80
5.3.280.0100.03912.71
5.3.270.0090.04112.72
5.3.260.0050.04012.72
5.3.250.0060.03812.72
5.3.240.0080.03512.72
5.3.230.0080.03912.71
5.3.220.0050.03912.68
5.3.210.0070.03912.68
5.3.200.0070.03612.68
5.3.190.0060.03812.68
5.3.180.0070.03912.67
5.3.170.0070.04312.67
5.3.160.0120.03512.67
5.3.150.0060.04212.67
5.3.140.0080.03412.66
5.3.130.0060.04012.66
5.3.120.0070.03912.66
5.3.110.0080.03812.66
5.3.100.0070.03912.12
5.3.90.0070.03812.08
5.3.80.0060.03612.08
5.3.70.0030.04212.08
5.3.60.0070.03912.06
5.3.50.0070.03512.00
5.3.40.0100.03212.00
5.3.30.0030.03711.94
5.3.20.0060.03911.72
5.3.10.0050.03911.69
5.3.00.0080.03511.68
5.2.170.0070.0289.18
5.2.160.0030.0309.18
5.2.150.0030.0329.18
5.2.140.0050.0319.18
5.2.130.0080.0319.14
5.2.120.0030.0329.13
5.2.110.0090.0309.14
5.2.100.0060.0309.14
5.2.90.0060.0409.13
5.2.80.0060.0319.13
5.2.70.0040.0349.13
5.2.60.0050.0299.09
5.2.50.0060.0299.05
5.2.40.0090.0379.03
5.2.30.0070.0389.01
5.2.20.0060.0389.00
5.2.10.0070.0378.93
5.2.00.0080.0338.78
5.1.60.0030.0268.06
5.1.50.0040.0268.05
5.1.40.0050.0258.04
5.1.30.0080.0288.39
5.1.20.0050.0288.41
5.1.10.0060.0268.13
5.1.00.0050.0268.14
5.0.50.0020.0226.62
5.0.40.0020.0216.47
5.0.30.0040.0316.29
5.0.20.0030.0206.26
5.0.10.0030.0206.23
5.0.00.0060.0286.23
4.4.90.0030.0154.78
4.4.80.0010.0214.76
4.4.70.0020.0174.75
4.4.60.0010.0174.75
4.4.50.0030.0194.77
4.4.40.0010.0264.71
4.4.30.0010.0174.76
4.4.20.0060.0124.84
4.4.10.0040.0144.85
4.4.00.0020.0264.76
4.3.110.0030.0164.66
4.3.100.0020.0164.67
4.3.90.0030.0194.63
4.3.80.0040.0234.58
4.3.70.0040.0134.63
4.3.60.0020.0164.63
4.3.50.0040.0174.63
4.3.40.0000.0274.54
4.3.30.0020.0173.29
4.3.20.0010.0173.27
4.3.10.0030.0153.23
4.3.00.0270.01715.85

preferences:
42.47 ms | 401 KiB | 5 Q