3v4l.org

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

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.0000.07720.34
7.0.00.0070.04020.23
5.6.160.0130.08320.46
5.6.150.0070.05018.12
5.6.140.0000.04318.18
5.6.130.0030.04018.18
5.6.120.0070.05021.05
5.6.110.0070.09021.13
5.6.100.0000.09320.98
5.6.90.0130.07320.98
5.6.80.0070.08020.41
5.5.300.0070.08017.96
5.5.290.0030.08017.92
5.5.280.0170.07720.87
5.5.270.0130.08020.75
5.5.260.0000.09320.67
5.5.250.0100.05320.46
5.5.240.0170.03720.14

preferences:
140 ms | 1394 KiB | 7 Q