3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_diff_assoc(array('a' => array(true)), array('b' => array(false)));

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.30.0150.05411.97
5.4.20.0140.05311.97
5.4.10.0170.05511.97
5.4.00.0120.04711.47
5.3.130.0160.04312.66
5.3.120.0140.04712.66
5.3.110.0170.04212.66
5.3.100.0180.04312.12
5.3.90.0190.05212.08
5.3.80.0160.04612.08
5.3.70.0130.04612.07
5.3.60.0160.04812.06
5.3.50.0200.05812.00
5.3.40.0140.04912.00
5.3.30.0190.05511.95
5.3.20.0160.04411.73
5.3.10.0200.06111.69
5.3.00.0130.04311.68

preferences:
142.63 ms | 1398 KiB | 7 Q