3v4l.org

run code in 300+ PHP versions simultaneously
<?php $SERVER_IP = "185.38.148.147"; //Insert the IP of the server you want to query. $SERVER_PORT = "25581"; //Insert the PORT of the server you want to ping. Needed to get the favicon, motd, players online and players max. etc $QUERY_PORT = "28016"; //Port of query.port="" in your server.properties. Needed for the playerlist! Can be the same like the port or different. Query must be enabled in your server.properties file! $HEADS = "3D"; //"normal" / "3D" $show_max = "unlimited"; // how much playerheads should we display? "unlimited" / "10" / "53"/ ... $SHOW_FAVICON = "on"; //"off" / "on" $ping = json_decode(file_get_contents('http://api.minetools.eu/ping/' . $SERVER_IP . '/' . $SERVER_PORT . ''), true); $query = json_decode(file_get_contents('http://api.minetools.eu/query/' . $SERVER_IP . '/' . $QUERY_PORT . ''), true); if(empty($ping['error'])) { $version = $ping['version']['name']; $online = $ping['players']['online']; $max = $ping['players']['max']; $motd = $ping['description']; $favicon = $ping['favicon']; } if(empty($query['error'])) { $playerlist = $query['Playerlist']; } ?>

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.70.0120.00318.93
8.3.60.0070.01117.13
8.3.50.0140.00521.16
8.3.40.0120.00319.14
8.3.30.0070.01019.08
8.3.20.0090.00020.54
8.3.10.0050.00322.01
8.3.00.0040.00420.04
8.2.180.0150.00718.76
8.2.170.0040.01122.96
8.2.160.0140.00320.64
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0060.00318.00
8.2.110.0090.00019.39
8.2.100.0070.00418.16
8.2.90.0030.00518.16
8.2.80.0030.00517.97
8.2.70.0080.00017.75
8.2.60.0060.00617.77
8.2.50.0040.00418.07
8.2.40.0060.00319.53
8.2.30.0050.00320.17
8.2.20.0000.00917.89
8.2.10.0040.00418.19
8.2.00.0000.00718.42
8.1.280.0090.00625.92
8.1.270.0040.01122.33
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0060.00624.13
8.1.230.0090.00322.73
8.1.220.0050.00317.91
8.1.210.0040.00419.01
8.1.200.0000.01017.47
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0050.00318.81
8.1.160.0040.00422.21
8.1.150.0070.00018.99
8.1.140.0080.00017.64
8.1.130.0030.00317.86
8.1.120.0000.00917.58
8.1.110.0040.00417.71
8.1.100.0040.00417.58
8.1.90.0000.00717.57
8.1.80.0030.00517.44
8.1.70.0040.00417.46
8.1.60.0050.00317.60
8.1.50.0040.00417.79
8.1.40.0040.00417.60
8.1.30.0070.00417.82
8.1.20.0030.00517.78
8.1.10.0000.00917.75
8.1.00.0000.00817.64
8.0.300.0040.00420.23
8.0.290.0040.00417.13
8.0.280.0070.00018.62
8.0.270.0000.00717.61
8.0.260.0040.00417.51
8.0.250.0030.00517.20
8.0.240.0040.00417.31
8.0.230.0040.00317.12
8.0.220.0000.00717.12
8.0.210.0080.00017.16
8.0.200.0060.00017.21
8.0.190.0000.00817.20
8.0.180.0000.00717.29
8.0.170.0040.00417.03
8.0.160.0000.00717.07
8.0.150.0000.00717.07
8.0.140.0000.00817.11
8.0.130.0040.00413.64
8.0.120.0060.00317.09
8.0.110.0080.00017.14
8.0.100.0040.00417.18
8.0.90.0050.00317.29
8.0.80.0140.00617.18
8.0.70.0000.00817.11
8.0.60.0030.00517.08
8.0.50.0040.00417.14
8.0.30.0080.01117.48
8.0.20.0130.00717.49
8.0.10.0000.00817.18
8.0.00.0100.01217.16
7.4.330.0000.00515.47
7.4.320.0040.00416.73
7.4.300.0060.00016.87
7.4.290.0050.00516.65
7.4.280.0040.00416.75
7.4.270.0070.00016.63
7.4.260.0040.00416.67
7.4.250.0000.00816.64
7.4.240.0060.00116.70
7.4.230.0040.00416.73
7.4.220.0120.01916.78
7.4.210.0110.00616.68
7.4.200.0000.00716.78
7.4.160.0080.00816.81
7.4.150.0060.01317.40
7.4.140.0130.00717.86
7.4.130.0140.00716.90
7.4.120.0080.01016.76
7.4.110.0080.01116.61
7.4.100.0120.01016.64
7.4.90.0090.00916.64
7.4.80.0100.01319.39
7.4.70.0110.00716.88
7.4.60.0060.01216.70
7.4.50.0060.00316.64
7.4.40.0070.01116.84
7.4.30.0070.01116.83
7.4.10.0070.01416.70
7.4.00.0070.01215.88
7.3.330.0070.00013.57
7.3.320.0000.00513.41
7.3.310.0000.00816.61
7.3.300.0000.00716.68
7.3.290.0040.00416.65
7.3.280.0100.01216.68
7.3.270.0130.00617.40
7.3.260.0090.00916.62
7.3.250.0180.01116.60
7.3.240.0130.00716.65
7.3.230.0090.01216.86
7.3.210.0000.01716.57
7.3.200.0120.00916.77
7.3.190.0060.01416.61
7.3.180.0110.00616.57
7.3.170.0070.01016.66
7.3.160.0080.01116.70
7.3.130.0030.01316.72
7.3.120.0000.01116.67
7.3.110.0090.00616.67
7.3.100.0040.01516.48
7.3.90.0040.01516.79
7.3.80.0080.00816.52
7.3.70.0040.00716.45
7.3.60.0030.01416.53
7.3.50.0060.01216.38
7.3.40.0030.01016.36
7.3.30.0070.00716.73
7.3.20.0080.00418.21
7.3.10.0060.01018.38
7.3.00.0040.00818.54
7.2.330.0090.00917.02
7.2.320.0070.01716.96
7.2.310.0030.01517.02
7.2.300.0080.00816.58
7.2.290.0140.01016.66
7.2.260.0100.01016.66
7.2.250.0060.01316.72
7.2.240.0070.01316.95
7.2.230.0060.00616.68
7.2.220.0070.01017.04
7.2.210.0070.00716.54
7.2.200.0060.01016.63
7.2.190.0100.00716.76
7.2.180.0080.00616.75
7.2.170.0030.01016.63
7.2.160.0030.01316.77
7.2.150.0070.00718.52
7.2.140.0040.01118.51
7.2.130.0060.01018.73
7.2.120.0040.00818.72
7.2.110.0000.01518.73
7.2.100.0070.01018.66
7.2.90.0120.00018.70
7.2.80.0040.00717.62
7.2.70.0070.00718.34
7.2.60.0090.00518.01
7.2.50.0040.00818.64
7.2.40.0120.00318.69
7.2.30.0090.00618.61
7.2.20.0120.00618.56
7.2.10.0040.01418.59
7.2.00.0030.01219.28
7.1.330.0060.01217.63
7.1.320.0110.00717.53
7.1.310.0030.01217.41
7.1.300.0120.00617.51
7.1.290.0080.00317.58
7.1.280.0030.00717.59
7.1.270.0120.00317.53
7.1.260.0070.00817.51
7.1.250.0030.00617.57
7.1.240.0030.00917.67
7.1.230.0060.00917.42
7.1.220.0070.01017.34
7.1.210.0070.00317.46
7.1.200.0030.01116.76
7.1.190.0060.00617.59
7.1.180.0120.00317.71
7.1.170.0050.00517.59
7.1.160.0070.00717.57
7.1.150.0060.00617.31
7.1.140.0100.00717.34
7.1.130.0140.00317.46
7.1.120.0000.01317.53
7.1.110.0030.00717.63
7.1.100.0050.00918.05
7.1.90.0120.00317.41
7.1.80.0000.01017.76
7.1.70.0030.00917.46
7.1.60.0050.01118.47
7.1.50.0150.00517.43
7.1.40.0000.01217.68
7.1.30.0000.01117.44
7.1.20.0060.00617.34
7.1.10.0090.00617.40
7.1.00.0020.04420.13
7.0.330.0000.00917.04
7.0.320.0100.00317.13
7.0.310.0040.01117.29
7.0.300.0000.01417.36
7.0.290.0060.00817.15
7.0.280.0030.01017.11
7.0.270.0150.00017.21
7.0.260.0080.00417.36
7.0.250.0070.00717.25
7.0.240.0030.00617.34
7.0.230.0090.00617.37
7.0.220.0030.01017.15
7.0.210.0030.00917.38
7.0.200.0000.01117.08
7.0.190.0000.00917.06
7.0.180.0030.01017.22
7.0.170.0060.00317.16
7.0.160.0030.00717.16
7.0.150.0060.00617.11
7.0.140.0090.00017.39
7.0.130.0000.01317.44
7.0.120.0030.00917.16
7.0.110.0040.00817.01
7.0.100.0090.00017.30
7.0.90.0090.00017.29
7.0.80.0040.01117.09
7.0.70.0000.00917.13
7.0.60.0100.04218.75
7.0.50.0050.02517.77
7.0.40.0090.04717.89
7.0.30.0110.02417.75
7.0.20.0150.02817.88
7.0.10.0030.05217.80
7.0.00.0070.05017.89
5.6.400.0110.00016.08
5.6.390.0060.00916.35
5.6.380.0060.01016.41
5.6.370.0100.00016.32
5.6.360.0000.01416.17
5.6.350.0060.00916.06
5.6.340.0030.01616.06
5.6.330.0030.01016.13
5.6.320.0060.00916.23
5.6.310.0070.00716.29
5.6.300.0080.00816.07
5.6.290.0030.01016.14
5.6.280.0100.03318.74
5.6.270.0060.00316.18
5.6.260.0110.00416.30
5.6.250.0110.00716.30
5.6.240.0040.01116.16
5.6.230.0070.01116.23
5.6.220.0030.01315.98
5.6.210.0030.04518.46
5.6.200.0050.03017.34
5.6.190.0080.02518.65
5.6.180.2110.02018.56
5.6.170.0200.04218.47
5.6.160.0090.02718.40
5.6.150.0100.03317.24
5.6.140.0050.02617.41
5.6.130.0050.03217.33
5.6.120.0020.02518.79
5.6.110.0100.04518.80
5.6.100.0080.04218.73
5.6.90.0080.04318.72
5.6.80.0070.04218.40
5.6.70.1750.02418.41
5.6.60.0060.00916.04
5.6.50.0070.00316.12
5.6.40.0090.00616.05
5.6.30.0040.01116.03
5.6.20.0040.00715.80
5.6.10.0030.01116.01
5.6.00.0040.00715.95
5.5.380.0040.01116.38
5.5.370.0000.01516.17
5.5.360.0080.00816.19
5.5.350.0120.03718.48
5.5.340.0110.02817.23
5.5.330.0030.02618.35
5.5.320.0150.03018.22
5.5.310.0150.03818.40
5.5.300.0030.02517.04
5.5.290.0110.03817.28
5.5.280.0070.03618.67
5.5.270.0050.04518.41
5.5.260.0030.02718.73
5.5.250.0060.05118.35
5.5.240.0100.02518.23
5.5.230.0060.00615.93
5.5.220.0070.01015.84
5.5.210.0070.00415.75
5.5.200.0070.01015.77
5.5.190.0100.00315.91
5.5.180.0000.01016.13
5.5.170.0070.00416.02
5.5.160.0040.01115.90
5.5.150.0030.01316.19
5.5.140.0030.01016.08
5.5.130.0090.00316.07
5.5.120.0070.00315.73
5.5.110.0030.00815.96
5.5.100.0000.01515.96
5.5.90.0070.01015.84
5.5.80.0030.01416.00
5.5.70.0130.00015.82
5.5.60.0000.00915.78
5.5.50.0100.01015.69
5.5.40.0000.01315.65
5.5.30.0030.01015.89
5.5.20.0030.00915.98
5.5.10.0000.00915.96
5.5.00.0000.01115.93
5.4.450.0360.02616.71
5.4.440.0380.03016.82
5.4.430.0270.03716.81
5.4.420.0340.03016.87
5.4.410.0350.02816.73
5.4.400.0300.03116.65
5.4.390.0350.03016.54
5.4.380.0360.02516.66
5.4.370.0320.02816.56
5.4.360.0380.02616.65
5.4.350.0400.02816.61
5.4.340.0330.03216.61
5.4.330.0090.00313.54
5.4.320.0350.02816.68
5.4.310.0320.03016.59
5.4.300.0400.02816.59
5.4.290.0430.02516.65
5.4.280.0380.04016.56
5.4.270.0380.03216.62
5.4.260.0290.03016.59
5.4.250.0330.02716.63
5.4.240.0370.03216.63
5.4.230.0430.02716.63
5.4.220.0320.03016.60
5.4.210.0380.04716.59
5.4.200.0390.02516.63
5.4.190.0370.02816.62
5.4.180.0330.02816.65
5.4.170.0350.03016.63
5.4.160.0340.02716.60
5.4.150.0370.02916.53
5.4.140.0320.03115.25
5.4.130.0320.02915.29
5.4.120.0430.04115.32
5.4.110.0400.02715.32
5.4.100.0360.02915.31
5.4.90.0370.02815.28
5.4.80.0380.02515.31
5.4.70.0110.02015.27
5.4.60.0140.02415.24
5.4.50.0060.02315.25
5.4.40.0060.02215.35
5.4.30.0050.03615.32
5.4.20.0200.03715.34
5.4.10.0040.00713.54
5.4.00.0030.00913.54

preferences:
61.9 ms | 401 KiB | 5 Q