3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($b, $c) { $arr = array($b, $c); $e = new Exception(); $t = $e->getTrace(); $arr2 = $arr; var_dump($arr2); } a(2, 3);

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.0070.01416.50
8.3.50.0100.00921.11
8.3.40.0120.00918.54
8.3.30.0140.00018.62
8.3.20.0040.00420.27
8.3.10.0080.00023.43
8.3.00.0000.00823.53
8.2.180.0030.01716.50
8.2.170.0120.00318.79
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0080.00019.76
8.2.120.0050.00326.35
8.2.110.0100.00022.29
8.2.100.0070.00418.04
8.2.90.0040.00419.21
8.2.80.0000.00817.97
8.2.70.0030.00517.50
8.2.60.0090.00017.93
8.2.50.0000.00818.07
8.2.40.0000.00822.28
8.2.30.0070.00020.48
8.2.20.0000.00817.72
8.2.10.0040.00418.07
8.2.00.0000.00818.09
8.1.280.0090.00925.92
8.1.270.0000.00823.88
8.1.260.0030.00728.09
8.1.250.0080.00028.09
8.1.240.0000.00922.30
8.1.230.0120.00019.14
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0040.00418.64
8.1.160.0000.00720.63
8.1.150.0000.00718.98
8.1.140.0040.00419.57
8.1.130.0050.00317.65
8.1.120.0040.00417.46
8.1.110.0040.00417.35
8.1.100.0030.00417.45
8.1.90.0050.00317.44
8.1.80.0000.00717.48
8.1.70.0030.00317.48
8.1.60.0040.00417.45
8.1.50.0120.00017.46
8.1.40.0040.00417.46
8.1.30.0000.00817.67
8.1.20.0040.00417.52
8.1.10.0000.00717.46
8.1.00.0000.00717.43
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.39
8.0.270.0000.00717.24
8.0.260.0060.00317.15
8.0.250.0060.00316.86
8.0.240.0030.00617.00
8.0.230.0030.00416.98
8.0.220.0030.00316.76
8.0.210.0040.00416.89
8.0.200.0000.00816.81
8.0.190.0000.00716.84
8.0.180.0000.00716.95
8.0.170.0040.00416.97
8.0.160.0030.00616.91
8.0.150.0000.00816.80
8.0.140.0070.00016.80
8.0.130.0060.00013.33
8.0.120.0030.00516.79
8.0.110.0040.00416.77
8.0.100.0070.00016.87
8.0.90.0000.00716.76
8.0.80.0030.01616.85
8.0.70.0000.00716.76
8.0.60.0030.00516.77
8.0.50.0040.00416.80
8.0.30.0080.01117.21
8.0.20.0090.01217.40
8.0.10.0080.00016.99
8.0.00.0060.01216.83
7.4.330.0000.00516.84
7.4.320.0030.00316.51
7.4.300.0000.00816.50
7.4.290.0000.00816.41
7.4.280.0040.00416.59
7.4.270.0030.00316.61
7.4.260.0060.00316.52
7.4.250.0040.00416.47
7.4.240.0040.00316.49
7.4.230.0070.00016.42
7.4.220.0120.00616.36
7.4.210.0080.00816.66
7.4.200.0000.00716.32
7.4.160.0150.00716.42
7.4.150.0120.00617.40
7.4.140.0120.00917.86
7.4.130.0090.00916.55
7.4.120.0150.00516.54
7.4.110.0090.00916.44
7.4.100.0100.00716.50
7.4.90.0070.01116.61
7.4.80.0120.00919.39
7.4.70.0060.00916.54
7.4.60.0060.01116.36
7.4.50.0070.01116.36
7.4.40.0100.01316.56
7.4.30.0150.00616.45
7.4.00.0090.00514.71
7.3.330.0060.00013.37
7.3.320.0060.00013.21
7.3.310.0000.00716.20
7.3.300.0000.00716.21
7.3.290.0070.01016.37
7.3.280.0090.01016.34
7.3.270.0150.00317.40
7.3.260.0130.00916.28
7.3.250.0110.00616.40
7.3.240.0120.00816.42
7.3.230.0110.00616.39
7.3.210.0090.00916.55
7.3.200.0070.01019.39
7.3.190.0080.01116.36
7.3.180.0000.01516.64
7.3.170.0120.00616.27
7.3.160.0120.00916.59
7.3.120.0070.01415.06
7.3.110.0070.01514.78
7.3.100.0030.01314.98
7.3.90.0000.01214.69
7.3.80.0140.00015.04
7.3.70.0070.00714.56
7.3.60.0060.00314.93
7.3.50.0030.00714.43
7.3.40.0060.00614.88
7.3.30.0030.00914.60
7.3.20.0060.00316.66
7.3.10.0050.00716.56
7.3.00.0060.00416.39
7.2.330.0070.01016.62
7.2.320.0120.00616.60
7.2.310.0060.01116.32
7.2.300.0070.01016.26
7.2.290.0110.00616.68
7.2.250.0130.00715.23
7.2.240.0060.00914.90
7.2.230.0030.01315.05
7.2.220.0030.01314.93
7.2.210.0100.00014.99
7.2.200.0130.00314.76
7.2.190.0030.01015.04
7.2.180.0030.01315.14
7.2.170.0060.00914.92
7.2.130.0100.00716.82
7.2.120.0040.01116.80
7.2.110.0070.00716.81
7.2.100.0030.00616.89
7.2.90.0070.00716.89
7.2.80.0030.00716.92
7.2.70.0030.01017.09
7.2.60.0040.01416.71
7.2.50.0040.01117.02
7.2.40.0060.00616.70
7.2.30.0080.00716.86
7.2.20.0090.00616.89
7.2.10.0000.00916.72
7.2.00.0070.00518.15
7.1.330.0100.00315.69
7.1.320.0030.01015.48
7.1.310.0090.00315.90
7.1.300.0110.00315.87
7.1.290.0030.01015.89
7.1.280.0030.01115.74
7.1.270.0110.00315.81
7.1.260.0040.01115.72
7.1.250.0060.00315.72
7.1.100.0000.01418.14
7.1.70.0040.00717.18
7.1.60.0070.01019.27
7.1.50.0130.01316.96
7.1.00.0070.07322.33
7.0.200.0030.00516.90
7.0.60.0070.07321.71
7.0.50.0070.08717.73
7.0.40.0100.03720.24
7.0.30.0300.06720.21
7.0.20.0100.05720.09
7.0.10.0000.08720.30
7.0.00.0070.08720.05
5.6.280.0000.03321.12
5.6.210.0130.07020.71
5.6.200.0000.04718.30
5.6.190.0130.08320.52
5.6.180.0300.08320.50
5.6.170.0270.05020.51
5.6.160.0130.07720.56
5.6.150.0100.07718.29
5.6.140.0030.06318.11
5.6.130.0030.08318.27
5.6.120.0070.04720.97
5.6.110.0130.07721.13
5.6.100.0030.07720.98
5.6.90.0130.07021.12
5.6.80.0100.08320.51
5.5.350.0100.08320.43
5.5.340.0070.03717.98
5.5.330.0100.07020.34
5.5.320.0570.07020.29
5.5.310.0130.05720.37
5.5.300.0030.04718.03
5.5.290.0130.07317.94
5.5.280.0030.07320.88
5.5.270.0000.04720.79
5.5.260.0100.09020.89
5.5.250.0100.03720.47
5.5.240.0100.05020.04

preferences:
37.55 ms | 401 KiB | 5 Q