3v4l.org

run code in 500+ PHP versions simultaneously
<?php // PHP 8.0+ OK // PHP 8.0- KO namespace if\then\else {}

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.5.70.0080.00616.63
8.5.60.0120.00616.43
8.5.50.0040.00318.18
8.5.30.0140.00517.91
8.5.20.0110.00620.15
8.5.10.0130.00916.30
8.5.00.0100.01119.80
8.4.220.0110.00919.37
8.4.210.0150.00519.36
8.4.180.0150.00821.86
8.4.170.0120.01020.46
8.4.160.0120.00923.96
8.4.150.0070.00516.77
8.4.140.0180.00317.39
8.4.130.0100.01017.81
8.4.120.0050.00524.39
8.4.110.0100.01022.23
8.4.100.0120.00818.21
8.4.90.0130.00717.48
8.4.80.0120.00617.65
8.4.70.0080.00617.46
8.4.60.0050.00617.70
8.4.50.0060.00617.64
8.4.40.0070.00319.31
8.4.30.0090.00417.67
8.4.20.0060.00519.43
8.4.10.0080.00417.70
8.3.310.0110.00918.26
8.3.300.0140.00820.72
8.3.290.0100.01020.79
8.3.280.0100.01018.10
8.3.270.0170.00616.74
8.3.260.0110.01116.68
8.3.250.0060.00519.00
8.3.240.0110.00717.00
8.3.230.0120.00816.41
8.3.220.0050.00518.42
8.3.210.0050.00516.97
8.3.200.0040.00616.97
8.3.190.0050.00616.97
8.3.180.0060.00516.97
8.3.170.0070.00418.38
8.3.160.0090.00316.97
8.3.150.0050.00816.97
8.3.140.0060.00616.97
8.3.130.0090.00216.97
8.3.120.0070.00418.31
8.3.110.0060.00516.97
8.3.100.0050.00518.29
8.3.90.0090.00216.97
8.3.80.0050.00516.97
8.3.70.0080.00316.97
8.3.60.0080.00316.97
8.3.50.0040.00616.97
8.3.40.0070.00317.28
8.3.30.0040.00517.50
8.3.20.0080.00516.97
8.3.10.0100.00516.97
8.3.00.0050.00518.62
8.2.300.0130.00620.42
8.2.290.0120.00620.42
8.2.280.0110.00516.97
8.2.270.0120.00516.97
8.2.260.0160.00116.97
8.2.250.0120.00416.97
8.2.240.0100.00416.97
8.2.230.0140.00416.97
8.2.220.0100.00516.97
8.2.210.0130.00116.97
8.2.200.0100.00416.97
8.2.190.0110.00416.97
8.2.180.0120.00216.97
8.2.170.0120.00616.97
8.2.160.0100.00617.03
8.2.150.0100.00417.14
8.2.140.0130.00417.26
8.2.130.0110.00417.32
8.2.120.0130.00416.97
8.2.110.0130.00417.21
8.2.100.0140.00217.17
8.2.90.0140.00316.98
8.2.80.0140.00317.44
8.2.70.0180.00717.20
8.2.60.0140.00317.09
8.2.50.0130.00416.98
8.2.40.0140.00416.97
8.2.30.0100.00417.39
8.2.20.0110.00317.13
8.2.10.0130.00216.97
8.2.00.0140.00216.97
8.1.340.0110.00821.34
7.3.230.0300.00316.97

preferences:
23.55 ms | 860 KiB | 5 Q