3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_SESSION_start(); <p class="error"><?php echo ('{$_SESSION['error']}'); ?></p> ?>

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.0070.07020.33
7.0.00.0130.07320.09
5.6.160.0100.08020.47
5.6.150.0070.06018.18
5.6.140.0070.06718.14
5.6.130.0070.04018.27
5.6.120.0070.04320.99
5.6.110.0100.04021.09
5.6.100.0100.08020.91
5.6.90.0030.09321.01
5.6.80.0030.04020.38
5.5.300.0100.06717.94
5.5.290.0100.08017.98
5.5.280.0130.07020.68
5.5.270.0070.06320.86
5.5.260.0200.05320.82
5.5.250.0230.04720.46
5.5.240.0200.04720.04

preferences:
143.24 ms | 1394 KiB | 7 Q