3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reason = array("reason" => "unspecified"); if(!in_array($reason, array("unspecified", "keyCompromise", "affiliationChanged", "superseded", "cessationOfOperation"), true)){ 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.0110.00316.63
8.3.50.0130.00322.84
8.3.40.0090.00918.48
8.3.30.0120.00619.09
8.3.20.0000.00719.97
8.3.10.0080.00023.52
8.3.00.0090.00017.50
8.2.180.0150.00016.38
8.2.170.0090.00622.96
8.2.160.0070.00720.19
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0040.00420.85
8.2.110.0060.00322.31
8.2.100.0000.01117.91
8.2.90.0000.00919.17
8.2.80.0030.00617.97
8.2.70.0000.00917.63
8.2.60.0050.00317.91
8.2.50.0040.00418.07
8.2.40.0000.00920.07
8.2.30.0000.00817.95
8.2.20.0070.00017.59
8.2.10.0040.00417.98
8.2.00.0000.00717.58
8.1.280.0070.01125.92
8.1.270.0040.00423.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.77
8.1.230.0080.00419.07
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00717.35
8.1.190.0040.00417.11
8.1.180.0030.00518.10
8.1.170.0060.00618.50
8.1.160.0050.00322.07
8.1.150.0050.00318.76
8.1.140.0000.00817.41
8.1.130.0030.00317.73
8.1.120.0070.00017.36
8.1.110.0000.00817.42
8.1.100.0070.00017.43
8.1.90.0050.00217.45
8.1.80.0000.00717.45
8.1.70.0030.00317.31
8.1.60.0000.00817.49
8.1.50.0000.00817.42
8.1.40.0030.00717.58
8.1.30.0090.00017.70
8.1.20.0040.00417.52
8.1.10.0040.00417.53
8.1.00.0000.00717.41
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00718.40
8.0.270.0040.00417.18
8.0.260.0030.00317.19
8.0.250.0030.00316.83
8.0.240.0040.00416.97
8.0.230.0000.00716.93
8.0.220.0060.00016.77
8.0.210.0070.00016.95
8.0.200.0030.00316.88
8.0.190.0040.00416.98
8.0.180.0030.00316.92
8.0.170.0050.00316.92
8.0.160.0040.00416.84
8.0.150.0050.00216.78
8.0.140.0000.00816.82
8.0.130.0040.00413.33
8.0.120.0000.00816.80
8.0.110.0040.00416.85
8.0.100.0070.00016.89
8.0.90.0040.00416.84
8.0.80.0090.01216.90
8.0.70.0000.00716.76
8.0.60.0030.00516.86
8.0.50.0000.00716.91
8.0.30.0090.01017.06
8.0.20.0120.00917.40
8.0.10.0000.00816.88
8.0.00.0080.01016.79
7.4.330.0000.00515.05
7.4.320.0040.00416.64
7.4.300.0040.00416.50
7.4.290.0000.00616.61
7.4.280.0030.00316.44
7.4.270.0000.00716.51
7.4.260.0000.01016.50
7.4.250.0030.00316.57
7.4.240.0070.00016.60
7.4.230.0040.00416.45
7.4.220.0100.00716.63
7.4.210.0000.01416.60
7.4.200.0030.00316.31
7.4.160.0110.00716.30
7.4.150.0090.01217.40
7.4.140.0080.01017.86
7.4.130.0110.00616.50
7.4.120.0060.01016.47
7.4.110.0120.00616.66
7.4.100.0140.00416.34
7.4.90.0070.01116.58
7.4.80.0110.01119.39
7.4.70.0170.00616.47
7.4.60.0070.01016.66
7.4.50.0040.00316.64
7.4.40.0080.00816.37
7.4.30.0060.00916.48
7.4.00.0100.00714.91
7.3.330.0020.00213.08
7.3.320.0000.00613.00
7.3.310.0000.00716.16
7.3.300.0040.00416.23
7.3.290.0030.01016.24
7.3.280.0080.00716.17
7.3.270.0110.01117.40
7.3.260.0090.00916.22
7.3.250.0120.01316.41
7.3.240.0100.00716.29
7.3.230.0100.00616.39
7.3.210.0090.00916.21
7.3.200.0100.00619.39
7.3.190.0060.01616.27
7.3.180.0160.00016.18
7.3.170.0040.01716.27
7.3.160.0190.00016.29
7.3.10.0100.00316.71
7.3.00.0030.00916.50
7.2.330.0090.00916.47
7.2.320.0140.00316.66
7.2.310.0030.01316.39
7.2.300.0100.00716.32
7.2.290.0040.01616.73
7.2.130.0030.01217.07
7.2.120.0060.00916.86
7.2.110.0070.01016.79
7.2.100.0030.01317.00
7.2.90.0030.00716.60
7.2.80.0100.00316.71
7.2.70.0060.00916.88
7.2.60.0070.00616.91
7.2.50.0020.01416.65
7.2.40.0040.01116.80
7.2.30.0060.00616.94
7.2.20.0030.01016.88
7.2.10.0110.00417.04
7.2.00.0080.00518.08
7.1.250.0030.00915.56
7.1.240.0030.00715.56
7.1.230.0070.00715.79
7.1.220.0040.01115.81
7.1.210.0000.00915.53
7.1.200.0030.01015.80
7.1.190.0060.00615.57
7.1.180.0000.00815.65
7.1.170.0030.00915.72
7.1.160.0070.00315.71
7.1.150.0030.00515.63
7.1.140.0000.01215.72
7.1.130.0000.00915.56
7.1.120.0100.00315.55
7.1.110.0040.00815.91
7.1.100.0140.00916.44
7.1.90.0030.01015.69
7.1.80.0070.00715.51
7.1.70.0050.00816.36
7.1.60.0120.00717.42
7.1.50.0070.00716.22
7.1.40.0120.00315.77
7.1.30.0030.01015.62
7.1.20.0070.00715.67
7.1.10.0000.01015.32
7.1.00.0030.04219.06
7.0.330.0090.00015.50
7.0.320.0080.00415.29
7.0.310.0050.00215.13
7.0.300.0000.01015.10
7.0.290.0050.00515.35
7.0.280.0000.01515.42
7.0.270.0000.01315.20
7.0.260.0030.00315.51
7.0.250.0080.00415.43
7.0.240.0030.00615.38
7.0.230.0080.00415.55
7.0.220.0070.00715.42
7.0.210.0030.01015.10
7.0.200.1400.00614.92
7.0.190.0060.00315.17
7.0.180.0030.00615.38
7.0.170.0090.00615.30
7.0.160.0000.00715.50
7.0.150.0030.00314.97
7.0.140.0030.03918.76
7.0.130.0070.00415.07
7.0.120.0070.00015.33
7.0.110.0000.00915.34
7.0.100.0030.00315.18
7.0.90.0030.01015.31
7.0.80.0090.00315.45
7.0.70.0000.01015.20
7.0.60.0070.04017.67
7.0.50.0020.03516.57
7.0.40.0050.02216.75
7.0.30.0080.03316.56
7.0.20.0150.04016.70
7.0.10.0020.03016.75
7.0.00.0050.03016.78
5.6.380.0030.01014.29
5.6.370.0000.01414.34
5.6.360.0000.00714.34
5.6.350.0110.00414.05
5.6.340.0000.00714.66
5.6.330.0040.00814.58
5.6.320.0080.00414.48
5.6.310.0000.00814.54
5.6.300.0030.00714.72
5.6.290.0050.00514.26
5.6.280.0060.03617.65
5.6.270.0040.01214.16
5.6.260.0070.00713.93
5.6.250.0030.01014.21
5.6.240.0000.01614.39
5.6.230.0000.01014.16
5.6.220.0110.00314.21
5.6.210.0080.02217.52
5.6.200.0020.02716.31
5.6.190.0080.03617.41
5.6.180.0180.02117.35
5.6.170.0080.03017.30
5.6.160.0100.02017.31
5.6.150.0050.03416.13
5.6.140.0120.03516.15
5.6.130.0090.03816.23
5.6.120.0050.03517.72
5.6.110.0070.04617.63
5.6.100.0080.02317.52
5.6.90.0050.03217.45
5.6.80.0090.04117.31
5.6.70.0000.00913.95
5.6.60.0040.00414.18
5.6.50.0000.01414.13
5.6.40.0070.00714.05
5.6.30.0030.00614.22
5.6.20.0000.01414.12
5.6.10.0060.00614.24
5.6.00.0060.00614.16
5.5.380.0040.00710.91
5.5.370.0040.00410.80
5.5.360.0050.00010.81
5.5.350.0180.04015.73
5.5.340.0020.02414.32
5.5.330.0030.02515.79
5.5.320.0150.04015.61
5.5.310.0200.04015.64
5.5.300.0070.02014.51
5.5.290.0100.03914.53
5.5.280.0050.02316.04
5.5.270.0050.04515.75
5.5.260.0050.04315.95
5.5.250.0020.02515.90
5.5.240.0000.03815.43
5.5.230.0040.00811.16
5.5.220.0060.00611.10
5.5.210.0000.01110.90
5.5.200.0080.00410.59
5.5.190.0000.01211.13
5.5.180.0060.00611.04
5.5.170.0060.00610.89
5.5.160.0030.00711.05
5.5.150.0040.00811.12
5.5.140.0030.00611.09
5.5.130.0060.00011.16
5.5.120.0000.00610.88
5.5.110.0060.00610.93
5.5.100.0000.01011.17
5.5.90.0000.00810.86
5.5.80.0030.00910.66
5.5.70.0080.00410.90
5.5.60.0070.00410.98
5.5.50.0000.00610.68
5.5.40.0080.00310.78
5.5.30.0080.00410.72
5.5.20.0060.00610.60
5.5.10.0070.00310.84
5.5.00.0030.01011.12
5.4.450.0390.03215.37
5.4.440.0100.03115.11
5.4.430.0050.03615.26
5.4.420.0180.03315.26
5.4.410.0110.02314.96
5.4.400.2050.03814.85
5.4.390.0200.02714.70
5.4.380.0100.03014.75
5.4.370.0100.02814.88
5.4.360.0080.02614.74
5.4.350.0080.02011.54
5.4.340.0060.02011.54
5.4.330.0060.00610.60
5.4.320.0060.01911.65
5.4.310.0020.02611.70
5.4.300.0010.02611.58
5.4.290.0050.02211.75
5.4.280.0040.02311.62
5.4.270.0050.02111.57
5.4.260.0040.02111.69
5.4.250.0060.02111.57
5.4.240.0080.01711.52
5.4.230.0060.02311.51
5.4.220.0050.02111.65
5.4.210.0060.02311.54
5.4.200.0060.02311.57
5.4.190.0020.02211.54
5.4.180.0040.02211.64
5.4.170.0060.02311.72
5.4.160.0060.02211.46
5.4.150.0040.02011.44
5.4.140.0050.02211.33
5.4.130.0040.02311.40
5.4.120.0060.02011.43
5.4.110.0050.02211.47
5.4.100.0040.02211.35
5.4.90.0060.02111.27
5.4.80.0050.02111.36
5.4.70.0060.02011.38
5.4.60.0040.02111.40
5.4.50.0050.01911.44
5.4.40.0030.02311.43
5.4.30.0030.02411.43
5.4.20.0080.01911.39
5.4.10.0020.02311.50
5.4.00.0020.02311.20
5.3.290.0060.02311.61
5.3.280.0050.02211.57
5.3.270.0050.02311.49
5.3.260.0050.02311.66
5.3.250.0070.02211.62
5.3.240.0040.02011.53
5.3.230.0090.01911.54
5.3.220.0050.02311.44
5.3.210.0020.02411.50
5.3.200.0050.02011.52
5.3.190.0040.02411.55
5.3.180.0040.02111.51
5.3.170.0060.02211.51
5.3.160.0020.02511.49
5.3.150.0050.02011.53
5.3.140.0040.02211.58
5.3.130.0080.02211.54
5.3.120.0060.02111.54
5.3.110.0030.02311.50
5.3.100.0020.02411.26
5.3.90.0040.02411.19
5.3.80.0030.02111.21
5.3.70.0080.01911.21
5.3.60.0050.02111.23
5.3.50.0040.02011.11
5.3.40.0040.02211.19
5.3.30.0060.02011.23
5.3.20.0040.01911.02
5.3.10.0050.01910.97
5.3.00.0030.02010.81
5.2.170.0050.0179.37
5.2.160.0050.0189.37
5.2.150.0030.0209.37
5.2.140.0050.0189.29
5.2.130.0030.0189.13
5.2.120.0040.0159.16
5.2.110.0020.0189.20
5.2.100.0050.0169.30
5.2.90.0020.0209.20
5.2.80.0030.0179.16
5.2.70.0020.0219.23
5.2.60.0040.0219.25
5.2.50.0020.0199.06
5.2.40.0050.0189.21
5.2.30.0050.0199.15
5.2.20.0050.0168.96
5.2.10.0020.0199.05
5.2.00.0030.0178.93
5.1.60.0030.0168.25
5.1.50.0030.0178.27
5.1.40.0040.0168.35
5.1.30.0060.0138.52
5.1.20.0060.0168.49
5.1.10.0030.0158.31
5.1.00.0050.0168.31
5.0.50.0050.0107.49
5.0.40.0020.0167.42
5.0.30.0040.0187.33
5.0.20.0020.0147.31
5.0.10.0030.0147.30
5.0.00.0060.0187.30
4.4.90.0020.0116.57
4.4.80.0040.0096.56
4.4.70.0010.0126.56
4.4.60.0010.0106.56
4.4.50.0010.0136.57
4.4.40.0030.0136.54
4.4.30.0020.0096.56
4.4.20.0010.0106.60
4.4.10.0030.0086.61
4.4.00.0020.0146.56
4.3.110.0040.0076.52
4.3.100.0040.0076.51
4.3.90.0030.0096.50
4.3.80.0020.0156.47
4.3.70.0020.0106.50
4.3.60.0030.0096.50
4.3.50.0030.0106.50
4.3.40.0010.0156.45
4.3.30.0020.0115.82
4.3.20.0020.0125.81
4.3.10.0000.0125.79
4.3.00.0080.0127.74

preferences:
56.58 ms | 401 KiB | 5 Q