3v4l.org

run code in 300+ PHP versions simultaneously
<?php define(DB_HOST,"mysql.hostinger.com.ua"); define(DB_USER,"u417690548_lott"); define(DB_PASS,"198928ii"); define(DB_BASS,"u417690548_lott"); define(PAY,0.10); $link = mysqli_connect(DB_HOST,DB_USER,DB_PASS,DB_BASS) or die(mysqli_connect_errno()); mysqli_set_charset($link,'utf8'); ?>

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.0110.01116.84
8.3.50.0140.00521.15
8.3.40.0090.00618.73
8.3.30.0040.01118.89
8.3.20.0070.00020.20
8.3.10.0090.00023.52
8.3.00.0050.00323.59
8.2.180.0070.01018.29
8.2.170.0070.00722.96
8.2.160.0130.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00019.60
8.2.120.0050.00326.35
8.2.110.0030.00622.13
8.2.100.0040.00817.93
8.2.90.0040.00419.23
8.2.80.0080.00017.97
8.2.70.0040.00717.63
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0080.00022.37
8.2.30.0040.00420.69
8.2.20.0000.00717.66
8.2.10.0030.00517.93
8.2.00.0040.00417.93
8.1.280.0110.01425.92
8.1.270.0040.00423.97
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0050.00524.03
8.1.230.0070.00319.10
8.1.220.0030.00617.79
8.1.210.0080.00018.77
8.1.200.0060.00317.35
8.1.190.0000.00817.23
8.1.180.0030.00618.10
8.1.170.0080.00018.53
8.1.160.0030.00720.61
8.1.150.0000.00718.77
8.1.140.0070.00319.43
8.1.130.0040.00417.61
8.1.120.0030.00317.31
8.1.110.0050.00317.29
8.1.100.0040.00417.30
8.1.90.0000.00717.27
8.1.80.0000.00817.36
8.1.70.0040.00417.40
8.1.60.0000.00717.48
8.1.50.0040.00417.29
8.1.40.0040.00417.50
8.1.30.0000.00817.63
8.1.20.0030.00617.58
8.1.10.0000.00717.46
8.1.00.0050.00217.45
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0040.00418.44
8.0.270.0080.00017.23
8.0.260.0000.00617.18
8.0.250.0040.00417.03
8.0.240.0030.00616.99
8.0.230.0040.00416.90
8.0.220.0020.00516.94
8.0.210.0050.00217.02
8.0.200.0030.00317.00
8.0.190.0050.00217.00
8.0.180.0070.00017.02
8.0.170.0050.00316.88
8.0.160.0030.00516.86
8.0.150.0030.00516.81
8.0.140.0030.00616.88
8.0.130.0030.00313.46
8.0.120.0000.00816.97
8.0.110.0050.00316.82
8.0.100.0030.00516.83
8.0.90.0000.00716.95
8.0.80.0030.01316.96
8.0.70.0040.00416.95
8.0.60.0040.00417.00
8.0.50.0030.00516.77
8.0.30.0100.00817.16
8.0.20.0080.01217.40
8.0.10.0070.00017.03
8.0.00.0130.00716.72
7.4.330.0000.00516.79
7.4.320.0060.00016.45
7.4.300.0040.00416.55
7.4.290.0040.00416.46
7.4.280.0000.01016.46
7.4.270.0000.00716.50
7.4.260.0000.00716.57
7.4.250.0030.00516.41
7.4.240.0030.00316.46
7.4.230.0070.00016.30
7.4.220.0100.01416.47
7.4.210.0080.00616.44
7.4.200.0070.00016.35
7.4.160.0030.01216.45
7.4.150.0080.01217.40
7.4.140.0050.01517.86
7.4.130.0110.00816.46
7.4.120.0080.01016.38
7.4.110.0070.01016.31
7.4.100.0170.00816.39
7.4.90.0100.01016.45
7.4.80.0110.01119.39
7.4.70.0080.01116.47
7.4.60.0040.01216.55
7.4.50.0090.00616.42
7.4.40.0030.01316.48
7.4.30.0100.00716.40
7.4.10.0000.01715.02
7.4.00.0080.00514.65
7.3.330.0050.00013.02
7.3.320.0060.00013.20
7.3.310.0030.00316.12
7.3.300.0000.00716.31
7.3.290.0000.00716.25
7.3.280.0060.00916.32
7.3.270.0030.01317.40
7.3.260.0060.01016.45
7.3.250.0090.00716.44
7.3.240.0100.00616.46
7.3.230.0150.00316.39
7.3.210.0090.00816.33
7.3.200.0090.00919.39
7.3.190.0060.01216.29
7.3.180.0060.00916.28
7.3.170.0030.01316.45
7.3.160.0090.00816.39
7.3.130.0040.01214.70
7.3.120.0050.00916.01
7.3.110.0050.01015.92
7.3.100.0080.00816.03
7.3.90.0020.00816.01
7.3.80.0070.01015.97
7.3.70.0050.01115.95
7.3.60.0050.01116.08
7.3.50.0100.00315.96
7.3.40.0100.00515.89
7.3.30.0020.01216.04
7.3.20.0110.00416.91
7.3.10.0060.00416.81
7.3.00.0050.00616.74
7.2.330.0060.01216.65
7.2.320.0060.00916.71
7.2.310.0030.01316.73
7.2.300.0130.00416.61
7.2.290.0080.00816.52
7.2.260.0070.01314.86
7.2.250.0030.01414.77
7.2.240.0110.00516.01
7.2.230.0090.00716.00
7.2.220.0020.01315.96
7.2.210.0050.00715.88
7.2.200.0070.01016.07
7.2.190.0030.01116.13
7.2.180.0030.00916.03
7.2.170.0050.01116.07
7.2.160.0070.00616.09
7.2.150.0040.01217.01
7.2.140.0050.00916.96
7.2.130.0050.01016.82
7.2.120.0090.00616.91
7.2.110.0060.00616.84
7.2.100.0040.00916.98
7.2.90.0080.00616.78
7.2.80.0040.01016.72
7.2.70.0030.00716.98
7.2.60.0060.00916.81
7.2.50.0070.00716.92
7.2.40.0050.00916.91
7.2.30.0070.00516.83
7.2.20.0040.00916.81
7.2.10.0040.01116.87
7.2.00.0090.00717.43
7.1.330.0020.01116.53
7.1.320.0070.00816.39
7.1.310.0040.00916.32
7.1.300.0080.00516.53
7.1.290.0030.01016.43
7.1.280.0050.00816.42
7.1.270.0060.00416.42
7.1.260.0060.00616.55
7.1.250.0040.00816.24
7.1.240.0000.01115.84
7.1.230.0030.00615.57
7.1.220.0110.00415.83
7.1.210.0000.01015.63
7.1.200.0020.00915.62
7.1.190.0040.00715.75
7.1.180.0070.00715.71
7.1.170.0000.01415.82
7.1.160.0040.00715.90
7.1.150.0040.01115.86
7.1.140.0000.01315.84
7.1.130.0030.01015.62
7.1.120.0030.00915.87
7.1.110.0040.01115.55
7.1.100.0000.01017.01
7.1.90.0060.00615.72
7.1.80.0070.00315.81
7.1.70.0040.01216.40
7.1.60.0070.01117.31
7.1.50.0090.00716.07
7.1.40.0070.00715.73
7.1.30.0000.01015.74
7.1.20.0040.00815.77
7.1.10.0060.00615.84
7.1.00.0060.04019.14
7.0.330.0070.00415.26
7.0.320.0070.00715.34
7.0.310.0040.00915.37
7.0.300.0000.00815.32
7.0.290.0110.00415.39
7.0.280.0000.01215.48
7.0.270.0070.00415.17
7.0.260.0070.00715.24
7.0.250.0000.00915.29
7.0.240.0030.00515.21
7.0.230.0090.00315.27
7.0.220.0110.00315.49
7.0.210.0060.00915.41
7.0.200.0150.00415.22
7.0.190.0060.00915.16
7.0.180.0040.01115.31
7.0.170.0030.01015.36
7.0.160.0080.00415.39
7.0.150.0040.00715.40
7.0.140.0090.00415.45
7.0.130.0060.00615.31
7.0.120.0060.00315.45
7.0.110.0030.00615.03
7.0.100.0050.00315.17
7.0.90.0040.00715.42
7.0.80.0040.00815.17
7.0.70.0070.00315.40
7.0.60.0050.03018.47
7.0.50.0050.04716.59
7.0.40.0100.04716.59
7.0.30.0200.02116.87
7.0.20.0210.03516.83
7.0.10.0090.03816.72
7.0.00.0050.02816.77
5.6.400.0060.00914.39
5.6.390.0130.00014.52
5.6.380.0030.00614.33
5.6.370.0040.00814.24
5.6.360.0040.00414.09
5.6.350.0000.01414.21
5.6.340.0070.00714.50
5.6.330.0080.00314.21
5.6.320.0060.00614.38
5.6.310.0060.00614.27
5.6.300.0000.01314.21
5.6.290.0060.00914.43
5.6.280.0020.02117.47
5.6.270.0040.00414.34
5.6.260.0050.00314.33
5.6.250.0040.00714.14
5.6.240.0100.00314.45
5.6.230.0050.00514.46
5.6.220.0130.00014.21
5.6.210.0020.03317.38
5.6.200.0110.03816.22
5.6.190.0050.04517.22
5.6.180.0150.02817.28
5.6.170.0170.03017.41
5.6.160.0030.03417.30
5.6.150.0070.02116.30
5.6.140.0060.02016.23
5.6.130.0030.04516.02
5.6.120.0050.04617.62
5.6.110.0170.03217.66
5.6.100.0090.04317.59
5.6.90.0100.02217.68
5.6.80.0090.03217.27
5.6.70.0040.00414.33
5.6.60.0120.00413.98
5.6.50.0000.01314.09
5.6.40.0030.00914.02
5.6.30.0070.00413.86
5.6.20.0060.00914.14
5.6.10.0040.00714.30
5.6.00.0060.00314.02
5.5.380.0030.01014.47
5.5.370.0000.01114.38
5.5.360.0060.00614.22
5.5.350.0160.04517.22
5.5.340.0060.02416.02
5.5.330.0030.02517.09
5.5.320.0370.03517.38
5.5.310.0100.02717.35
5.5.300.0020.02515.95
5.5.290.0030.03016.15
5.5.280.0050.04717.51
5.5.270.0050.03617.36
5.5.260.0060.04617.51
5.5.250.0070.04017.44
5.5.240.0050.02317.28
5.5.230.0080.00414.21
5.5.220.0030.00913.66
5.5.210.0060.00614.07
5.5.200.0060.00613.79
5.5.190.0030.00914.00
5.5.180.0040.00414.30
5.5.170.0090.00314.17
5.5.160.0000.01214.18
5.5.150.0040.00414.11
5.5.140.0080.00414.28
5.5.130.0060.00614.02
5.5.120.0040.00913.94
5.5.110.0150.00014.03
5.5.100.0060.00613.91
5.5.90.0030.00913.96
5.5.80.0040.00714.14
5.5.70.0060.00614.25
5.5.60.0070.00714.17
5.5.50.0030.01013.73
5.5.40.0090.00613.91
5.5.30.0060.00314.14
5.5.20.0030.01014.00
5.5.10.0090.00613.61
5.5.00.0000.01313.79

preferences:
41.86 ms | 401 KiB | 5 Q