3v4l.org

run code in 300+ PHP versions simultaneously
<?php ${x} = 'a thing of beauty ...'; echo "${x}\n"; echo {${x}},"\n"; echo ${x};

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.0.10.0030.09020.15
7.0.00.0030.05020.38
5.6.160.0070.07320.48
5.6.150.0000.06718.14
5.6.140.0200.07018.21
5.6.130.0030.08718.29
5.6.120.0070.07320.91
5.6.110.0130.05321.02
5.6.100.0100.08320.99
5.6.90.0070.05721.09
5.6.80.0130.04320.37
5.5.300.0100.05017.95
5.5.290.0100.07717.96
5.5.280.0070.04020.68
5.5.270.0100.06320.88
5.5.260.0030.04320.87
5.5.250.0130.06320.49
5.5.240.0130.07720.15

preferences:
142.59 ms | 1394 KiB | 7 Q