3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host = "akmaliah.net"; $username = "mysql"; $password = "12345"; $database = "nama_database"; $conn = _connect("$host","$username","$password"); if (!$conn) die ("Gagal Melakukan Koneksi"); mysql_select_db($database,$conn) or die ("Database Tidak Diketemukan di Server"); ?>

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.00616.75
8.3.50.0110.00721.01
8.3.40.0110.00418.76
8.3.30.0040.01118.60
8.3.20.0040.00420.34
8.3.10.0030.00523.65
8.3.00.0040.00420.95
8.2.180.0120.00618.53
8.2.170.0100.00322.96
8.2.160.0100.00320.11
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0000.00819.38
8.2.120.0080.00026.35
8.2.110.0170.00322.27
8.2.100.0080.00417.93
8.2.90.0070.00019.05
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0080.00317.80
8.2.50.0040.00418.07
8.2.40.0090.00022.15
8.2.30.0000.00720.50
8.2.20.0040.00417.74
8.2.10.0000.00717.93
8.2.00.0050.00218.05
8.1.280.0040.01125.92
8.1.270.0120.00620.30
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0100.00723.98
8.1.230.0080.00317.60
8.1.220.0040.00417.77
8.1.210.0030.00518.77
8.1.200.0100.00017.22
8.1.190.0040.00417.23
8.1.180.0000.00718.10
8.1.170.0060.00318.49
8.1.160.0000.00720.57
8.1.150.0000.00818.69
8.1.140.0050.00319.50
8.1.130.0030.00317.63
8.1.120.0040.00417.33
8.1.110.0000.00717.34
8.1.100.0000.00717.38
8.1.90.0040.00417.36
8.1.80.0050.00317.29
8.1.70.0040.00417.41
8.1.60.0000.00817.43
8.1.50.0060.00317.52
8.1.40.0030.00617.39
8.1.30.0050.00317.67
8.1.20.0000.00817.47
8.1.10.0060.00317.59
8.1.00.0080.00017.39
8.0.300.0040.00418.77
8.0.290.0030.00616.74
8.0.280.0000.00818.30
8.0.270.0030.00317.22
8.0.260.0000.00817.10
8.0.250.0000.00716.95
8.0.240.0000.00716.93
8.0.230.0030.00316.93
8.0.220.0040.00416.91
8.0.210.0040.00416.89
8.0.200.0030.00316.94
8.0.190.0070.00016.95
8.0.180.0050.00316.95
8.0.170.0050.00316.86
8.0.160.0030.00516.87
8.0.150.0000.00816.73
8.0.140.0030.00616.83
8.0.130.0050.00013.32
8.0.120.0030.00516.84
8.0.110.0000.00716.79
8.0.100.0070.00016.95
8.0.90.0050.00216.78
8.0.80.0100.00516.82
8.0.70.0000.00716.71
8.0.60.0000.00716.80
8.0.50.0040.00416.90
8.0.30.0090.01116.87
8.0.20.0090.00917.40
8.0.10.0040.00417.07
8.0.00.0110.00716.83
7.4.330.0060.00016.77
7.4.320.0000.00616.54
7.4.300.0030.00316.50
7.4.290.0050.00516.51
7.4.280.0040.00416.63
7.4.270.0030.00316.48
7.4.260.0030.00316.61
7.4.250.0080.00016.46
7.4.240.0030.00516.55
7.4.230.0070.00016.30
7.4.220.0110.00916.59
7.4.210.0170.00316.54
7.4.200.0030.00316.60
7.4.160.0070.01416.38
7.4.150.0080.00817.40
7.4.140.0080.01017.86
7.4.130.0080.01116.54
7.4.120.0120.00616.57
7.4.110.0060.01216.50
7.4.100.0040.01416.45
7.4.90.0100.00716.54
7.4.80.0030.01419.39
7.4.70.0130.00516.53
7.4.60.0070.00716.46
7.4.50.0100.00716.40
7.4.40.0000.01616.44
7.4.30.0110.00516.49
7.4.00.0040.01115.03
7.3.330.0030.00313.11
7.3.320.0070.00013.01
7.3.310.0000.00716.25
7.3.300.0030.00516.30
7.3.290.0050.01016.25
7.3.280.0040.01016.22
7.3.270.0140.00417.40
7.3.260.0100.00716.16
7.3.250.0130.00516.30
7.3.240.0140.00516.48
7.3.230.0050.01416.49
7.3.210.0120.00616.61
7.3.200.0080.00816.21
7.3.190.0080.00816.34
7.3.180.0120.00916.41
7.3.170.0180.00016.32
7.3.160.0050.01016.50
7.3.10.0040.00916.46
7.3.00.0080.00816.57
7.2.330.0150.01116.66
7.2.320.0090.01816.47
7.2.310.0030.01316.46
7.2.300.0120.00916.53
7.2.290.0070.01016.35
7.2.130.0000.01716.68
7.2.120.0040.01116.80
7.2.110.0040.01516.56
7.2.100.0060.00316.94
7.2.90.0060.00816.83
7.2.80.0030.01316.76
7.2.70.0070.00716.62
7.2.60.0100.00516.49
7.2.50.0060.00816.96
7.2.40.0050.00516.59
7.2.30.0000.01816.93
7.2.20.0030.01316.52
7.2.10.0060.00316.55
7.2.00.0080.00517.90
7.1.250.0030.00615.76
7.1.200.0040.00415.63
7.1.70.0000.00816.90
7.1.60.0080.00317.19
7.1.50.0090.00916.88
7.1.00.0000.08022.31
7.0.200.0040.00416.72
7.0.60.0130.08019.95
7.0.50.0030.08317.91
7.0.40.0070.07720.03
7.0.30.0470.07720.21
7.0.20.0270.06020.13
7.0.10.0070.07720.00
7.0.00.0070.05320.21
5.6.280.0070.05020.90
5.6.210.0170.07020.63
5.6.200.0030.04318.22
5.6.190.0070.07720.49
5.6.180.0270.07320.46
5.6.170.0330.08020.48
5.6.160.0000.04720.48
5.6.150.0030.04318.11
5.6.140.0030.03718.18
5.6.130.0130.07718.14
5.6.120.0070.04021.13
5.6.110.0100.07721.13
5.6.100.0100.08720.95
5.6.90.0000.04721.12
5.6.80.0070.04320.38
5.5.350.4100.04720.52
5.5.340.0030.05018.02
5.5.330.0130.07320.23
5.5.320.0200.05020.28
5.5.310.0230.07320.32
5.5.300.0030.07318.00
5.5.290.0070.08717.98
5.5.280.0070.04020.64
5.5.270.0030.08720.63
5.5.260.0030.07720.88
5.5.250.0230.06720.60
5.5.240.4000.04320.25

preferences:
61.22 ms | 401 KiB | 5 Q