3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1; $b = 2; $c = (1 == 1? &$a : &$b); print_r($c); print_r(++$c);

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.00.0130.06720.02
5.6.160.0070.05320.62
5.6.150.0030.04318.15
5.6.140.0100.03718.19
5.6.130.0030.04018.27
5.6.120.0100.08020.96
5.6.110.0070.09021.01
5.6.100.0030.08720.98
5.6.90.0100.06720.96
5.6.80.0070.08020.46
5.5.300.0030.07717.98
5.5.290.0100.07718.10
5.5.280.0070.08320.77
5.5.270.0070.04320.86
5.5.260.0130.08020.86
5.5.250.0100.08320.70
5.5.240.0230.05720.36

preferences:
142.95 ms | 1398 KiB | 8 Q