3v4l.org

run code in 300+ PHP versions simultaneously
<?php file_put_contents($tmp=tempnam("/tmp", md5(date("Ymds")), '<?php echo "a";'); include($tmp);

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.0200.04320.21
7.0.10.0070.05020.15
7.0.00.0070.04720.18
5.6.170.0470.06320.44
5.6.160.0000.04320.57
5.6.150.0030.08318.22
5.6.140.0170.05718.18
5.6.130.0170.02718.21
5.6.120.0200.02721.00
5.6.110.0070.04020.97
5.6.100.0270.07021.11
5.6.90.0070.06721.07
5.6.80.0170.06720.48
5.5.310.0300.04020.34
5.5.300.0100.06317.98
5.5.290.0130.08017.96
5.5.280.0070.07720.73
5.5.270.0100.07320.76
5.5.260.0030.04320.82
5.5.250.0030.04020.54
5.5.240.4300.03320.25

preferences:
141.08 ms | 1394 KiB | 7 Q