3v4l.org

run code in 300+ PHP versions simultaneously
<?php function update_hook(): \Stringable|string|null|none { echo "123"; } update_hook();

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.4.10.0100.01023.50
8.3.140.0120.00617.28
8.3.130.0050.00318.53
8.3.120.0110.00018.79
8.3.110.0060.00320.94
8.3.100.0070.00424.06
8.3.90.0030.00526.77
8.3.80.0060.00318.30
8.3.70.0120.00916.49
8.3.60.0070.01116.50
8.3.50.0060.01216.59
8.3.40.0100.00720.34
8.3.30.0100.00319.13
8.3.20.0070.00024.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.260.0070.00718.98
8.2.250.0040.00416.77
8.2.240.0110.00718.96
8.2.230.0040.00422.58
8.2.220.0040.00437.54
8.2.210.0040.01226.77
8.2.200.0100.00016.50
8.2.190.0070.01416.63
8.2.180.0070.01418.43
8.2.170.0120.00318.84
8.2.160.0100.00322.96
8.2.150.0030.00325.66
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0030.00620.93
8.2.110.0090.00022.30
8.2.100.0110.00017.84
8.2.90.0080.00017.90
8.2.80.0050.00319.04
8.2.70.0130.00479.33
8.2.60.0170.00379.33
8.2.50.0210.00079.33
8.2.40.0120.00479.33
8.2.30.0070.01079.33
8.2.20.0140.00379.33
8.2.10.0100.00779.33
8.2.00.0120.00579.33
8.1.310.0030.00616.79
8.1.300.0130.00319.82
8.1.290.0070.00330.84
8.1.280.0120.00925.92
8.1.270.0070.00024.66
8.1.260.0040.00826.35
8.1.250.0030.00528.09
8.1.240.0030.00623.96
8.1.230.0040.00720.97
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0120.00479.33
8.1.190.0050.01179.33
8.1.180.0160.00079.33
8.1.170.0080.00879.33
8.1.160.0120.00479.33
8.1.150.0130.00479.33
8.1.140.0150.00379.33
8.1.130.0060.01179.33
8.1.120.0100.00779.33
8.1.110.0160.00079.33
8.1.100.0150.00379.33
8.1.90.0130.00279.33
8.1.80.0080.00879.33
8.1.70.0130.00379.33
8.1.60.0160.00379.33
8.1.50.0150.00479.33
8.1.40.0070.01179.33
8.1.30.0150.00379.33
8.1.20.0140.00579.33
8.1.10.0090.00979.33
8.1.00.0130.00579.33
8.0.300.0040.00420.09
8.0.290.0140.00379.33
8.0.280.0090.00979.33
8.0.270.0110.00679.33
8.0.260.0150.00079.33
8.0.250.0170.00379.33
8.0.240.0130.00379.33
8.0.230.0130.00479.33
8.0.220.0160.00079.33
8.0.210.0110.00579.33
8.0.200.0110.00679.33
8.0.190.0140.00379.33
8.0.180.0170.00079.33
8.0.170.0110.00579.33
8.0.160.0130.00479.33
8.0.150.0060.01179.33
8.0.140.0060.01179.33
8.0.130.0080.00879.33
8.0.120.0100.00779.33
8.0.110.0110.00479.33
8.0.100.0130.00479.33
8.0.90.0080.00879.33
8.0.80.0150.00079.33
8.0.70.0120.00479.33
8.0.60.0090.00979.33
8.0.50.0110.00679.33
8.0.30.0090.00979.33
8.0.20.0070.01079.33
8.0.10.0160.00079.33

preferences:
34.62 ms | 403 KiB | 5 Q