3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = ["a"->1,"b"->2]; echo $foo["a"];

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.0270.05720.34
7.0.10.0070.05320.16
7.0.00.0200.06320.23
5.6.170.0300.05720.55
5.6.160.0030.09020.48
5.6.150.0100.07018.16
5.6.140.0130.04018.11
5.6.130.0130.08018.18
5.6.120.0030.04021.13
5.6.110.0200.07021.09
5.6.100.0100.05021.07
5.6.90.0070.04320.99
5.6.80.0070.07720.38
5.5.310.0370.06020.34
5.5.300.0000.04318.03
5.5.290.0070.08017.95
5.5.280.0130.08020.68
5.5.270.0130.06720.71
5.5.260.0070.05320.72
5.5.250.0030.07320.53
5.5.240.0270.07720.08

preferences:
139.47 ms | 1394 KiB | 7 Q