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.0130.07020.09
7.0.00.0070.04320.06
5.6.160.0100.08320.39
5.6.150.0100.07318.29
5.6.140.0170.05018.16
5.6.130.0100.03718.21
5.6.120.0100.03721.09
5.6.110.0170.07021.13
5.6.100.0130.06720.97
5.6.90.0070.09020.97
5.6.80.0030.04020.50
5.5.300.0000.08717.98
5.5.290.0130.06717.99
5.5.280.0030.06720.73
5.5.270.0070.04020.97
5.5.260.0170.06720.67
5.5.250.0100.08020.61
5.5.240.0170.06720.18

preferences:
140.87 ms | 1394 KiB | 7 Q