3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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.0150.04411.99
5.4.40.0150.05511.98
5.4.30.0180.05311.97
5.4.20.0130.04911.97
5.4.10.0160.05611.97
5.4.00.0160.04411.46
5.3.150.0260.05812.67
5.3.140.0190.04612.66
5.3.130.0190.05812.66
5.3.120.0270.05712.66
5.3.110.0180.05112.66
5.3.100.0210.05412.12
5.3.90.0180.05512.08
5.3.80.0180.04812.08
5.3.70.0220.05212.08
5.3.60.0140.04912.06
5.3.50.0220.04812.00
5.3.40.0140.04712.00
5.3.30.0210.04811.94
5.3.20.0120.04711.73
5.3.10.0190.03911.69
5.3.00.0120.04711.67

preferences:
191.32 ms | 1394 KiB | 7 Q