3v4l.org

run code in 300+ PHP versions simultaneously
<?php 'var_dump(in_array("asd", array(0)));

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.07016.44
5.4.40.0130.05716.41
5.4.30.0070.06016.50
5.4.20.0070.07016.38
5.4.10.0100.03716.64
5.4.00.0100.06315.86
5.3.150.0100.07314.50
5.3.140.0130.07314.50
5.3.130.0030.08314.43
5.3.120.0130.06714.37
5.3.110.0100.06014.49
5.3.100.0130.05013.97
5.3.90.0030.04013.95
5.3.80.0030.03713.98
5.3.70.0070.05713.94
5.3.60.0070.04713.92
5.3.50.0030.04713.76
5.3.40.0070.05313.86
5.3.30.0070.07013.83
5.3.20.0030.04313.79
5.3.10.0070.03713.58
5.3.00.0100.07313.45

preferences:
144.52 ms | 1394 KiB | 7 Q