3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f(&x){ $x[] = 'x'; } $t = array(); f($t); var_dump($t);

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)
5.4.50.0100.04812.02
5.4.40.0130.04112.00
5.4.30.0110.04112.00
5.4.20.0110.03812.00
5.4.10.0110.04212.00
5.4.00.0090.04111.49
5.3.150.0090.04112.67
5.3.140.0110.04812.66
5.3.130.0100.04112.66
5.3.120.0080.05312.66
5.3.110.0130.05212.66
5.3.100.0110.04012.12
5.3.90.0110.03912.11
5.3.80.0120.03912.08
5.3.70.0090.04212.08
5.3.60.0110.03912.07
5.3.50.0110.04012.02
5.3.40.0100.04112.02
5.3.30.0080.04211.98
5.3.20.0090.04111.76
5.3.10.0100.04011.73
5.3.00.0090.04211.71

preferences:
138.55 ms | 1394 KiB | 7 Q