3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 1234; function foo() { echo $i; } foo();

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.30.0150.00919.64
8.5.20.0120.00620.11
8.5.10.0120.00718.07
8.5.00.0130.00923.00
8.4.180.0100.01219.66
8.4.170.0120.00823.95
8.4.160.0110.01123.12
8.4.150.0060.00616.87
8.4.140.0330.00917.51
8.4.130.0110.00917.77
8.4.90.0090.01117.66
8.3.300.0080.01220.72
8.3.290.0140.00620.66
8.3.280.0080.00416.14
8.3.270.0090.00816.28
8.3.260.0080.01016.52
8.3.180.0140.00916.57
8.3.50.0130.00516.61
8.2.300.0110.00820.25
8.1.340.0150.00517.56

preferences:
52.66 ms | 567 KiB | 5 Q