3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php echo "Your User Agent is :" . $_SERVER ['HTTP_USER_AGENT']; ?> - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.FHBegcev.dpuf

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.300.0200.03319.24
5.4.290.0270.07718.87
5.4.280.0270.06019.31
5.4.270.0300.05719.22
5.4.260.0170.04019.23
5.4.250.0230.07719.21
5.4.240.0300.06319.23
5.4.230.0200.07318.98
5.4.220.0170.05019.07
5.4.210.0100.04319.22
5.4.200.0200.08019.04
5.4.190.0300.07019.23
5.4.180.0230.05019.23
5.4.170.0300.06719.30
5.4.160.0330.06018.85
5.4.150.0170.04719.20
5.4.140.0300.06016.55
5.4.130.0300.06316.38
5.4.120.0200.07316.35
5.4.110.0200.03716.55
5.4.100.0270.03716.31
5.4.90.0300.05716.55
5.4.80.0230.06716.35
5.4.70.0230.06716.44
5.4.60.0270.07016.19
5.4.50.0200.04316.25
5.4.40.0200.07316.43
5.4.30.0170.07316.52
5.4.20.0330.05016.58
5.4.10.0230.05016.43
5.4.00.0300.04315.76
5.3.280.0170.08014.41
5.3.270.0170.06014.55
5.3.260.0230.07314.70
5.3.250.0200.07314.60
5.3.240.0270.06014.45
5.3.230.0270.07714.63
5.3.220.0200.04714.61
5.3.210.0170.05714.61
5.3.200.0170.04014.48
5.3.190.0330.06014.55
5.3.180.0270.04314.40
5.3.170.0330.06714.40
5.3.160.0270.06714.40
5.3.150.0230.05014.50
5.3.140.0230.04714.46
5.3.130.0230.07014.53
5.3.120.0170.06314.48
5.3.110.0200.08014.39
5.3.100.0200.05013.98
5.3.90.0230.06313.83
5.3.80.0270.04713.79
5.3.70.0170.05713.84
5.3.60.0200.07013.92
5.3.50.0170.05314.04
5.3.40.0230.07013.72
5.3.30.0230.07313.74
5.3.20.0230.07013.66
5.3.10.0270.06313.50
5.3.00.0200.07313.58

preferences:
136.02 ms | 1398 KiB | 7 Q