3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hungerArray = array( "<font color=red><b>Dead</b></font>", "<font color=red><b>Extremely Starving</b></font>", "<font color=red><b>Very Starving</b></font>", "<font color=red><b>Starving</b></font>", "<font color=blue><b>Realllly Hungry</b></font>", "<font color=blue><b>Pretty Hungry</b></font>", "<font color=blue><b>Hungry</b></font>", "<font color=green><b>Not Hungry</b></font>", "<font color=green><b>Stuffed</b></font>", "<font color=red><b>Bloated</b></font>", "<font color=red><b>Fat</b></font>"); $defaultPointsVariable = "KP"; $noPetsLine = "<p><b>Notice: You Have Not Adopted A Pet!</b><br>You can go <a href=$websiteURL/getpet.php?game=$game>here</a> to Adopt A Pet Today!</p>"; $systemMessageStart = "<br><CENTER><TABLE BGCOLOR=\"#000000\" CELLSPACING=1 CELLPADDING=0 WIDTH=450 HEIGHT=45> <TR BGCOLOR=\"#FFFFFF\"> <TD BGCOLOR=\"$middleBG\"><p align=center><FONT SIZE=\"-1\">"; $systemMessageEnd = "</FONT></p> </TD> </TR> </TABLE></CENTER>"; $updateTemplate = "<b>News Update</b> (<a href=$websiteURL/updates.pro.php?game=$game>OK</a>)"; $errorTemplate = "<p align=center><b>$error</b></p>"; $secondsToKeepUsersOn = 300; // Change this to the number of seconds to keep users on the who's on list from their last visit $policeModLine = "<p align=center><a href=# onClick=\"window.open('$websiteURL/admin/admin_remote.php?game=$game','remote','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=200,height=60')\">Mute User</a> | <a href=$websiteURL/warn_user.php?game=$game>Warn User</a>"; $adminLine = " | <a href=$websiteURL/admin/admin.php?game=$game>Admin Section</a>"; $bottomLIne = "<p align=center><a href=tos.php?game=$game>Rules</a> | <a href=$websiteURL>Pet Game!</a>"; $noPremium = " | <a href=upgrade.php?game=$game>Upgrade to Premium Now!</a>"; $noAccessError = "You do not have access to this page. Please login first.";

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)
8.3.60.0140.00716.88
8.3.50.0060.00916.57
8.3.40.0060.00918.71
8.3.30.0110.00318.66
8.3.20.0000.00820.29
8.3.10.0000.00821.77
8.3.00.0040.00419.45
8.2.180.0120.00318.41
8.2.170.0040.01122.96
8.2.160.0120.00320.35
8.2.150.0000.00824.18
8.2.140.0060.01024.66
8.2.130.0040.00422.17
8.2.120.0000.00826.35
8.2.110.0060.00320.92
8.2.100.0030.01018.06
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0030.00617.49
8.2.60.0060.00318.03
8.2.50.0040.00418.10
8.2.40.0040.00420.64
8.2.30.0000.00819.16
8.2.20.0040.00417.96
8.2.10.0040.00418.11
8.2.00.0050.00218.01
8.1.280.0090.00925.92
8.1.270.0080.00023.79
8.1.260.0050.00226.35
8.1.250.0070.00028.09
8.1.240.0070.00323.84
8.1.230.0040.00818.72
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0000.00918.51
8.1.160.0050.00319.03
8.1.150.0040.00420.57
8.1.140.0050.00219.55
8.1.130.0000.00718.87
8.1.120.0000.00717.34
8.1.110.0050.00317.27
8.1.100.0040.00417.29
8.1.90.0000.00717.36
8.1.80.0030.00617.30
8.1.70.0040.00417.29
8.1.60.0040.00417.54
8.1.50.0000.00817.51
8.1.40.0000.00817.41
8.1.30.0030.00717.59
8.1.20.0030.00517.63
8.1.10.0000.00817.54
8.1.00.0040.00417.46
8.0.300.0000.00818.77
8.0.290.0050.00216.75
8.0.280.0050.00318.45
8.0.270.0030.00317.25
8.0.260.0050.00316.76
8.0.250.0070.00017.05
8.0.240.0030.00616.99
8.0.230.0040.00417.01
8.0.220.0000.00716.95
8.0.210.0000.00816.86
8.0.200.0000.00616.91
8.0.190.0060.00317.00
8.0.180.0040.00417.02
8.0.170.0040.00417.03
8.0.160.0040.00316.86
8.0.150.0040.00416.89
8.0.140.0000.00716.95
8.0.130.0030.00313.32
8.0.120.0040.00416.81
8.0.110.0000.00816.76
8.0.100.0040.00416.82
8.0.90.0020.00516.78
8.0.80.0090.00616.96
8.0.70.0030.00516.77
8.0.60.0000.00716.91
8.0.50.0070.00016.98
8.0.30.0100.01017.17
8.0.20.0090.01117.40
8.0.10.0000.00816.92
8.0.00.0030.01416.70
7.4.330.0050.00015.55
7.4.320.0040.00416.55
7.4.300.0030.00316.52
7.4.290.0030.00316.53
7.4.280.0000.00816.43
7.4.270.0080.00016.39
7.4.260.0000.00816.54
7.4.250.0040.00416.32
7.4.240.0000.00716.48
7.4.230.0000.00716.25
7.4.220.0030.01416.61
7.4.210.0110.00416.40
7.4.200.0000.00716.61
7.4.160.0120.00616.42
7.4.150.0090.00917.40
7.4.140.0110.01217.86
7.4.130.0150.00916.52
7.4.120.0110.01016.44
7.4.110.0110.00716.61
7.4.100.0030.01816.43
7.4.90.0090.00916.34
7.4.80.0090.01219.39
7.4.70.0040.01216.55
7.4.60.0140.00316.50
7.4.50.0100.00716.55
7.4.40.0100.00716.40
7.4.30.0110.00716.45
7.4.10.0070.00915.02
7.4.00.0070.01015.00
7.3.330.0000.00513.14
7.3.320.0050.00013.00
7.3.310.0070.00016.09
7.3.300.0050.00216.25
7.3.290.0100.00816.28
7.3.280.0100.00716.27
7.3.270.0120.00917.40
7.3.260.0080.00916.50
7.3.250.0100.01216.29
7.3.240.0080.00816.30
7.3.230.0060.01316.35
7.3.210.0170.00316.30
7.3.200.0070.01016.17
7.3.190.0130.00316.24
7.3.180.0090.00716.50
7.3.170.0080.00816.36
7.3.160.0100.00716.30
7.3.130.0060.01014.78
7.3.120.0070.01114.67
7.3.110.0080.00914.76
7.3.100.0030.01014.90
7.3.90.0050.00914.69
7.3.80.0060.00614.76
7.3.70.0030.00814.73
7.3.60.0080.00614.75
7.3.50.0060.00814.67
7.3.40.0080.00714.70
7.3.30.0030.01014.74
7.3.20.0040.00716.54
7.3.10.0010.00916.50
7.3.00.0080.00616.56
7.2.330.0070.01016.53
7.2.320.0160.00316.59
7.2.310.0090.01316.61
7.2.300.0110.00616.55
7.2.290.0000.01716.70
7.2.260.0120.00614.89
7.2.250.0110.00814.72
7.2.240.0020.01114.80
7.2.230.0080.00814.97
7.2.220.0060.01015.01
7.2.210.0070.00614.86
7.2.200.0050.00814.97
7.2.190.0070.00614.82
7.2.180.0070.00614.90
7.2.170.0050.00814.91
7.2.160.0060.00714.99
7.2.150.0040.00916.77
7.2.140.0050.01016.77
7.2.130.0070.00516.69
7.2.120.0070.00816.69
7.2.110.0080.00516.61
7.2.100.0080.00316.86
7.2.90.0080.00816.87
7.2.80.0070.00816.81
7.2.70.0070.00816.80
7.2.60.0060.00916.70
7.2.50.0060.01016.77
7.2.40.0010.01116.82
7.2.30.0050.00916.70
7.2.20.0070.00816.77
7.2.10.0080.00516.74
7.2.00.0070.00617.40
7.1.330.0100.00515.65
7.1.320.0080.00715.70
7.1.310.0070.00615.65
7.1.300.0050.00615.60
7.1.290.0080.00415.62
7.1.280.0030.00915.58
7.1.270.0080.00715.57
7.1.260.0050.00715.56
7.1.250.0050.00715.61
7.1.240.0070.00615.62
7.1.230.0020.01015.60
7.1.220.0050.00715.59
7.1.210.0030.01015.59
7.1.200.0080.00715.52
7.1.190.0060.00815.66
7.1.180.0070.00715.58
7.1.170.0040.00615.79
7.1.160.0060.00815.72
7.1.150.0090.00415.56
7.1.140.0040.00915.67
7.1.130.0030.00815.75
7.1.120.0050.00515.44
7.1.110.0000.01215.71
7.1.100.0040.00816.55
7.1.90.0000.01215.85
7.1.80.0050.00815.64
7.1.70.0070.00816.12
7.1.60.0130.01322.10
7.1.50.0130.00822.00
7.1.40.0100.01221.84
7.1.30.0100.01121.83
7.1.20.0090.01321.96
7.1.10.0050.00815.90
7.1.00.0060.01215.90
7.0.330.0050.01015.22
7.0.320.0060.00615.26
7.0.310.0070.00515.24
7.0.300.0060.00615.22
7.0.290.0050.00915.41
7.0.280.0060.00815.14
7.0.270.0050.00815.29
7.0.260.0080.00315.33
7.0.250.0050.00915.28
7.0.240.0010.01215.35
7.0.230.0030.01115.28
7.0.220.0070.00415.17
7.0.210.0050.00815.44
7.0.200.0090.00515.83
7.0.190.0050.00815.74
7.0.180.0140.00215.53
7.0.170.0030.01115.49
7.0.160.0030.01115.57
7.0.150.0060.00915.63
7.0.140.0090.00915.64
7.0.130.0080.00815.71
7.0.120.0040.00815.70
7.0.110.0060.01115.12
7.0.100.0070.00915.57
7.0.90.0050.00715.56
7.0.80.0050.00915.62
7.0.70.0060.00914.95
7.0.60.0060.01115.50
7.0.50.0080.00715.48
7.0.40.0050.01014.49
7.0.30.0050.00814.26
7.0.20.0070.00813.76
7.0.10.0050.00714.27
7.0.00.0060.01014.33
5.6.400.0050.00714.39
5.6.390.0060.00814.51
5.6.380.0070.00714.24
5.6.370.0040.00614.24
5.6.360.0050.00814.20
5.6.350.0070.00614.38
5.6.340.0040.00514.24
5.6.330.0030.01214.26
5.6.320.0070.00814.37
5.6.310.0040.00814.32
5.6.300.0050.00814.18
5.6.290.0060.01114.37
5.6.280.0030.01014.23
5.6.270.0050.00914.25
5.6.260.0060.00814.48
5.6.250.0070.01014.18
5.6.240.0080.00614.19
5.6.230.0030.01014.34
5.6.220.0020.00914.37
5.6.210.0030.00914.18
5.6.200.0030.00914.23
5.6.190.0090.00414.15
5.6.180.0050.00614.31
5.6.170.0070.00414.08
5.6.160.0090.00514.26
5.6.150.0070.01114.28
5.6.140.0060.00614.25
5.6.130.0030.00914.25
5.6.120.0050.00914.24
5.6.110.0130.00414.18
5.6.100.0060.00714.29
5.6.90.0100.00314.40
5.6.80.0050.00714.08
5.6.70.0090.00414.19
5.6.60.0020.01114.20
5.6.50.0030.00814.41
5.6.40.0090.00314.29
5.6.30.0050.00914.16
5.6.20.0120.00314.19
5.6.10.0050.00614.30
5.6.00.0040.00514.23

preferences:
44.16 ms | 400 KiB | 5 Q