3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace A { const B = 'C'; } use A\B as __dir__; echo __dir__;

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)
7.1.30.1530.05336.29
7.1.20.1930.07336.43
7.1.10.2130.06720.34
7.1.00.1570.06320.47
7.0.170.1330.06020.05
7.0.160.2030.05719.98
7.0.150.2100.06320.04
7.0.140.2300.07320.00
7.0.130.1470.06320.02
7.0.120.1170.07720.03
7.0.110.1330.06719.97
7.0.100.2600.07020.11
7.0.90.2570.08020.03
7.0.80.1630.08019.99
7.0.70.1830.06020.05
7.0.60.1470.06319.97
7.0.50.1800.07320.05
7.0.40.1400.06019.97
7.0.30.1830.05720.05
7.0.20.2330.07319.97
7.0.10.1070.07319.94
7.0.00.1300.05319.96

preferences:
144.46 ms | 1394 KiB | 7 Q