3v4l.org

run code in 300+ PHP versions simultaneously
<?php define("lol", "wat"); define("echo", "icky"); define("die", "foo"); echo lol; echo echo echo die;

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.350.0330.03718.99
5.4.340.0330.03719.15
5.4.320.0530.06318.87
5.4.310.0370.05019.02
5.4.300.0300.05019.24
5.4.290.0430.06319.22
5.4.280.0400.03018.99
5.4.270.0400.05019.13
5.4.260.0300.04318.87
5.4.250.0270.04318.87
5.4.240.0370.04019.10
5.4.230.0370.03019.14
5.4.220.0400.06019.21
5.4.210.0400.05318.86
5.4.200.0430.05719.22
5.4.190.0400.04319.33
5.4.180.0330.04319.05
5.4.170.0430.05018.94
5.4.160.0370.07318.97
5.4.150.0500.05719.29
5.4.140.0430.05716.33
5.4.130.0300.07316.43
5.4.120.0330.04016.34
5.4.110.0400.07016.56
5.4.100.0400.06316.37
5.4.90.0500.05016.22
5.4.80.0330.04016.39
5.4.70.0530.06016.48
5.4.60.0500.05716.25
5.4.50.0370.04016.44
5.4.40.0500.04016.51
5.4.30.0500.05316.55
5.4.20.0500.06016.37
5.4.10.0530.05316.50
5.4.00.0500.05315.73
5.3.290.0270.04314.75
5.3.280.0500.04014.55
5.3.270.0400.06014.46
5.3.260.0330.04014.45
5.3.250.0400.04314.64
5.3.240.0470.06314.47
5.3.230.0400.07014.54
5.3.220.0430.03714.66
5.3.210.0430.07014.62
5.3.200.0400.06314.43
5.3.190.0430.07014.45
5.3.180.0470.03314.43
5.3.170.0470.04014.50
5.3.160.0330.04314.65
5.3.150.0400.03314.41
5.3.140.0400.04714.63
5.3.130.0470.06714.39
5.3.120.0370.05314.59
5.3.110.0470.04014.48
5.3.100.0370.04313.88
5.3.90.0430.06313.86
5.3.80.0400.05013.86
5.3.70.0470.06013.92
5.3.60.0470.05713.84
5.3.50.0430.04713.92
5.3.40.0500.05713.74
5.3.30.0400.04713.95
5.3.20.0330.04013.48
5.3.10.0300.04313.61
5.3.00.0400.06013.66
5.2.170.0370.03312.30
5.2.160.0400.06012.30
5.2.150.0400.03312.30
5.2.140.0370.05712.30
5.2.130.0330.05012.30
5.2.120.0330.05312.30
5.2.110.0230.03712.30
5.2.100.0300.05712.30
5.2.90.0270.03012.30
5.2.80.0430.05012.30
5.2.70.0430.07012.30
5.2.60.0330.05312.30
5.2.50.0270.04312.30
5.2.40.0230.03312.30
5.2.30.0270.04312.30
5.2.20.0370.05012.30
5.2.10.0400.05312.30
5.2.00.0330.05012.30
5.1.60.0300.02712.30
5.1.50.0370.05012.30
5.1.40.0300.05012.30
5.1.30.0330.03312.30
5.1.20.0300.03312.30
5.1.10.0270.02012.30
5.1.00.0270.05312.30
5.0.50.0100.03012.30
5.0.40.0130.04312.30
5.0.30.0100.03712.30
5.0.20.0170.04012.30
5.0.10.0170.03712.30
5.0.00.0130.06012.30
4.4.90.0130.03312.30
4.4.80.0170.03012.30
4.4.70.0130.02312.30
4.4.60.0170.01712.30
4.4.50.0200.03012.30
4.4.40.0200.04712.30
4.4.30.0200.03012.30
4.4.20.0170.03312.30
4.4.10.0130.03012.30
4.4.00.0130.05012.30
4.3.110.0130.02712.30
4.3.100.0170.03012.30
4.3.90.0200.02712.30
4.3.80.0100.03712.30
4.3.70.0170.01312.30
4.3.60.0230.03012.30
4.3.50.0170.03312.30
4.3.40.0200.04012.30
4.3.30.0070.03312.30
4.3.20.0070.03712.30
4.3.10.0130.01312.30
4.3.00.0070.03712.30

preferences:
149.36 ms | 1394 KiB | 7 Q