3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('samlp:aExtensions', null, array('ext:aReferer', null, array('ext:aRefererScheme', null, "on" == $_SERVER["HTTPS"] ? "https" : "http"), array('ext:aRefererHost', null, $_SERVER["SERVER_NAME"]), array('ext:aRefererPort', null, $_SERVER["SERVER_PORT"]), ), ); $b = array('samlp:bExtensions', null, array('ext:bReferer', null, array('ext:bRefererScheme', null, "on" == $_SERVER["HTTPS"] ? "https" : "http"), array('ext:bRefererHost', null, $_SERVER["SERVER_NAME"]), array('ext:bRefererPort', null, $_SERVER["SERVER_PORT"]), ), ); //$c = array_merge($a, $b); $c = $a + $b; var_dump($c);

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.0120.00318.83
8.3.30.0130.00318.68
8.3.20.0040.00418.75
8.3.10.0090.00018.86
8.3.00.0060.00919.38
8.2.170.0120.00322.96
8.2.160.0140.00721.23
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00420.22
8.2.110.0060.00319.30
8.2.100.0000.01217.77
8.2.90.0060.00319.30
8.2.80.0040.00419.41
8.2.70.0000.00817.63
8.2.60.0030.00617.93
8.2.50.0060.00318.07
8.2.40.0000.00818.17
8.2.30.0070.00018.04
8.2.20.0080.00017.90
8.2.10.0080.00017.74
8.2.00.0040.00717.89
8.1.270.0060.01324.66
8.1.260.0000.00926.35
8.1.250.0050.00328.09
8.1.240.0080.00423.53
8.1.230.0110.00020.88
8.1.220.0080.00017.79
8.1.210.0000.01118.81
8.1.200.0040.00417.35
8.1.190.0090.00017.53
8.1.180.0000.00818.10
8.1.170.0000.00818.66
8.1.160.0040.00418.95
8.1.150.0030.00618.57
8.1.140.0000.00917.39
8.1.130.0000.00817.71
8.1.120.0040.00417.32
8.1.110.0040.00417.36
8.1.100.0050.00217.48
8.1.90.0040.00417.45
8.1.80.0000.00717.44
8.1.70.0000.00717.43
8.1.60.0050.00317.61
8.1.50.0060.00317.37
8.1.40.0040.00417.54
8.1.30.0080.00017.62
8.1.20.0000.00817.61
8.1.10.0090.00017.60
8.1.00.0000.00817.53
8.0.300.0000.00820.03
8.0.290.0040.00416.75
8.0.280.0000.00818.46
8.0.270.0040.00417.34
8.0.260.0070.00016.85
8.0.250.0000.00717.00
8.0.240.0040.00416.92
8.0.230.0080.00017.09
8.0.220.0040.00417.02
8.0.210.0050.00516.89
8.0.200.0000.00616.95
8.0.190.0050.00317.12
8.0.180.0040.00416.99
8.0.170.0090.00017.03
8.0.160.0000.00716.98
8.0.150.0080.00016.88
8.0.140.0090.00316.84
8.0.130.0060.00013.41
8.0.120.0040.00416.95
8.0.110.0000.00816.87
8.0.100.0040.00416.92
8.0.90.0040.00416.98
8.0.80.0070.00716.96
8.0.70.0040.00416.84
8.0.60.0000.00816.84
8.0.50.0030.00516.84
8.0.30.0160.00317.09
8.0.20.0100.01317.31
8.0.10.0040.00417.10
8.0.00.0120.00916.84
7.4.330.0000.00513.00
7.4.320.0030.00316.63
7.4.300.0060.00016.45
7.4.290.0030.00616.54
7.4.280.0080.00016.67
7.4.270.0040.00416.48
7.4.260.0000.00613.30
7.4.250.0000.00816.49
7.4.240.0030.00416.65
7.4.230.0030.00416.69
7.4.220.0150.00616.52
7.4.210.0060.01016.56
7.4.200.0000.00716.61
7.4.190.0000.00716.75
7.4.160.0130.00416.50
7.4.150.0090.01316.52
7.4.140.0120.01016.47
7.4.130.0080.01016.50
7.4.120.0110.00616.49
7.4.110.0090.00916.48
7.4.100.0120.00916.44
7.4.90.0090.00916.44
7.4.80.0120.00919.39
7.4.70.0040.01216.53
7.4.60.0030.01316.48
7.4.50.0030.01016.42
7.4.40.0070.01116.59
7.4.30.0060.01116.65
7.4.00.0040.01114.76
7.3.330.0000.00813.33
7.3.320.0050.00013.25
7.3.310.0070.00016.46
7.3.300.0030.00316.43
7.3.290.0090.00616.44
7.3.280.0090.00816.40
7.3.270.0060.01216.48
7.3.260.0070.01016.52
7.3.250.0090.01316.58
7.3.240.0090.01316.40
7.3.230.0070.01116.36
7.3.210.0130.00416.55
7.3.200.0080.00816.36
7.3.190.0070.00616.57
7.3.180.0060.01016.43
7.3.170.0000.01516.46
7.3.160.0070.01016.49
7.3.120.0060.01015.16
7.2.330.0120.00816.29
7.2.320.0130.00716.53
7.2.310.0090.01616.40
7.2.300.0000.01716.45
7.2.290.0060.01216.51
7.2.00.0000.01219.32
7.1.100.0030.00918.34
7.1.70.0000.01117.12
7.1.60.0070.01719.40
7.1.50.0060.01516.91
7.1.00.0000.07322.48
7.0.200.0100.00715.05
7.0.140.0070.07321.99
7.0.120.0000.07322.19
7.0.60.0070.08320.00
7.0.50.0070.03717.84
7.0.40.0000.04720.40
7.0.30.0400.06720.04
7.0.20.0230.04720.07
7.0.10.0230.05720.12
7.0.00.0130.08320.19
5.6.280.0030.07320.99
5.6.210.0070.03720.50
5.6.200.0100.03718.28
5.6.190.0030.04320.62
5.6.180.0270.04720.59
5.6.170.0300.03720.62
5.6.160.0030.05320.45
5.6.150.0070.08318.20
5.6.140.0030.04318.20
5.6.130.0100.08318.21
5.6.120.0030.05320.95
5.6.110.0170.06021.13
5.6.100.0100.05320.98
5.6.90.0030.08021.10
5.6.80.0030.07320.35
5.6.70.0200.04320.39
5.5.350.0230.08720.32
5.5.340.0130.04318.02
5.5.330.0070.04020.38
5.5.320.0170.08320.23
5.5.310.0130.05720.30
5.5.300.0130.07318.01
5.5.290.0030.04317.88
5.5.280.0030.08020.77
5.5.270.0100.08720.86
5.5.260.0270.06320.97
5.5.250.0130.06720.56
5.5.240.0070.06720.25
5.4.450.0030.04019.43
5.4.440.0070.04019.32
5.4.430.0000.04719.50
5.4.420.0000.04019.23
5.4.410.0030.04019.13
5.4.400.0070.03319.18
5.4.390.0030.05719.11
5.4.380.0130.05019.08
5.4.370.0070.04019.15
5.4.360.0170.07018.81
5.4.350.0130.07018.79
5.4.340.0070.08318.79
5.4.320.0070.06019.08
5.4.310.0130.04718.79
5.4.300.0070.04718.91
5.4.290.0070.03718.91
5.4.280.0100.07319.14
5.4.270.0170.06018.92
5.4.260.0100.07318.80
5.4.250.0030.05319.00
5.4.240.0030.04319.17
5.4.230.0170.06719.14
5.4.220.0070.08018.91
5.4.210.0200.05719.17
5.4.200.0030.05718.78
5.4.190.0070.07319.07
5.4.180.0070.06319.07
5.4.170.0030.04019.16
5.4.160.0130.07318.98
5.4.150.0170.07019.05
5.4.140.0170.04316.25
5.4.130.0070.05716.27
5.4.120.0100.05016.46
5.4.110.0100.07316.30
5.4.100.0000.07316.29
5.4.90.0200.05716.33
5.4.80.0070.05716.37
5.4.70.0170.06716.36
5.4.60.0070.07016.13
5.4.50.0100.06716.38
5.4.40.0070.08016.34
5.4.30.0070.07316.43
5.4.20.0100.05316.26
5.4.10.0030.05016.31
5.4.00.0030.04315.64
5.3.290.0030.08714.61
5.3.280.0000.08314.58
5.3.270.0030.06314.54
5.3.260.0030.04714.72
5.3.250.0030.04714.40
5.3.240.0030.08014.54
5.3.230.0100.07314.58
5.3.220.0030.07314.52
5.3.210.0130.04014.53
5.3.200.0070.07714.50
5.3.190.0070.07714.38
5.3.180.0070.05714.66
5.3.170.0000.05014.45
5.3.160.0100.05714.55
5.3.150.0070.04714.66
5.3.140.0030.04714.46
5.3.130.0230.03014.49
5.3.120.0070.06014.52
5.3.110.0030.07714.52
5.3.100.0000.06013.98
5.3.90.0030.04313.99
5.3.80.0100.07013.96
5.3.70.0130.06314.04
5.3.60.0000.05313.94
5.3.50.0030.08313.74
5.3.40.0130.07013.90
5.3.30.0000.08013.93
5.3.20.0100.05713.64
5.3.10.0070.07013.63
5.3.00.0100.06313.58
5.2.170.0030.03311.07
5.2.160.0030.03011.10
5.2.150.0070.06011.08
5.2.140.0030.07011.23
5.2.130.0100.03311.10
5.2.120.0030.03710.96
5.2.110.0070.06011.18
5.2.100.0070.05011.04
5.2.90.0100.05011.01
5.2.80.0030.06010.93
5.2.70.0030.07011.03
5.2.60.0030.05711.01
5.2.50.0000.04711.00
5.2.40.0070.06010.89
5.2.30.0130.03010.90
5.2.20.0070.05711.11
5.2.10.0170.04710.90
5.2.00.0030.06310.71
5.1.60.0000.05010.01
5.1.50.0000.04310.00
5.1.40.0070.05010.05
5.1.30.0100.05010.38
5.1.20.0030.06010.32
5.1.10.0100.05010.06
5.1.00.0100.05310.06
5.0.50.0070.0438.54
5.0.40.0030.0408.37
5.0.30.0030.0608.40
5.0.20.0070.0178.30
5.0.10.0030.0338.30
5.0.00.0000.0678.32
4.4.90.0030.0378.30
4.4.80.0030.0208.30
4.4.70.0000.0408.30
4.4.60.0070.0238.30
4.4.50.0030.0278.30
4.4.40.0030.0378.30
4.4.30.0030.0278.30
4.4.20.0070.0378.30
4.4.10.0000.0408.30
4.4.00.0000.0438.30
4.3.110.0000.0278.30
4.3.100.0030.0178.30
4.3.90.0000.0378.30
4.3.80.0000.0538.30
4.3.70.0030.0338.30
4.3.60.0000.0308.30
4.3.50.0030.0438.30
4.3.40.0000.0408.30
4.3.30.0000.0378.30
4.3.20.0000.0338.30
4.3.10.0000.0378.30
4.3.00.0000.0278.30

preferences:
41.94 ms | 400 KiB | 5 Q