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.0100.03720.07
7.0.00.0070.07720.16
5.6.160.0100.07320.46
5.6.150.0070.05018.21
5.6.140.0130.05718.28
5.6.130.0070.04018.29
5.6.120.0170.07321.01
5.6.110.0000.04721.00
5.6.100.0030.08320.97
5.6.90.0070.07321.01
5.6.80.0030.04020.56
5.5.300.0070.06018.08
5.5.290.0100.08318.01
5.5.280.0030.04720.79
5.5.270.0070.08720.72
5.5.260.0100.05320.83
5.5.250.0070.08720.68
5.5.240.0170.07020.14

preferences:
142.5 ms | 1394 KiB | 7 Q