3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=0); 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.0080.00018.34
8.3.120.0030.00619.16
8.3.110.0030.00620.94
8.3.100.0100.00016.78
8.3.90.0110.00726.77
8.3.80.0030.00716.50
8.3.70.0070.01518.55
8.3.60.0110.00818.43
8.3.50.0040.01117.96
8.3.40.0110.00418.84
8.3.30.0150.00018.51
8.3.20.0080.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.250.0140.00016.82
8.2.240.0090.00917.60
8.2.230.0090.00022.58
8.2.220.0030.00624.06
8.2.210.0040.00426.77
8.2.200.0090.00016.63
8.2.190.0060.00916.75
8.2.180.0070.00725.92
8.2.170.0090.00618.83
8.2.160.0000.01422.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00021.19
8.2.110.0080.00020.22
8.2.100.0060.00617.91
8.2.90.0030.00619.21
8.2.80.0050.00317.97
8.2.70.0060.00317.93
8.2.60.0040.00418.03
8.2.50.0030.00618.10
8.2.40.0030.00621.07
8.2.30.0030.00619.24
8.2.20.0070.00018.14
8.2.10.0040.00419.10
8.2.00.0000.00719.14
8.1.300.0110.00418.32
8.1.290.0060.00318.88
8.1.280.0130.00325.92
8.1.270.0050.00323.96
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00719.14
8.1.230.0130.00020.84
8.1.220.0000.00817.79
8.1.210.0030.00618.77
8.1.200.0060.00317.47
8.1.190.0030.00617.36
8.1.180.0030.00518.10
8.1.170.0080.00018.64
8.1.160.0000.00920.67
8.1.150.0040.00418.77
8.1.140.0040.00420.67
8.1.130.0030.00320.18
8.1.120.0080.00017.46
8.1.110.0000.00817.43
8.1.100.0000.01017.51
8.1.90.0040.00417.34
8.1.80.0070.00017.44
8.1.70.0040.00417.36
8.1.60.0090.00017.47
8.1.50.0050.00317.54
8.1.40.0030.00617.40
8.1.30.0030.00517.57
8.1.20.0040.00417.65
8.1.10.0030.00617.51
8.1.00.0000.00817.49
8.0.300.0000.00820.61
8.0.290.0060.00316.63
8.0.280.0030.00318.33
8.0.270.0080.00018.07
8.0.260.0060.00018.57
8.0.250.0070.00017.04
8.0.240.0050.00317.07
8.0.230.0030.00316.91
8.0.220.0070.00016.93
8.0.210.0040.00416.89
8.0.200.0050.00217.03
8.0.190.0040.00317.04
8.0.180.0070.00016.91
8.0.170.0040.00416.89
8.0.160.0090.00016.98
8.0.150.0040.00316.87
8.0.140.0040.00416.89
8.0.130.0000.00613.41
8.0.120.0040.00416.85
8.0.110.0020.00516.95
8.0.100.0040.00416.90
8.0.90.0000.00717.00
8.0.80.0080.00916.95
8.0.70.0050.00316.80
8.0.60.0050.00216.85
8.0.50.0070.00016.95
8.0.30.0300.00816.88
8.0.20.0310.00316.97
8.0.10.0210.01416.91
8.0.00.0040.01516.86
7.4.330.0000.00515.55
7.4.320.0000.00716.43
7.4.300.0030.00316.61
7.4.290.0030.00316.61
7.4.280.0040.00416.61
7.4.270.0070.00016.47
7.4.260.0000.00613.31
7.4.250.0040.00416.50
7.4.240.0030.00416.51
7.4.230.0000.00716.54
7.4.220.0030.00316.58
7.4.210.0150.00416.63
7.4.200.0000.00716.56
7.4.160.0290.00716.52
7.4.150.0310.00316.61
7.4.140.0350.00416.26
7.4.130.0180.01216.57
7.4.120.0260.00916.46
7.4.110.0300.01216.48
7.4.100.0240.00916.37
7.4.90.0190.01016.28
7.4.80.0250.01016.28
7.4.70.0200.01516.40
7.4.60.0230.01316.21
7.4.50.0210.00516.34
7.4.40.0170.01316.33
7.4.30.0260.01016.24
7.4.20.0270.00816.44
7.4.10.0250.00316.33
7.4.00.0160.01216.41
7.3.330.0070.00016.24
7.3.320.0030.00313.37
7.3.310.0030.00316.38
7.3.300.0040.00416.36
7.3.290.0100.00716.40
7.3.280.0300.00016.33
7.3.270.0150.01516.32
7.3.260.0170.01316.27
7.3.250.0270.00716.26
7.3.240.0200.01016.21
7.3.230.0330.00616.28
7.3.220.0220.01616.24
7.3.210.0200.01016.19
7.3.200.0180.01116.29
7.3.190.0190.01316.16
7.3.180.0240.00516.19
7.3.170.0260.01116.19
7.3.160.0240.01416.21
7.3.150.0230.01416.25
7.3.140.0250.00616.23
7.3.130.0250.01316.18
7.3.120.0170.01416.25
7.3.110.0290.00316.28
7.3.100.0230.01316.11
7.3.90.0210.01516.48
7.3.80.0300.00516.18
7.3.70.0250.00916.38
7.3.60.0230.01316.47
7.3.50.0210.01316.40
7.3.40.0190.01016.44
7.3.30.0220.00616.40
7.3.20.0140.01916.39
7.3.10.0240.00816.36
7.3.00.0290.00316.35

preferences:
28.54 ms | 403 KiB | 5 Q