3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = []; $arr["test"] ?? echo "nope";

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.0230.05720.15
7.0.10.0100.08720.23
7.0.00.0070.05020.20
5.6.170.0230.07020.57
5.6.160.0070.05020.55
5.6.150.0000.04018.18
5.6.140.0030.07718.15
5.6.130.0130.07018.18
5.6.120.0200.07021.05
5.6.110.0030.04020.96
5.6.100.0070.07320.99
5.6.90.0070.03721.12
5.6.80.0100.07320.42
5.5.310.0300.07720.30
5.5.300.0000.05318.03
5.5.290.0100.04317.95
5.5.280.0130.08020.84
5.5.270.0030.08020.76
5.5.260.0130.06020.79
5.5.250.0070.04020.57
5.5.240.0370.06020.14

preferences:
141.99 ms | 1394 KiB | 7 Q