3v4l.org

run code in 300+ PHP versions simultaneously
<?php mytest(); function mytest(){ echo "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)
7.0.20.0370.05020.07
7.0.10.0000.04720.33
7.0.00.0030.08720.12
5.6.170.0230.03720.55
5.6.160.0100.04020.61
5.6.150.0070.06018.15
5.6.140.0070.07018.14
5.6.130.0030.04018.16
5.6.120.0030.08320.98
5.6.110.0030.05721.02
5.6.100.0030.04320.96
5.6.90.0070.08320.96
5.6.80.0130.05720.54
5.5.310.0130.04320.28
5.5.300.0070.06317.95
5.5.290.0030.04318.08
5.5.280.0170.07020.98
5.5.270.0330.05020.87
5.5.260.0030.06020.84
5.5.250.0070.06020.55
5.5.240.0170.04020.04

preferences:
142.38 ms | 1394 KiB | 7 Q