3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $_SERVER['HTTP_USER_AGENT"];

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.40.0270.07316.38
5.4.30.0270.07016.42
5.4.20.0300.05716.50
5.4.10.0170.06016.42
5.4.00.0170.07715.80
5.3.140.0200.04714.49
5.3.130.0270.07314.45
5.3.120.0200.07314.60
5.3.110.0200.06014.50
5.3.100.0230.07313.95
5.3.90.0270.06013.86
5.3.80.0270.06714.04
5.3.70.0170.05713.86
5.3.60.0300.06713.95
5.3.50.0230.07013.85
5.3.40.0130.04713.91
5.3.30.0230.06713.93
5.3.20.0130.05313.55
5.3.10.0200.05013.64
5.3.00.0330.03313.43

preferences:
141.65 ms | 1398 KiB | 7 Q