3v4l.org

run code in 300+ PHP versions simultaneously
<?php function check_user($mcUser) { $check_mcUser = file_get_contents("http://www.minecraft.net/haspaid.jsp?user='".$mcUser); if ($check_mcUser == "true"){echo"Username Is Premium!";} else {echo "Username Not Premium.";} } // $mcUser = $_GET["mcUser"]; $mcUser = "DanielRHarris"; check_user($mcUser);

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.0090.01317.11
8.3.50.0110.00922.05
8.3.40.0090.00619.08
8.3.30.0070.00719.09
8.3.20.0040.00420.71
8.3.10.0040.00424.08
8.3.00.0080.00019.63
8.2.180.0110.01116.88
8.2.170.0070.01022.96
8.2.160.0100.00322.21
8.2.150.0030.00524.18
8.2.140.0030.00624.66
8.2.130.0060.00319.48
8.2.120.0050.00226.35
8.2.110.0120.00422.45
8.2.100.0120.00018.05
8.2.90.0040.00419.29
8.2.80.0030.00617.97
8.2.70.0030.00617.75
8.2.60.0000.00818.18
8.2.50.0080.00018.07
8.2.40.0030.00619.71
8.2.30.0000.00720.89
8.2.20.0030.00618.01
8.2.10.0030.00618.26
8.2.00.0000.00818.32
8.1.280.0150.00025.92
8.1.270.0080.00023.99
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0040.00422.55
8.1.230.0110.00017.79
8.1.220.0040.00417.89
8.1.210.0080.00018.77
8.1.200.0070.00317.75
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0000.00818.90
8.1.160.0080.00022.14
8.1.150.0040.00419.11
8.1.140.0000.00819.72
8.1.130.0000.00717.98
8.1.120.0050.00217.59
8.1.110.0050.00317.60
8.1.100.0080.00017.57
8.1.90.0000.00817.68
8.1.80.0040.00417.50
8.1.70.0030.00317.57
8.1.60.0040.00417.76
8.1.50.0030.00617.62
8.1.40.0000.01117.67
8.1.30.0040.00417.74
8.1.20.0050.00317.65
8.1.10.0040.00417.64
8.1.00.0050.00317.54
8.0.300.0030.00618.77
8.0.290.0000.00717.00
8.0.280.0040.00318.62
8.0.270.0040.00417.54
8.0.260.0030.00517.52
8.0.250.0070.00017.32
8.0.240.0040.00417.21
8.0.230.0000.00817.35
8.0.220.0070.00017.23
8.0.210.0040.00417.12
8.0.200.0070.00017.07
8.0.190.0080.00017.31
8.0.180.0000.00917.31
8.0.170.0040.00417.21
8.0.160.0050.00317.22
8.0.150.0050.00317.11
8.0.140.0080.00316.96
8.0.130.0030.00313.80
8.0.120.0030.00617.18
8.0.110.0000.00817.36
8.0.100.0040.00417.07
8.0.90.0000.00817.36
8.0.80.0150.00417.23
8.0.70.0050.00217.19
8.0.60.0050.00317.29
8.0.50.0040.00417.26
8.0.30.0130.00717.28
8.0.20.0110.01217.40
8.0.10.0000.00817.18
8.0.00.0130.00516.99
7.4.330.0000.00517.11
7.4.320.0030.00316.64
7.4.300.0060.00016.64
7.4.290.0080.00016.70
7.4.280.0050.00216.62
7.4.270.0070.00016.70
7.4.260.0000.00716.53
7.4.250.0050.00316.79
7.4.240.0060.00116.84
7.4.230.0000.00716.93
7.4.220.0100.01216.77
7.4.210.0130.00516.80
7.4.200.0000.00716.82
7.4.160.0000.01616.69
7.4.150.0120.00617.40
7.4.140.0110.00917.86
7.4.130.0110.00816.84
7.4.120.0100.00916.74
7.4.110.0040.01816.79
7.4.100.0030.01516.57
7.4.90.0090.00916.81
7.4.80.0110.00919.39
7.4.70.0110.00716.85
7.4.60.0070.01016.72
7.4.50.0040.01116.87
7.4.40.0060.01116.75
7.4.30.0150.00316.95
7.4.10.0070.01015.35
7.4.00.0080.00815.31
7.3.330.0000.00613.46
7.3.320.0050.00013.56
7.3.310.0040.00416.68
7.3.300.0030.00616.53
7.3.290.0030.00316.66
7.3.280.0090.00916.62
7.3.270.0150.00417.40
7.3.260.0090.00916.83
7.3.250.0040.01716.69
7.3.240.0140.00916.69
7.3.230.0090.00916.66
7.3.210.0100.00716.74
7.3.200.0140.00316.66
7.3.190.0080.01216.56
7.3.180.0030.01316.38
7.3.170.0090.01216.57
7.3.160.0140.00716.66
7.3.130.0090.01215.28
7.3.120.0000.01915.25
7.3.110.0090.00915.16
7.3.100.0070.01014.87
7.3.90.0030.01014.81
7.3.80.0070.00715.10
7.3.70.0060.00615.17
7.3.60.0000.01215.24
7.3.50.0040.00814.98
7.3.40.0030.00915.16
7.3.30.0060.00915.17
7.3.20.0000.01217.01
7.3.10.0070.00417.04
7.3.00.0060.00916.88
7.2.330.0100.01017.04
7.2.320.0100.00717.09
7.2.310.0090.01416.66
7.2.300.0120.00616.98
7.2.290.0080.01117.02
7.2.260.0090.01015.07
7.2.250.0160.00315.45
7.2.240.0030.01315.49
7.2.230.0070.00715.11
7.2.220.0060.01015.54
7.2.210.0060.01015.59
7.2.200.0060.00915.21
7.2.190.0030.00815.23
7.2.180.0030.01315.23
7.2.170.0000.01115.37
7.2.160.0060.00315.33
7.2.150.0030.00617.18
7.2.140.0030.01017.27
7.2.130.0080.00617.21
7.2.120.0070.00917.19
7.2.110.0060.00717.18
7.2.100.0060.00817.15
7.2.90.0040.00817.31
7.2.80.0060.00917.14
7.2.70.0040.01117.24
7.2.60.0070.00717.12
7.2.50.0040.00917.24
7.2.40.0040.01217.05
7.2.30.0050.00616.95
7.2.20.0040.00717.23
7.2.10.0070.00817.16
7.2.00.0050.01217.72
7.1.330.0040.00716.20
7.1.320.0000.00916.30
7.1.310.0040.00815.84
7.1.300.0000.01015.90
7.1.290.0090.00316.05
7.1.280.0030.00915.75
7.1.270.0030.00916.17
7.1.260.0040.00415.68
7.1.250.0040.00916.00
7.1.240.0050.00915.97
7.1.230.0050.00715.93
7.1.220.0040.01016.08
7.1.210.0070.00516.06
7.1.200.0060.00815.96
7.1.190.0080.00615.94
7.1.180.0070.00716.02
7.1.170.0090.00615.98
7.1.160.0060.00716.09
7.1.150.0070.00316.01
7.1.140.0060.00715.92
7.1.130.0060.00516.08
7.1.120.0030.00915.99
7.1.110.0070.00715.92
7.1.100.0070.00716.75
7.1.90.0080.00515.93
7.1.80.0030.01015.95
7.1.70.0060.00916.29
7.1.60.0060.00816.90
7.1.50.0060.00816.28
7.1.40.0050.00515.90
7.1.30.0060.00516.08
7.1.20.0070.00815.85
7.1.10.0050.00615.94
7.1.00.0050.02417.59
7.0.330.0040.00915.58
7.0.320.0040.00615.57
7.0.310.0000.01215.72
7.0.300.0080.00715.62
7.0.290.0060.00615.69
7.0.280.0050.00615.63
7.0.270.0080.00615.58
7.0.260.0040.00815.62
7.0.250.0080.00715.60
7.0.240.0060.00815.74
7.0.230.0050.00615.74
7.0.220.0040.00915.65
7.0.210.0050.00715.68
7.0.200.0130.00715.49
7.0.190.0070.00715.63
7.0.180.0030.00915.79
7.0.170.0050.00715.56
7.0.160.0100.00415.56
7.0.150.0040.00715.68
7.0.140.0070.00715.59
7.0.130.0060.00715.56
7.0.120.0060.00615.83
7.0.110.0080.00415.72
7.0.100.0060.00615.74
7.0.90.0050.00715.76
7.0.80.0050.00515.60
7.0.70.0030.01015.60
7.0.60.0070.02316.76
7.0.50.0030.02416.28
7.0.40.0040.02215.47
7.0.30.0060.02615.44
7.0.20.0110.01615.43
7.0.10.0070.02515.49
7.0.00.0110.02115.38
5.6.400.0070.00414.86
5.6.390.0070.00714.53
5.6.380.0070.00514.58
5.6.370.0060.00814.72
5.6.360.0050.00914.79
5.6.350.0020.01114.70
5.6.340.0040.00914.57
5.6.330.0050.00614.56
5.6.320.0080.00514.76
5.6.310.0040.00914.73
5.6.300.0050.00814.60
5.6.290.0040.00914.54
5.6.280.0040.02216.26
5.6.270.0030.00714.60
5.6.260.0030.01114.66
5.6.250.0060.00714.69
5.6.240.0100.00214.63
5.6.230.0080.00414.54
5.6.220.0010.00814.70
5.6.210.0080.01916.06
5.6.200.0070.02215.67
5.6.190.0030.02816.16
5.6.180.0140.02216.16
5.6.170.0090.01516.16
5.6.160.0060.02416.13
5.6.150.0040.02815.57
5.6.140.0050.02215.57
5.6.130.0060.02315.60
5.6.120.0070.02616.30
5.6.110.0070.02316.40
5.6.100.0090.02516.26
5.6.90.0080.01816.19
5.6.80.0060.02216.10
5.6.70.0020.00914.38
5.6.60.0030.00914.44
5.6.50.0130.00114.30
5.6.40.0050.00614.51
5.6.30.0040.00814.54
5.6.20.0050.00714.46
5.6.10.0060.00914.48
5.6.00.0100.00314.46
5.5.380.0000.00912.23
5.5.370.0040.00512.41
5.5.360.0050.00412.40
5.5.350.1120.01414.32
5.5.340.0080.02013.95
5.5.330.0080.02314.65
5.5.320.0120.02414.43
5.5.310.0100.01614.47
5.5.300.0030.01713.69
5.5.290.0030.02513.95
5.5.280.0040.02014.65
5.5.270.0050.02614.75
5.5.260.0100.02114.51
5.5.250.0080.02214.49
5.5.240.0100.02314.45
5.5.230.0020.00912.45
5.5.220.0060.00412.43
5.5.210.0030.00712.43
5.5.200.0050.00512.28
5.5.190.0010.00812.24
5.5.180.0060.00612.27
5.5.170.0050.00512.29
5.5.160.0050.00412.51
5.5.150.0030.00812.38
5.5.140.0080.00412.52
5.5.130.0040.00812.47
5.5.120.0050.00812.39
5.5.110.0040.00312.18
5.5.100.0020.00912.43
5.5.90.0020.00712.46
5.5.80.0030.00812.46
5.5.70.0050.00712.41
5.5.60.0040.00712.38
5.5.50.0030.00712.35
5.5.40.0050.00712.43
5.5.30.0060.00512.33
5.5.20.0060.00612.49
5.5.10.0030.01012.29
5.5.00.0060.00712.15

preferences:
51.96 ms | 401 KiB | 5 Q