3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "hola"; call_user_func(function(){ echo $a; },&$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.0230.03720.26
7.0.10.0100.09020.23
7.0.00.0100.08020.27
5.6.170.0270.07720.44
5.6.160.0070.08720.55
5.6.150.0030.04018.13
5.6.140.0070.05318.18
5.6.130.0130.05318.20
5.6.120.0130.07320.99
5.6.110.0130.07721.14
5.6.100.0230.03321.13
5.6.90.0100.07721.11
5.6.80.0100.04320.51
5.5.310.0300.05720.24
5.5.300.0030.05018.01
5.5.290.0070.05018.04
5.5.280.0070.03720.90
5.5.270.0100.08320.66
5.5.260.0200.05720.80
5.5.250.0070.04020.79
5.5.240.0130.07320.26

preferences:
145.39 ms | 1398 KiB | 7 Q