3v4l.org

run code in 300+ PHP versions simultaneously
<?php function meh(HH\string str = 'asdf') { var_dump(str); } meh();

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.340.0470.06719.20
5.4.320.0370.05018.98
5.4.310.0430.05019.27
5.4.300.0430.06019.31
5.4.290.0500.06719.09
5.4.280.0400.04318.99
5.4.270.0570.03718.86
5.4.260.0530.04319.21
5.4.250.0430.06018.97
5.4.240.0400.07018.99
5.4.230.0470.03718.86
5.4.220.0430.04718.86
5.4.210.0500.06019.13
5.4.200.0330.04018.94
5.4.190.0430.04318.97
5.4.180.0500.05019.07
5.4.170.0430.04719.23
5.4.160.0430.07018.82
5.4.150.0470.03019.20
5.4.140.0430.07716.50
5.4.130.0270.04316.31
5.4.120.0400.04016.48
5.4.110.0400.05016.59
5.4.100.0400.03716.54
5.4.90.0470.06316.26
5.4.80.0470.05716.57
5.4.70.0400.04016.34
5.4.60.0470.05716.54
5.4.50.0470.03316.57
5.4.40.0370.05316.51
5.4.30.0470.06316.29
5.4.20.0530.05716.52
5.4.10.0370.03716.32
5.4.00.0330.03715.82
5.3.290.0530.05714.66
5.3.280.0470.06014.49
5.3.270.0330.04014.70
5.3.260.0430.03314.49
5.3.250.0400.04314.63
5.3.240.0370.04314.53
5.3.230.0370.03714.57
5.3.220.0270.04714.64
5.3.210.0530.06014.57
5.3.200.0430.03714.48
5.3.190.0430.06714.47
5.3.180.0430.05714.79
5.3.170.0500.04014.47
5.3.160.0430.07314.55
5.3.150.0530.06314.62
5.3.140.0500.06314.54
5.3.130.0430.05714.47
5.3.120.0500.06314.54
5.3.110.0500.07014.70
5.3.100.0300.04713.96
5.3.90.0570.05014.18
5.3.80.0400.05314.19
5.3.70.0630.04313.94
5.3.60.0470.04014.00
5.3.50.0470.04014.04
5.3.40.0430.03013.86
5.3.30.0570.04714.02
5.3.20.0370.07013.77
5.3.10.0470.04013.66
5.3.00.0430.06013.71
5.2.170.0400.05311.07
5.2.160.0330.04011.06
5.2.150.0530.02011.14
5.2.140.0330.03011.09
5.2.130.0270.03711.18
5.2.120.0270.03011.15
5.2.110.0400.03011.00
5.2.100.0430.04311.32
5.2.90.0400.05711.01
5.2.80.0330.03711.17
5.2.70.0300.03011.05
5.2.60.0330.03010.97
5.2.50.0400.05311.17
5.2.40.0230.03311.21
5.2.30.0330.05311.19
5.2.20.0230.04311.04
5.2.10.0300.05010.87
5.2.00.0330.05310.64
5.1.60.0400.02310.11
5.1.50.0330.0509.93
5.1.40.0300.0339.98
5.1.30.0270.02710.34
5.1.20.0370.02710.36
5.1.10.0300.04010.08
5.1.00.0300.05010.13
5.0.50.0100.0409.59
5.0.40.0170.0379.59
5.0.30.0270.0509.59
5.0.20.0170.0339.59
5.0.10.0200.0439.59
5.0.00.0230.0309.59
4.4.90.0100.0179.59
4.4.80.0170.0339.59
4.4.70.0170.0179.59
4.4.60.0200.0209.59
4.4.50.0200.0139.59
4.4.40.0170.0309.59
4.4.30.0130.0179.59
4.4.20.0170.0309.59
4.4.10.0170.0339.59
4.4.00.0170.0409.59
4.3.110.0170.0339.59
4.3.100.0170.0279.59
4.3.90.0130.0209.59
4.3.80.0170.0539.59
4.3.70.0170.0239.59
4.3.60.0270.0239.59
4.3.50.0200.0309.59
4.3.40.0230.0409.59
4.3.30.0130.0309.59
4.3.20.0130.0339.59
4.3.10.0070.0239.59
4.3.00.0100.0339.59

preferences:
130.44 ms | 1398 KiB | 7 Q