3v4l.org

run code in 300+ PHP versions simultaneously
<?php $set=12853; $standard_sets=''; $standard_sets[] = 1000065; // Born of the Gods $standard_sets[] = 1283; // Theros $standard_sets[] = 1223; // Magic 2014 $standard_sets[] = 1146; // Dragons Maze $standard_sets[] = 966; // Return to ravnica $standard_sets[] = 975; // Gatecrash echo in_array(strtolower($set),$standard_sets);

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.01118.37
8.3.50.0090.01021.93
8.3.40.0100.00718.74
8.3.30.0140.00019.24
8.3.20.0000.00720.16
8.3.10.0080.00022.09
8.3.00.0000.00722.52
8.2.180.0070.01416.75
8.2.170.0060.00922.96
8.2.160.0030.01020.77
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0090.00019.36
8.2.110.0090.00022.23
8.2.100.0040.00819.63
8.2.90.0000.00719.27
8.2.80.0060.00317.97
8.2.70.0040.00417.50
8.2.60.0050.00517.93
8.2.50.0040.00418.07
8.2.40.0000.00718.16
8.2.30.0040.00417.95
8.2.20.0040.00417.63
8.2.10.0040.00417.81
8.2.00.0000.00817.63
8.1.280.0150.00025.92
8.1.270.0040.00422.20
8.1.260.0090.00026.35
8.1.250.0000.00728.09
8.1.240.0090.00023.98
8.1.230.0110.00019.09
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0080.00517.23
8.1.190.0060.00317.41
8.1.180.0070.00018.57
8.1.170.0060.00318.61
8.1.160.0040.00421.87
8.1.150.0030.00618.52
8.1.140.0040.00417.39
8.1.130.0030.00317.84
8.1.120.0040.00417.47
8.1.110.0050.00317.40
8.1.100.0030.00317.40
8.1.90.0000.00817.37
8.1.80.0040.00417.31
8.1.70.0030.00317.40
8.1.60.0050.00317.55
8.1.50.0050.00217.52
8.1.40.0040.00417.56
8.1.30.0040.00417.47
8.1.20.0000.00817.69
8.1.10.0050.00217.50
8.1.00.0040.00417.45
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0000.00818.38
8.0.270.0070.00017.20
8.0.260.0000.00816.83
8.0.250.0030.00316.91
8.0.240.0040.00416.95
8.0.230.0060.00316.82
8.0.220.0030.00316.93
8.0.210.0030.00316.96
8.0.200.0030.00316.94
8.0.190.0000.00716.96
8.0.180.0000.00716.93
8.0.170.0040.00416.93
8.0.160.0000.00716.79
8.0.150.0030.00516.79
8.0.140.0040.00416.78
8.0.130.0000.00613.34
8.0.120.0000.01016.87
8.0.110.0000.00716.73
8.0.100.0000.00816.80
8.0.90.0040.00416.86
8.0.80.0090.00616.94
8.0.70.0040.00416.96
8.0.60.0000.00817.02
8.0.50.0030.00516.89
8.0.30.0180.00717.05
8.0.20.0100.00817.40
8.0.10.0050.00217.02
8.0.00.0150.01016.62
7.4.330.0000.00515.00
7.4.320.0000.00716.50
7.4.300.0030.00316.55
7.4.290.0000.01016.43
7.4.280.0070.00016.51
7.4.270.0030.00316.53
7.4.260.0070.00016.48
7.4.250.0040.00416.57
7.4.240.0030.00516.46
7.4.230.0030.00316.52
7.4.220.0090.00916.68
7.4.210.0070.00816.59
7.4.200.0030.00316.72
7.4.190.0070.00016.77
7.4.160.0030.01416.41
7.4.150.0060.01817.40
7.4.140.0120.00817.86
7.4.130.0080.01016.55
7.4.120.0080.01016.52
7.4.110.0030.01316.64
7.4.100.0070.01016.49
7.4.90.0160.00316.37
7.4.80.0210.00019.39
7.4.70.0030.01316.52
7.4.60.0120.00316.40
7.4.50.0080.00016.28
7.4.40.0030.00922.77
7.4.30.0100.01016.67
7.4.00.0070.01014.75
7.3.330.0000.00513.02
7.3.320.0030.00213.00
7.3.310.0030.00316.13
7.3.300.0030.00316.18
7.3.290.0030.01116.23
7.3.280.0050.01016.26
7.3.270.0060.01117.40
7.3.260.0030.01416.29
7.3.250.0090.00816.37
7.3.240.0070.01016.35
7.3.230.0050.01116.39
7.3.210.0110.00616.23
7.3.200.0030.01319.39
7.3.190.0090.01216.43
7.3.180.0080.00816.55
7.3.170.0130.00316.27
7.3.160.0120.00616.54
7.3.120.0090.00414.85
7.3.110.0090.00614.62
7.3.100.0090.00614.95
7.3.90.0060.00614.60
7.3.80.0000.01114.60
7.3.70.0100.00714.79
7.3.60.0070.00714.84
7.3.50.0080.00414.68
7.3.40.0000.01514.86
7.3.30.0030.00614.70
7.3.20.0030.00916.52
7.3.10.0110.00316.63
7.3.00.0030.01016.80
7.2.330.0130.01216.54
7.2.320.0140.00316.54
7.2.310.0030.01316.53
7.2.300.0120.00916.64
7.2.290.0080.00816.39
7.2.250.0040.01115.13
7.2.240.0090.00915.09
7.2.230.0030.00715.13
7.2.220.0070.00714.82
7.2.210.0000.01614.89
7.2.200.0070.00714.89
7.2.190.0130.00315.05
7.2.180.0050.01014.96
7.2.170.0030.00915.05
7.2.60.0000.01016.80
7.2.00.0030.01019.05
7.1.330.0080.00315.64
7.1.320.0060.00615.73
7.1.310.0090.00415.65
7.1.300.0000.01515.62
7.1.290.0000.01415.77
7.1.280.0030.00915.73
7.1.270.0000.00915.54
7.1.260.0070.00715.79
7.1.200.0080.00015.64
7.1.100.0090.00317.70
7.1.70.0130.00417.01
7.1.60.0030.02019.82
7.1.50.0100.01716.66
7.1.00.0000.08022.57
7.0.200.0090.00016.50
7.0.140.0030.07322.18
7.0.60.0130.07319.95
7.0.50.0070.08017.91
7.0.40.0170.07720.27
7.0.30.0230.05720.21
7.0.20.0230.05020.03
7.0.10.0100.09020.32
7.0.00.0070.08320.20
5.6.280.0100.06721.06
5.6.210.0100.06020.50
5.6.200.0070.05018.12
5.6.190.0130.06720.34
5.6.180.4170.04020.61
5.6.170.0270.03320.48
5.6.160.0000.05020.40
5.6.150.0130.04018.19
5.6.140.0170.05318.22
5.6.130.0030.04318.12
5.6.120.0170.07321.14
5.6.110.0030.08721.12
5.6.100.0170.07321.12
5.6.90.0130.06020.87
5.6.80.0100.04320.39
5.6.70.3630.03020.36
5.5.350.3630.04020.39
5.5.340.0070.06017.93
5.5.330.0100.07320.15
5.5.320.2830.04720.29
5.5.310.0230.03320.50
5.5.300.0100.07718.01
5.5.290.0000.04718.00
5.5.280.0170.08020.84
5.5.270.0030.05720.95
5.5.260.0070.08320.86
5.5.250.0100.06320.58
5.5.240.0200.08020.18
5.4.450.0530.06019.64
5.4.440.0730.05719.47
5.4.430.0100.05319.53
5.4.420.0170.05019.62
5.4.410.0130.07719.27
5.4.400.0870.00018.74
5.4.390.0830.00018.62
5.4.380.0270.05318.71
5.4.370.0330.05318.61
5.4.360.0470.04718.71
5.4.350.0200.06018.53
5.4.340.0330.05318.57
5.4.320.0040.03812.45
5.4.310.0070.03812.45
5.4.300.0090.03812.45
5.4.290.0060.04312.45
5.4.280.0100.03312.35
5.4.270.0040.03812.35
5.4.260.0130.05018.86
5.4.250.0100.05018.97
5.4.240.0130.04718.68
5.4.230.0100.05319.02
5.4.220.0030.06019.00
5.4.210.0070.06018.71
5.4.200.0230.04018.99
5.4.190.0200.04318.97
5.4.180.0130.05318.82
5.4.170.0130.05018.86
5.4.160.0230.05718.91
5.4.150.0170.06018.71
5.4.140.0200.06016.54
5.4.130.0100.05016.24
5.4.120.0100.04716.50
5.4.110.0100.05716.18
5.4.100.0100.04716.33
5.4.90.0000.05316.40
5.4.80.0100.04716.42
5.4.70.0000.05316.32
5.4.60.0100.04316.30
5.4.50.0030.05316.32
5.4.40.0170.05316.29
5.4.30.0130.05316.21
5.4.20.0200.05316.31
5.4.10.0000.06016.30
5.4.00.0170.04315.96
5.3.290.0060.04412.80
5.3.280.0100.05014.61
5.3.270.0170.05314.30
5.3.260.0030.05714.64
5.3.250.0200.06314.46
5.3.240.0070.07314.46
5.3.230.0070.05314.59
5.3.220.0070.05014.48
5.3.210.0100.05014.27
5.3.200.0070.05014.42
5.3.190.0030.06014.42
5.3.180.0130.04714.51
5.3.170.0100.07314.66
5.3.160.0070.05314.42
5.3.150.0070.08014.26
5.3.140.0070.06714.57
5.3.130.0100.07014.46
5.3.120.0130.04714.64
5.3.110.0030.07314.32
5.3.100.0130.06313.89
5.3.90.0030.05313.90
5.3.80.0200.05714.03
5.3.70.0130.04713.79
5.3.60.0170.05314.02
5.3.50.0130.04713.96
5.3.40.0170.05713.94
5.3.30.0030.05313.82
5.3.20.0030.05013.63
5.3.10.0100.07013.57
5.3.00.0000.06013.55
5.2.170.0100.03711.26
5.2.160.0100.05010.90
5.2.150.0070.05711.06
5.2.140.0070.05311.25
5.2.130.0070.03711.25
5.2.120.0000.04310.93
5.2.110.0130.03011.04
5.2.100.0070.03710.98
5.2.90.0030.04011.01
5.2.80.0070.05011.10
5.2.70.0000.05010.84
5.2.60.0030.04710.95
5.2.50.0030.05010.92
5.2.40.0030.04710.99
5.2.30.0070.05710.88
5.2.20.0100.05010.80
5.2.10.0030.04010.93
5.2.00.0100.03710.73
5.1.60.0100.0309.95
5.1.50.0000.0379.98
5.1.40.0130.0339.89
5.1.30.0100.04710.28
5.1.20.0030.05310.43
5.1.10.0070.03310.09
5.1.00.0070.03710.05
5.0.50.0030.0338.53
5.0.40.0070.0378.61
5.0.30.0070.0408.18
5.0.20.0100.0338.34
5.0.10.0070.0338.16
5.0.00.0030.0538.14
4.4.90.0070.0207.05
4.4.80.0070.0207.05
4.4.70.0000.0277.05
4.4.60.0070.0177.05
4.4.50.0100.0277.05
4.4.40.0070.0307.05
4.4.30.0070.0177.05
4.4.20.0030.0237.05
4.4.10.0130.0337.05
4.4.00.0070.0307.05
4.3.110.0070.0307.05
4.3.100.0100.0137.05
4.3.90.0030.0307.05
4.3.80.0000.0377.05
4.3.70.0070.0177.05
4.3.60.0070.0277.05
4.3.50.0070.0237.05
4.3.40.0070.0407.05
4.3.30.0000.0237.05
4.3.20.0000.0237.05
4.3.10.0000.0237.05
4.3.00.0100.0207.32

preferences:
39.06 ms | 400 KiB | 5 Q