3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); function acceptArray(array $x) {} try { acceptArray(""); } catch (TypeError $e) { echo get_class($e) . ": " . $e->getMessage() . "\n"; } try { var_dump(locale_compose("")); } catch (TypeError $e) { echo get_class($e) . ": " . $e->getMessage() . "\n"; }

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.130.0030.00618.38
8.3.120.0050.00318.86
8.3.110.0040.00420.94
8.3.100.0080.00024.06
8.3.90.0080.00026.77
8.3.80.0060.00316.50
8.3.70.0120.00318.55
8.3.60.0070.01118.30
8.3.50.0030.01018.15
8.3.40.0070.00718.93
8.3.30.0110.00318.80
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.250.0050.00316.96
8.2.240.0000.00818.83
8.2.230.0060.00322.58
8.2.220.0000.00837.54
8.2.210.0050.00526.77
8.2.200.0000.00916.88
8.2.190.0070.00716.63
8.2.180.0040.01125.92
8.2.170.0060.00922.96
8.2.160.0100.00322.96
8.2.150.0000.00725.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0110.00421.05
8.2.110.0070.00322.18
8.2.100.0040.00817.84
8.2.90.0000.00817.84
8.2.80.0000.00818.91
8.2.70.0040.00417.88
8.2.60.0040.00418.09
8.2.50.0050.00318.10
8.2.40.0000.00821.15
8.2.30.0000.00719.31
8.2.20.0000.00818.12
8.2.10.0040.00419.19
8.2.00.0060.00319.25
8.1.300.0110.00016.32
8.1.290.0060.00330.84
8.1.280.0030.01425.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00322.61
8.1.230.0000.01117.70
8.1.220.0060.00317.74
8.1.210.0000.00918.77
8.1.200.0040.00817.48
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0040.00418.36
8.1.160.0000.00720.63
8.1.150.0050.00518.81
8.1.140.0000.00720.63
8.1.130.0070.00017.38
8.1.120.0000.00817.49
8.1.110.0000.00717.35
8.1.100.0100.00017.49
8.1.90.0000.00717.48
8.1.80.0000.00717.43
8.1.70.0030.00317.50
8.1.60.0060.00317.64
8.1.50.0030.00617.42
8.1.40.0060.00317.48
8.1.30.0040.00417.51
8.1.20.0050.00317.57
8.1.10.0030.00517.59
8.1.00.0080.00017.51
8.0.300.0070.00018.77
8.0.290.0030.00616.75
8.0.280.0000.00718.36
8.0.270.0040.00416.80
8.0.260.0060.00016.76
8.0.250.0030.00317.02
8.0.240.0060.00317.00
8.0.230.0040.00417.02
8.0.220.0040.00416.83
8.0.210.0000.00716.87
8.0.200.0000.00617.04
8.0.190.0000.00816.93
8.0.180.0070.00016.87
8.0.170.0060.00316.86
8.0.160.0030.00617.04
8.0.150.0000.00716.98
8.0.140.0000.00716.88
8.0.130.0030.00313.39
8.0.120.0000.00816.82
8.0.110.0040.00416.86
8.0.100.0000.00816.81
8.0.90.0040.00416.85
8.0.80.0050.01016.90
8.0.70.0080.00016.79
8.0.60.0040.00417.00
8.0.50.0050.00317.00
8.0.30.0210.01116.90
8.0.20.0270.00816.95
8.0.10.0250.00616.88
8.0.00.0170.00516.93
7.4.330.0000.00515.55
7.4.320.0000.00716.58
7.4.300.0030.00316.57
7.4.290.0070.00016.47
7.4.280.0030.00416.50
7.4.270.0050.00316.64
7.4.260.0030.00313.27
7.4.250.0000.00716.50
7.4.240.0000.00716.52
7.4.230.0060.00016.40
7.4.220.0000.00616.58
7.4.210.0090.01116.65
7.4.200.0040.00416.68
7.4.160.0230.01016.61
7.4.150.0200.00716.55
7.4.140.0230.00616.44
7.4.130.0160.00916.43
7.4.120.0180.00916.41
7.4.110.0220.00816.40
7.4.100.0190.01416.50
7.4.90.0180.00616.35
7.4.80.0180.00816.41
7.4.70.0180.01116.39
7.4.60.0150.01516.34
7.4.50.0200.00616.15
7.4.40.0190.00616.29
7.4.30.0190.00616.40
7.4.20.0200.00516.35
7.4.10.0200.00416.40
7.4.00.0200.00416.22
7.3.330.0030.00316.30
7.3.320.0000.00713.32
7.3.310.0070.00016.34
7.3.300.0030.00316.28
7.3.290.0120.00916.31
7.3.280.0170.00716.30
7.3.270.0190.00516.30
7.3.260.0100.01616.33
7.3.250.0110.01416.22
7.3.240.0130.01716.31
7.3.230.0210.00716.30
7.3.220.0150.01216.22
7.3.210.0210.00716.15
7.3.200.0320.00016.27
7.3.190.0190.00716.32
7.3.180.0180.01116.24
7.3.170.0250.00916.25
7.3.160.0300.00316.18
7.3.150.0230.01316.27
7.3.140.0310.00016.18
7.3.130.0270.01216.21
7.3.120.0270.00616.27
7.3.110.0220.00616.17
7.3.100.0220.00416.20
7.3.90.0240.01316.46
7.3.80.0180.00916.27
7.3.70.0230.00916.39
7.3.60.0150.01516.40
7.3.50.0270.00516.41
7.3.40.0210.01116.45
7.3.30.0240.00516.39
7.3.20.0260.00316.40
7.3.10.0240.01016.35
7.3.00.0300.00416.41

preferences:
27.1 ms | 403 KiB | 5 Q