3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_name = "mysql"; $password = "12345"; $database = "db_salikin"; $host_name = "akmaliah.net"; mysql_connect($host_name, $user_name, $password); mysql_select_db($database); echo "Koneksi Terbuka"; ?>

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.00316.75
8.3.60.0120.00316.59
8.3.50.0140.00522.03
8.3.40.0090.00918.64
8.3.30.0110.00418.67
8.3.20.0070.00020.07
8.3.10.0040.00423.65
8.3.00.0070.00721.02
8.2.180.0140.01418.29
8.2.170.0120.00822.96
8.2.160.0070.00720.55
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0040.00419.39
8.2.120.0040.00426.35
8.2.110.0140.00722.30
8.2.100.0090.00317.90
8.2.90.0080.00019.09
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0030.00617.80
8.2.50.0080.00018.07
8.2.40.0030.00622.32
8.2.30.0030.00520.60
8.2.20.0080.00017.64
8.2.10.0080.00017.91
8.2.00.0040.00418.05
8.1.280.0110.00425.92
8.1.270.0040.00420.06
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0090.00023.91
8.1.230.0040.00717.53
8.1.220.0000.00717.79
8.1.210.0040.00418.77
8.1.200.0080.00317.23
8.1.190.0050.00317.00
8.1.180.0050.00318.10
8.1.170.0030.00718.59
8.1.160.0070.00020.70
8.1.150.0070.00018.78
8.1.140.0000.00819.41
8.1.130.0030.00317.54
8.1.120.0000.00717.45
8.1.110.0020.00517.41
8.1.100.0000.00717.41
8.1.90.0030.00517.29
8.1.80.0030.00517.40
8.1.70.0060.00317.21
8.1.60.0030.00617.40
8.1.50.0000.00817.54
8.1.40.0000.00817.54
8.1.30.0070.00017.55
8.1.20.0000.00717.60
8.1.10.0080.00017.55
8.1.00.0020.00517.49
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.38
8.0.270.0030.00317.13
8.0.260.0030.00317.14
8.0.250.0030.00316.92
8.0.240.0000.00717.00
8.0.230.0000.00616.93
8.0.220.0080.00016.91
8.0.210.0040.00416.94
8.0.200.0000.00616.96
8.0.190.0000.00716.95
8.0.180.0070.00016.93
8.0.170.0070.00016.95
8.0.160.0050.00316.92
8.0.150.0070.00016.82
8.0.140.0040.00416.79
8.0.130.0070.00013.24
8.0.120.0050.00316.89
8.0.110.0040.00416.83
8.0.100.0000.00716.77
8.0.90.0040.00416.91
8.0.80.0120.00316.88
8.0.70.0070.00016.88
8.0.60.0000.00816.68
8.0.50.0000.00816.79
8.0.30.0120.00716.88
8.0.20.0110.00917.40
8.0.10.0000.00716.84
8.0.00.0110.00916.79
7.4.330.0050.00016.69
7.4.320.0000.00616.44
7.4.300.0030.00316.58
7.4.290.0080.00016.50
7.4.280.0040.00416.39
7.4.270.0000.00716.59
7.4.260.0040.00416.39
7.4.250.0040.00416.47
7.4.240.0030.00416.43
7.4.230.0030.00516.33
7.4.220.0060.01216.52
7.4.210.0030.01416.41
7.4.200.0040.00416.34
7.4.160.0120.00316.36
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0120.00516.49
7.4.120.0090.00916.51
7.4.110.0130.00316.42
7.4.100.0070.01016.45
7.4.90.0090.00916.68
7.4.80.0060.01219.39
7.4.70.0110.00716.59
7.4.60.0040.01116.48
7.4.50.0090.00616.51
7.4.40.0050.01016.37
7.4.30.0030.01416.49
7.4.00.0110.00714.81
7.3.330.0000.00713.01
7.3.320.0030.00313.15
7.3.310.0030.00316.13
7.3.300.0030.00316.19
7.3.290.0090.00716.22
7.3.280.0080.00816.25
7.3.270.0100.00717.40
7.3.260.0080.00816.45
7.3.250.0140.00416.43
7.3.240.0130.00616.39
7.3.230.0100.00716.46
7.3.210.0100.01316.36
7.3.200.0130.00616.41
7.3.190.0120.00916.38
7.3.180.0090.00616.42
7.3.170.0120.00616.60
7.3.160.0100.01016.37
7.3.120.0100.00614.68
7.3.110.0070.01114.73
7.3.100.0070.00714.86
7.3.90.0040.00814.36
7.3.80.0090.00314.91
7.3.70.0030.01014.70
7.3.60.0060.00914.72
7.3.50.0070.00714.65
7.3.40.0030.01014.60
7.3.30.0060.00914.82
7.3.20.0030.00916.32
7.3.10.0030.00916.50
7.3.00.0120.00316.58
7.2.330.0120.00616.57
7.2.320.0160.00316.29
7.2.310.0000.01616.64
7.2.300.0000.01916.25
7.2.290.0130.00616.46
7.2.250.0060.01314.99
7.2.240.0070.01014.54
7.2.230.0070.01114.59
7.2.220.0060.00814.66
7.2.210.0070.00715.02
7.2.200.0030.00714.57
7.2.190.0060.00614.90
7.2.180.0100.00314.69
7.2.170.0030.01314.93
7.2.60.0000.00916.73
7.2.00.0060.00318.88
7.1.330.0030.00915.55
7.1.320.0040.01115.73
7.1.310.0060.01015.58
7.1.300.0040.01115.58
7.1.290.0070.00415.65
7.1.280.0030.01015.59
7.1.270.0080.00615.46
7.1.260.0100.00615.34
7.1.200.0040.00715.70
7.1.100.0080.00317.93
7.1.70.0100.00617.01
7.1.60.0070.01419.52
7.1.50.0000.01016.77
7.1.00.0030.07722.57
7.0.200.0050.00316.57
7.0.60.0100.07019.98
7.0.50.0100.05717.85
7.0.40.0130.08319.98
7.0.30.0500.07320.09
7.0.20.0170.05720.22
7.0.10.0030.05720.33
7.0.00.0000.05020.16
5.6.280.0000.06721.11
5.6.210.0100.06320.46
5.6.200.0030.04018.08
5.6.190.0100.08020.35
5.6.180.0200.05320.36
5.6.170.0300.07320.33
5.6.160.0100.06020.47
5.6.150.0100.03318.21
5.6.140.0030.04318.21
5.6.130.0030.06018.18
5.6.120.0070.03720.96
5.6.110.0030.08020.88
5.6.100.0070.04020.98
5.6.90.0030.04321.12
5.6.80.0170.07320.37
5.5.350.4330.04320.32
5.5.340.0070.08317.92
5.5.330.0070.04320.06
5.5.320.0170.04320.30
5.5.310.0400.06320.17
5.5.300.0200.05717.98
5.5.290.0100.08017.93
5.5.280.0030.08320.73
5.5.270.0130.07320.60
5.5.260.0170.06720.86
5.5.250.0100.07720.61
5.5.240.3900.03720.25

preferences:
51.22 ms | 401 KiB | 5 Q