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.0100.06020.19
5.6.160.0130.07020.71
5.6.150.0070.06018.23
5.6.140.0100.05318.24
5.6.130.0100.03718.24
5.6.120.0030.09020.89
5.6.110.0100.08020.89
5.6.100.0100.08021.10
5.6.90.0170.08321.07
5.6.80.0100.07720.53
5.5.300.0130.05018.00
5.5.290.0070.08017.93
5.5.280.0100.04320.89
5.5.270.0030.04320.96
5.5.260.0030.07720.75
5.5.250.0070.08020.68
5.5.240.0070.06720.23

preferences:
141.1 ms | 1394 KiB | 7 Q