3v4l.org

run code in 300+ PHP versions simultaneously
<?php $function = function ($a) { var_dump($a); } $function('asdf');

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.270.0270.05018.94
5.4.260.0270.05019.08
5.4.250.0200.04019.06
5.4.240.0300.07018.87
5.4.230.0300.06719.14
5.4.220.0270.07318.87
5.4.210.0300.04319.08
5.4.200.0230.06719.21
5.4.190.0270.03719.13
5.4.180.0170.05019.08
5.4.170.0300.03319.21
5.4.160.0270.03719.14
5.4.150.0230.05018.95
5.4.140.0370.06316.33
5.4.130.0300.05316.35
5.4.120.0330.05716.32
5.4.110.0400.06016.29
5.4.100.0270.07316.19
5.4.90.0330.06316.56
5.4.80.0370.05716.21
5.4.70.0300.07016.43
5.4.60.0370.06316.17
5.4.50.0330.06016.43
5.4.40.0170.04316.16
5.4.30.0270.06716.53
5.4.20.0370.06016.15
5.4.10.0230.07016.34
5.4.00.0230.04715.94
5.3.280.0370.06014.68
5.3.270.0400.06714.72
5.3.260.0270.07314.70
5.3.250.0300.04014.57
5.3.240.0400.06314.53
5.3.230.0330.05314.58
5.3.220.0300.07314.49
5.3.210.0270.06714.49
5.3.200.0300.07014.49
5.3.190.0370.06714.65
5.3.180.0330.06014.61
5.3.170.0330.06014.50
5.3.160.0300.04014.78
5.3.150.0230.06014.57
5.3.140.0230.06714.46
5.3.130.0230.04014.77
5.3.120.0300.07714.47
5.3.110.0230.04714.66
5.3.100.0300.06713.95
5.3.90.0270.05313.92
5.3.80.0330.07014.03
5.3.70.0300.06713.94
5.3.60.0270.07314.22
5.3.50.0270.05014.03
5.3.40.0300.06313.99
5.3.30.0400.05013.93
5.3.20.0300.04313.61
5.3.10.0330.06313.71
5.3.00.0300.06313.54
5.2.170.0230.03312.48
5.2.160.0270.05312.48
5.2.150.0230.05712.48
5.2.140.0230.04012.48
5.2.130.0270.05312.48
5.2.120.0200.05712.48
5.2.110.0230.05312.48
5.2.100.0270.06012.48
5.2.90.0230.03712.48
5.2.80.0300.05012.48
5.2.70.0300.05312.48
5.2.60.0200.04312.48
5.2.50.0300.04712.48
5.2.40.0200.02712.48
5.2.30.0130.03312.48
5.2.20.0170.06312.48
5.2.10.0200.05312.48
5.2.00.0230.03712.48
5.1.60.0170.05312.48
5.1.50.0170.05012.48
5.1.40.0230.03312.48
5.1.30.0170.04312.48
5.1.20.0170.03312.48
5.1.10.0300.04712.48
5.1.00.0270.04312.48
5.0.50.0100.04012.48
5.0.40.0130.02712.48
5.0.30.0100.07012.48
5.0.20.0100.04012.48
5.0.10.0100.02312.48
5.0.00.0070.06712.48
4.4.90.0130.02012.48
4.4.80.0130.03312.48
4.4.70.0070.03012.48
4.4.60.0100.02012.48
4.4.50.0130.03312.48
4.4.40.0130.03712.48
4.4.30.0100.03312.48
4.4.20.0130.03012.48
4.4.10.0130.03312.48
4.4.00.0100.05312.48
4.3.110.0130.03312.48
4.3.100.0070.03312.48
4.3.90.0170.02012.48
4.3.80.0100.04312.48
4.3.70.0100.03012.48
4.3.60.0130.02712.48
4.3.50.0070.03312.48
4.3.40.0130.04012.48
4.3.30.0030.03012.48
4.3.20.0030.03312.48
4.3.10.0100.03012.48
4.3.00.0030.02312.48

preferences:
140.18 ms | 1394 KiB | 7 Q