3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arguments = ['foo', ['getShared' => false], new stdClass]; array_shift($arguments); // name array_shift($arguments); // options var_export($arguments);

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.70.0090.00616.58
8.3.60.0100.00718.31
8.3.50.0120.00620.13
8.3.40.0140.00320.22
8.3.30.0160.00718.60
8.3.20.0120.00624.18
8.3.10.0100.00724.66
8.3.00.0060.00326.16
8.2.190.0120.00916.63
8.2.180.0110.00625.92
8.2.170.0090.00618.96
8.2.160.0090.00622.96
8.2.150.0100.01025.66
8.2.140.0000.00824.66
8.2.130.0100.00326.16
8.2.120.0110.00721.07
8.2.110.0060.00322.12
8.2.100.0070.00418.03
8.2.90.0080.00319.35
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0050.00317.75
8.2.50.0080.00018.05
8.2.40.0040.00418.22
8.2.30.0070.00018.10
8.2.20.0040.00419.36
8.2.10.0040.00417.98
8.2.00.0030.00519.23
8.1.280.0070.00725.92
8.1.270.0100.00324.66
8.1.260.0070.00326.35
8.1.250.0000.00728.09
8.1.240.0090.00022.14
8.1.230.0030.00720.87
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00817.22
8.1.190.0050.00317.22
8.1.180.0030.00618.10
8.1.170.0040.00417.62
8.1.160.0050.00318.99
8.1.150.0050.00218.52
8.1.140.0070.00017.33
8.1.130.0000.00719.00
8.1.120.0000.01017.45
8.1.110.0040.00417.43
8.1.100.0100.00017.42
8.1.90.0120.00417.35
8.1.80.0100.00517.39
8.1.70.0130.00317.41
8.1.60.0110.00717.48
8.1.50.0140.00417.46
8.1.40.0170.00017.50
8.1.30.0140.00417.64
8.1.20.0110.00617.52
8.1.10.0170.00017.54
8.1.00.0180.00017.52
8.0.300.0060.00319.68
8.0.290.0040.00416.75
8.0.280.0030.00318.42
8.0.270.0040.00417.11
8.0.260.0030.00318.38
8.0.250.0070.00016.83
8.0.240.0150.00016.92
8.0.230.0080.00816.82
8.0.220.0080.00616.88
8.0.210.0120.00216.77
8.0.200.0150.00016.88
8.0.190.0110.00416.86
8.0.180.0150.00016.71
8.0.170.0140.00016.77
8.0.160.0090.00616.81
8.0.150.0170.00016.74
8.0.140.0000.01416.83
8.0.130.0150.00016.91
8.0.120.0150.00016.88
8.0.110.0070.00716.83
8.0.100.0140.00016.71
8.0.90.0120.00316.84
8.0.80.0110.00416.88
8.0.70.0100.00516.71
8.0.60.0050.01016.80
8.0.50.0050.01016.72
8.0.30.0070.00716.72
8.0.20.0120.00316.95
8.0.10.0110.00316.94
7.4.330.0030.00315.55
7.4.320.0060.01016.46
7.4.300.0090.00616.55
7.4.290.0090.00616.57
7.4.280.0110.00516.45
7.4.270.0110.00516.49
7.4.260.0160.00016.47
7.4.250.0070.01016.60
7.4.240.0080.00816.58
7.4.230.0000.01716.37
7.4.220.0100.00516.46
7.4.210.0100.00516.37
7.4.200.0150.00016.57
7.4.190.0150.00016.42
7.4.180.0140.00016.61
7.4.160.0120.00216.57
7.4.150.0100.00416.38
7.4.140.0070.00616.45
7.4.130.0090.00516.44
7.4.120.0070.00716.50
7.4.110.0120.00216.50
7.4.100.0140.00016.55
7.4.90.0100.00516.32
7.4.80.0120.00016.42
7.4.70.0080.00016.52
7.4.60.0020.00616.55
7.4.50.0030.00316.46
7.4.40.0030.00316.44
7.4.30.0060.00016.31
7.4.20.0030.00316.43
7.4.10.0030.00316.41
7.4.00.0000.00916.52

preferences:
29.87 ms | 401 KiB | 5 Q