3v4l.org

run code in 300+ PHP versions simultaneously
<?php function check_user($mcUser) { $check_mcUser = file_get_contents("https://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.70.0090.00618.68
8.3.60.0180.00416.49
8.3.50.0130.00821.98
8.3.40.0110.00418.88
8.3.30.0070.00718.63
8.3.20.0080.00020.18
8.3.10.0080.00023.65
8.3.00.0050.00319.38
8.2.190.0110.00618.41
8.2.180.0120.00916.75
8.2.170.0070.00722.96
8.2.160.0130.00622.14
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0060.00319.02
8.2.120.0040.00426.35
8.2.110.0080.00022.03
8.2.100.0110.00017.93
8.2.90.0000.00719.17
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0000.00817.93
8.2.50.0060.00318.07
8.2.40.0050.00219.39
8.2.30.0040.00420.75
8.2.20.0030.00717.63
8.2.10.0070.00018.14
8.2.00.0040.00418.08
8.1.280.0090.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0150.00622.47
8.1.230.0110.00017.66
8.1.220.0000.00917.79
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0000.00718.46
8.1.160.0000.00821.96
8.1.150.0000.00818.98
8.1.140.0000.00819.60
8.1.130.0070.00017.63
8.1.120.0030.00517.55
8.1.110.0000.00717.37
8.1.100.0000.00717.41
8.1.90.0000.00817.52
8.1.80.0040.00417.45
8.1.70.0000.00717.29
8.1.60.0030.00617.55
8.1.50.0060.00317.53
8.1.40.0080.00317.52
8.1.30.0030.00517.68
8.1.20.0060.00317.58
8.1.10.0050.00317.52
8.1.00.0000.00717.48
8.0.300.0040.00418.77
8.0.290.0000.00716.85
8.0.280.0000.00718.48
8.0.270.0030.00317.34
8.0.260.0030.00317.27
8.0.250.0050.00217.00
8.0.240.0040.00417.10
8.0.230.0040.00417.02
8.0.220.0000.00716.90
8.0.210.0040.00416.97
8.0.200.0030.00317.12
8.0.190.0040.00416.99
8.0.180.0070.00416.94
8.0.170.0090.00017.11
8.0.160.0050.00316.97
8.0.150.0040.00416.94
8.0.140.0100.00016.98
8.0.130.0060.00013.39
8.0.120.0050.00316.99
8.0.110.0040.00417.04
8.0.100.0000.00717.01
8.0.90.0070.00017.06
8.0.80.0060.01116.94
8.0.70.0050.00216.97
8.0.60.0040.00417.04
8.0.50.0040.00417.07
8.0.30.0130.00717.01
8.0.20.0130.00717.40
8.0.10.0000.00817.13
8.0.00.0080.01116.82
7.4.330.0030.00316.67
7.4.320.0030.00316.64
7.4.300.0040.00416.63
7.4.290.0070.00016.54
7.4.280.0040.00416.51
7.4.270.0040.00416.63
7.4.260.0030.00316.62
7.4.250.0040.00416.48
7.4.240.0050.00316.57
7.4.230.0070.00016.71
7.4.220.0100.01016.62
7.4.210.0080.00716.60
7.4.200.0080.00016.70
7.4.160.0120.00416.51
7.4.150.0180.00617.40
7.4.140.0100.01017.86
7.4.130.0130.01316.58
7.4.120.0090.01016.43
7.4.110.0110.01416.54
7.4.100.0120.01016.50
7.4.90.0030.01416.60
7.4.80.0100.00719.39
7.4.70.0140.00416.64
7.4.60.0100.00716.61
7.4.50.0060.01016.47
7.4.40.0140.00316.59
7.4.30.0100.00716.59
7.4.00.0080.00814.93
7.3.330.0000.00613.41
7.3.320.0020.00213.42
7.3.310.0000.00816.43
7.3.300.0040.00416.48
7.3.290.0030.00316.30
7.3.280.0130.00416.41
7.3.270.0060.01217.40
7.3.260.0110.00616.24
7.3.250.0130.00516.38
7.3.240.0140.00516.36
7.3.230.0070.01016.50
7.3.210.0090.00616.27
7.3.200.0110.00616.48
7.3.190.0150.00716.36
7.3.180.0120.00416.44
7.3.170.0100.00616.57
7.3.160.0070.01116.61
7.3.120.0040.01414.72
7.3.110.0070.01115.13
7.3.100.0090.00614.92
7.3.90.0090.00614.88
7.3.80.0110.00414.86
7.3.70.0030.00914.90
7.3.60.0140.00014.77
7.3.50.0090.00014.91
7.3.40.0070.00714.94
7.3.30.0070.00714.90
7.3.20.0040.00716.83
7.3.10.0050.00916.61
7.3.00.0050.01116.70
7.2.330.0090.00916.60
7.2.320.0080.00816.79
7.2.310.0100.00716.75
7.2.300.0030.02016.81
7.2.290.0030.01416.68
7.2.250.0100.01015.30
7.2.240.0030.01715.27
7.2.230.0070.00715.19
7.2.220.0060.00315.11
7.2.210.0000.01515.05
7.2.200.0000.01015.00
7.2.190.0070.00714.93
7.2.180.0040.00814.80
7.2.170.0000.01415.14
7.2.130.0090.00616.76
7.2.120.0060.01316.71
7.2.110.0030.01116.89
7.2.100.0030.01016.72
7.2.90.0120.00316.93
7.2.80.0110.00016.82
7.2.70.0030.01417.13
7.2.60.0090.00516.91
7.2.50.0120.00316.93
7.2.40.0100.00316.67
7.2.30.0040.01117.13
7.2.20.0090.00616.93
7.2.10.0040.01216.86
7.2.00.0060.00918.33
7.1.330.0040.01115.64
7.1.320.0060.00715.97
7.1.310.0060.01015.96
7.1.300.0070.00715.81
7.1.290.0120.00015.80
7.1.280.0110.00415.48
7.1.270.0060.00615.78
7.1.260.0030.00715.78
7.1.250.0080.00815.71
7.1.240.0070.00315.91
7.1.230.0070.00315.57
7.1.220.0060.00715.67
7.1.210.0000.00815.79
7.1.200.0070.00715.61
7.1.190.0090.00615.76
7.1.180.0060.00315.95
7.1.170.0060.00615.54
7.1.160.0070.00715.56
7.1.150.0000.01115.89
7.1.140.0030.01015.51
7.1.130.0040.01115.84
7.1.120.0060.00615.88
7.1.110.0060.00915.88
7.1.100.0080.00716.99
7.1.90.0100.00015.68
7.1.80.0060.00915.46
7.1.70.0040.00916.49
7.1.60.0110.00517.57
7.1.50.0090.00316.38
7.1.40.0100.00715.56
7.1.30.0070.01015.80
7.1.20.0030.00615.68
7.1.10.0070.00715.77
7.1.00.0050.03819.30
7.0.330.0060.00615.41
7.0.320.0140.00015.13
7.0.310.0040.01115.45
7.0.300.0030.00615.43
7.0.290.0100.00315.50
7.0.280.0140.00015.52
7.0.270.0060.00915.20
7.0.260.0040.00415.46
7.0.250.0070.00715.48
7.0.240.0100.00315.27
7.0.230.0030.01015.46
7.0.220.0090.00315.08
7.0.210.0100.00315.63
7.0.200.0160.00615.11
7.0.190.0110.00415.52
7.0.180.0030.00615.45
7.0.170.0070.01015.52
7.0.160.0070.00715.63
7.0.150.0090.00615.32
7.0.140.0000.01415.54
7.0.130.0040.00815.38
7.0.120.0030.00615.42
7.0.110.0040.00815.29
7.0.100.0100.00715.65
7.0.90.0090.00015.40
7.0.80.0090.00615.37
7.0.70.0040.01115.40
7.0.60.0050.04617.89
7.0.50.0060.02316.81
7.0.40.0060.02916.94
7.0.30.0220.03517.03
7.0.20.0280.03817.05
7.0.10.0070.03317.02
7.0.00.0100.04417.05
5.6.380.0060.00614.40
5.6.370.0060.00614.38
5.6.360.0030.01014.66
5.6.350.0080.00314.18
5.6.340.0090.00614.50
5.6.330.0080.00514.38
5.6.320.0030.00614.56
5.6.310.0090.00614.68
5.6.300.0070.01014.45
5.6.290.0100.00714.32
5.6.280.0030.04317.83
5.6.270.0100.00314.57
5.6.260.0040.00414.36
5.6.250.0040.01114.38
5.6.240.0030.01014.50
5.6.230.0030.01014.50
5.6.220.0060.00314.27
5.6.210.0030.02617.62
5.6.200.0080.03216.47
5.6.190.0020.03817.73
5.6.180.0200.04017.77
5.6.170.0080.02917.41
5.6.160.0110.03317.65
5.6.150.0080.03816.39
5.6.140.0110.03816.43
5.6.130.0080.04216.55
5.6.120.0060.04618.00
5.6.110.0090.04617.96
5.6.100.0100.04517.80
5.6.90.0070.03617.86
5.6.80.0080.02217.74
5.6.70.0090.00614.53
5.6.60.0040.00814.26
5.6.50.0060.00914.21
5.6.40.0070.00714.20
5.6.30.0030.01014.13
5.6.20.0170.00014.09
5.6.10.0000.00914.26
5.6.00.0120.00314.09
5.5.380.0100.00011.17
5.5.370.0000.01111.02
5.5.360.0070.00311.38
5.5.350.1950.02316.02
5.5.340.0050.04314.60
5.5.330.0100.02716.02
5.5.320.0140.02715.65
5.5.310.0120.02516.00
5.5.300.0100.04214.71
5.5.290.0050.02214.72
5.5.280.0060.02616.16
5.5.270.0080.04516.21
5.5.260.0070.04816.19
5.5.250.0070.04115.90
5.5.240.0140.04115.65
5.5.230.0100.00310.83
5.5.220.0040.00811.25
5.5.210.0030.00310.87
5.5.200.0000.00811.16
5.5.190.0000.01010.95
5.5.180.0100.00010.84
5.5.170.0040.00810.99
5.5.160.0030.00710.79
5.5.150.0050.00510.67
5.5.140.0060.00311.26
5.5.130.0060.00611.04
5.5.120.0050.00311.07
5.5.110.0090.00311.00
5.5.100.0040.00411.31
5.5.90.0090.00310.79
5.5.80.0030.01011.14
5.5.70.0070.00710.98
5.5.60.0000.01011.16
5.5.50.0080.00311.21
5.5.40.0040.00410.92
5.5.30.0060.00611.05
5.5.20.0030.00611.21
5.5.10.0030.00911.12
5.5.00.0070.00411.20

preferences:
57.84 ms | 401 KiB | 5 Q