3v4l.org

run code in 300+ PHP versions simultaneously
<?php #️⃣[\Deprecated(message: "use safe_replacement() instead", since: "1.5")] function unsafe_function() { echo "This is unsafe", PHP_EOL; } unsafe_function();

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.120.0140.00523.80
8.4.110.0100.00818.84
8.4.100.0140.00318.58
8.4.90.0120.00920.63
8.4.80.0050.00620.18
8.4.70.0080.00417.94
8.4.60.0100.01018.93
8.4.50.0100.00620.24
8.4.40.0100.01017.52
8.4.30.0220.00718.33
8.4.20.0390.00617.37
8.4.10.0300.01417.44
8.3.250.0110.00818.49
8.3.240.0100.00917.19
8.3.230.0120.00616.27
8.3.220.0030.00518.84
8.3.210.0130.00716.67
8.3.200.0020.00616.39
8.3.190.0070.00517.09
8.3.180.0110.00720.85
8.3.170.0090.00917.04
8.3.160.0330.00616.30
8.3.150.0370.00016.55
8.3.140.0420.00416.61
8.3.130.0260.01316.32
8.3.120.0280.01216.35
8.3.110.0310.01016.37
8.3.100.0370.00316.84
8.3.90.0410.00416.45
8.3.80.0350.01016.28
8.3.70.0350.01116.03
8.3.60.0390.00316.46
8.3.50.0290.01016.77
8.3.40.0250.00317.50
8.3.30.0290.00617.28
8.3.20.0270.00917.30
8.3.10.0270.00917.22
8.3.00.0160.00617.43
8.2.290.0100.00920.18
8.2.280.0140.00518.49
8.2.270.0290.00916.30
8.2.260.0330.00416.35
8.2.250.0240.00316.27
8.2.240.0150.01016.94
8.2.230.0320.00616.30
8.2.220.0280.01016.02
8.2.210.0320.01116.12
8.2.200.0230.01016.32
8.2.190.0390.00316.21
8.2.180.0270.01016.41
8.2.170.0430.00417.29
8.2.160.0320.00617.45
8.2.150.0320.00817.27
8.2.140.0310.00917.37
8.2.130.0330.00617.32
8.2.120.0270.01217.55
8.2.110.0230.01517.45
8.2.100.0340.00317.49
8.2.90.0310.00617.17
8.2.80.0310.00617.46
8.2.70.0310.00317.17
8.2.60.0300.01017.09
8.2.50.0290.01016.98
8.2.40.0320.00917.26
8.2.30.0300.00517.24
8.2.20.0250.00617.29
8.2.10.0320.00317.01
8.2.00.0160.00917.28
8.1.320.0100.00916.16
8.1.130.0160.00817.07

preferences:
27.64 ms | 403 KiB | 5 Q