3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_name = "root"; $password = ""; $database = "nyekripdatabase"; $host_name = "localhost"; mysql_connect($host_name, $user_name, $password); 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.60.0120.00316.75
8.3.50.0100.01021.20
8.3.40.0110.00318.61
8.3.30.0110.00318.52
8.3.20.0040.00420.16
8.3.10.0040.00423.48
8.3.00.0040.00421.05
8.2.180.0090.00616.50
8.2.170.0110.00422.96
8.2.160.0060.00920.19
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.01019.30
8.2.120.0030.00526.35
8.2.110.0100.00020.40
8.2.100.0030.00917.91
8.2.90.0050.00319.08
8.2.80.0000.00717.97
8.2.70.0050.00517.50
8.2.60.0040.00817.93
8.2.50.0060.00318.07
8.2.40.0000.00822.21
8.2.30.0030.00520.54
8.2.20.0070.00017.68
8.2.10.0000.00718.05
8.2.00.0040.00418.04
8.1.280.0090.00625.92
8.1.270.0090.00020.14
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0090.00020.89
8.1.230.0070.00319.14
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0000.00720.69
8.1.150.0040.00418.86
8.1.140.0040.00419.44
8.1.130.0070.00017.61
8.1.120.0040.00417.29
8.1.110.0000.00717.42
8.1.100.0040.00417.30
8.1.90.0000.00717.28
8.1.80.0030.00517.41
8.1.70.0050.00317.26
8.1.60.0050.00317.48
8.1.50.0090.00017.52
8.1.40.0070.00017.34
8.1.30.0000.00817.67
8.1.20.0000.00717.63
8.1.10.0050.00517.48
8.1.00.0030.00617.34
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0070.00017.19
8.0.260.0030.00317.20
8.0.250.0000.00716.91
8.0.240.0040.00416.88
8.0.230.0030.00316.91
8.0.220.0000.00716.90
8.0.210.0030.00316.88
8.0.200.0000.00616.98
8.0.190.0000.00816.86
8.0.180.0030.00316.91
8.0.170.0030.00516.91
8.0.160.0000.00816.86
8.0.150.0030.00516.84
8.0.140.0030.00516.68
8.0.130.0030.00313.30
8.0.120.0060.00316.78
8.0.110.0070.00016.81
8.0.100.0040.00416.87
8.0.90.0000.00716.93
8.0.80.0120.00916.83
8.0.70.0030.00316.83
8.0.60.0000.00716.88
8.0.50.0000.00716.88
8.0.30.0020.01617.11
8.0.20.0060.01317.40
8.0.10.0000.00717.07
8.0.00.0120.00916.76
7.4.330.0000.00516.73
7.4.320.0030.00316.43
7.4.300.0030.00316.42
7.4.290.0080.00016.57
7.4.280.0040.00416.48
7.4.270.0030.00316.55
7.4.260.0070.00016.50
7.4.250.0060.00316.60
7.4.240.0020.00616.51
7.4.230.0030.00316.38
7.4.220.0110.01616.62
7.4.210.0110.00416.55
7.4.200.0080.00016.41
7.4.160.0150.00616.58
7.4.150.0140.00717.40
7.4.140.0110.00617.86
7.4.130.0100.00716.64
7.4.120.0090.00716.43
7.4.110.0090.00916.68
7.4.100.0100.00716.53
7.4.90.0130.00316.61
7.4.80.0070.01019.39
7.4.70.0000.01616.33
7.4.60.0120.00616.32
7.4.50.0060.00616.26
7.4.40.0130.00316.70
7.4.30.0140.00416.61
7.4.00.0100.00614.88
7.3.330.0050.00013.16
7.3.320.0030.00613.05
7.3.310.0030.00316.30
7.3.300.0030.00316.30
7.3.290.0080.00616.24
7.3.280.0020.01316.24
7.3.270.0100.00717.40
7.3.260.0100.01316.45
7.3.250.0120.00516.40
7.3.240.0120.00516.48
7.3.230.0100.00916.39
7.3.210.0160.00616.31
7.3.200.0100.00616.27
7.3.190.0110.01016.20
7.3.180.0090.00816.50
7.3.170.0110.01416.27
7.3.160.0130.00716.18
7.3.120.0070.01014.70
7.3.110.0070.01014.87
7.3.100.0040.01414.63
7.3.90.0040.01214.45
7.3.80.0070.01014.60
7.3.70.0060.00614.67
7.3.60.0070.00714.71
7.3.50.0030.00914.36
7.3.40.0070.00714.52
7.3.30.0060.01214.79
7.3.20.0030.00616.42
7.3.10.0060.00316.41
7.3.00.0030.01016.55
7.2.330.0110.00716.57
7.2.320.0090.00916.66
7.2.310.0130.00316.50
7.2.300.0170.00016.44
7.2.290.0060.01516.32
7.2.250.0030.01414.63
7.2.240.0030.01314.71
7.2.230.0030.00914.64
7.2.220.0050.00514.79
7.2.210.0040.01415.07
7.2.200.0060.00914.75
7.2.190.0030.01014.75
7.2.180.0030.00614.63
7.2.170.0090.00314.88
7.2.60.0090.00616.54
7.2.00.0000.01419.05
7.1.330.0090.00615.38
7.1.320.0070.00715.38
7.1.310.0030.01415.22
7.1.300.0070.00715.64
7.1.290.0030.00915.50
7.1.280.0070.00315.68
7.1.270.0040.00415.39
7.1.260.0030.01315.21
7.1.200.0000.01115.61
7.1.100.0030.00617.95
7.1.70.0060.00616.83
7.1.60.0070.01019.52
7.1.50.0000.02216.87
7.1.00.0000.08022.43
7.0.200.0060.00316.79
7.0.60.0130.08020.03
7.0.50.0070.04317.77
7.0.40.0100.08319.84
7.0.30.0430.07320.34
7.0.20.0270.06020.04
7.0.10.0200.03720.04
7.0.00.0000.06020.01
5.6.280.0000.07020.98
5.6.210.0230.06320.45
5.6.200.0030.05018.11
5.6.190.0100.08320.60
5.6.180.0330.06720.39
5.6.170.0330.07320.61
5.6.160.0130.07020.48
5.6.150.0030.04018.16
5.6.140.0030.03718.16
5.6.130.0070.07718.11
5.6.120.0030.04021.07
5.6.110.0100.07321.11
5.6.100.0170.07020.97
5.6.90.0030.04021.11
5.6.80.0130.06320.52
5.5.350.4230.04320.38
5.5.340.0000.08718.05
5.5.330.0100.08020.37
5.5.320.0230.03720.28
5.5.310.0370.07720.20
5.5.300.0030.08317.91
5.5.290.0070.05718.02
5.5.280.0000.04320.79
5.5.270.0230.06720.72
5.5.260.0030.09020.63
5.5.250.0100.06020.57
5.5.240.3770.03720.34

preferences:
60.44 ms | 401 KiB | 5 Q