3v4l.org

run code in 300+ PHP versions simultaneously
<?php $serverName = "138.223.4.34"; //serverName\instanceName // Since UID and PWD are not specified in the $connectionInfo array, // The connection will be attempted using Windows Authentication. $connectionInfo = array( "Database"=>"navibase"); $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn ) { echo "Connection established.<br />"; }else{ echo "Connection could not be established.<br />"; die( print_r( sqlsrv_errors(), true)); } ?>

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.63
8.3.50.0160.00517.52
8.3.40.0090.00618.97
8.3.30.0040.01118.67
8.3.20.0040.00418.95
8.3.10.0040.00418.86
8.3.00.0070.00319.38
8.2.180.0180.00018.54
8.2.170.0100.00622.96
8.2.160.0060.01018.72
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0070.00021.09
8.2.110.0060.00320.54
8.2.100.0070.00417.59
8.2.90.0000.00817.75
8.2.80.0040.00418.78
8.2.70.0050.00517.50
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0050.00218.22
8.2.30.0060.00317.56
8.2.20.0030.00717.61
8.2.10.0000.00717.63
8.2.00.0040.00417.80
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0100.00022.08
8.1.230.0040.00823.86
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.22
8.1.190.0080.00017.23
8.1.180.0000.00819.32
8.1.170.0080.00018.58
8.1.160.0000.00718.94
8.1.150.0000.00718.57
8.1.140.0000.00817.39
8.1.130.0050.00317.26
8.1.120.0040.00417.38
8.1.110.0050.00317.34
8.1.100.0050.00217.45
8.1.90.0040.00417.41
8.1.80.0040.00417.36
8.1.70.0030.00317.37
8.1.60.0040.00417.53
8.1.50.0030.00517.51
8.1.40.0030.00517.52
8.1.30.0000.00817.62
8.1.20.0000.00817.57
8.1.10.0000.00717.43
8.1.00.0000.00717.49
8.0.300.0040.00418.77
8.0.290.0000.00916.63
8.0.280.0070.00018.29
8.0.270.0030.00617.11
8.0.260.0030.00616.75
8.0.250.0040.00416.92
8.0.240.0070.00017.02
8.0.230.0000.00816.97
8.0.220.0040.00416.76
8.0.210.0040.00416.83
8.0.200.0070.00016.82
8.0.190.0000.00816.81
8.0.180.0080.00316.94
8.0.170.0040.00716.98
8.0.160.0030.00316.88
8.0.150.0070.00016.83
8.0.140.0090.00316.84
8.0.130.0030.00313.25
8.0.120.0030.00716.74
8.0.110.0000.00716.75
8.0.100.0040.00416.98
8.0.90.0070.00016.79
8.0.80.0090.01216.94
8.0.70.0000.00717.01
8.0.60.0000.00916.91
8.0.50.0000.00816.72
8.0.30.0140.00717.00
8.0.20.0090.00917.24
8.0.10.0000.00716.84
8.0.00.0080.01116.71
7.4.330.0020.00212.92
7.4.320.0070.00016.54
7.4.300.0070.00016.61
7.4.290.0030.00716.48
7.4.280.0070.00016.59
7.4.270.0000.00616.47
7.4.260.0000.00513.28
7.4.250.0040.00416.52
7.4.240.0030.00316.65
7.4.230.0000.00816.60
7.4.220.0110.01416.46
7.4.210.0060.00916.70
7.4.200.0000.00716.49
7.4.190.0030.00516.68
7.4.160.0060.01016.54
7.4.150.0100.01016.48
7.4.140.0100.01417.86
7.4.130.0060.01816.48
7.4.120.0140.00516.59
7.4.110.0120.01216.50
7.4.100.0040.01516.46
7.4.90.0120.00616.37
7.4.80.0120.00419.39
7.4.70.0070.01016.53
7.4.60.0100.00716.57
7.4.50.0080.00016.45
7.4.40.0030.01116.57
7.4.30.0030.01216.67
7.4.00.0070.00714.63
7.3.330.0030.00313.18
7.3.320.0000.00513.14
7.3.310.0030.00516.13
7.3.300.0060.00016.23
7.3.290.0060.00816.28
7.3.280.0130.00816.37
7.3.270.0170.00016.49
7.3.260.0070.01016.43
7.3.240.0120.00416.41
7.3.230.0030.01316.42
7.3.210.0090.00616.27
7.3.200.0090.00616.36
7.3.190.0120.00416.37
7.3.180.0120.00316.22
7.3.170.0130.00316.52
7.3.160.0030.01216.23
7.3.120.0040.01114.68
7.3.10.0000.01316.68
7.3.00.0060.00316.63
7.2.330.0150.00716.48
7.2.320.0100.00916.51
7.2.310.0060.01116.26
7.2.300.0090.00916.47
7.2.290.0090.00816.21
7.2.130.0040.01116.78
7.2.120.0070.00716.51
7.2.110.0110.00416.35
7.2.100.0080.00816.63
7.2.90.0100.00016.78
7.2.80.0040.00816.63
7.2.70.0120.00016.97
7.2.60.0650.00915.88
7.2.50.0080.00316.87
7.2.40.0030.00816.91
7.2.30.0060.00616.95
7.2.20.0060.00616.55
7.2.10.0070.00716.75
7.2.00.0010.01217.98
7.1.250.0070.00415.69
7.1.200.0040.00815.48
7.1.100.0030.01017.63
7.1.70.0100.00016.90
7.1.60.0100.01319.25
7.1.50.0110.00316.88
7.1.00.0000.04322.31
7.0.200.0030.00616.62
7.0.140.0100.06721.92
7.0.120.0030.03322.13
7.0.60.0030.07719.91
7.0.50.0030.07017.85
7.0.40.0070.09020.19
7.0.30.0200.04020.04
7.0.20.0300.08020.01
7.0.10.0000.09320.13
7.0.00.0070.05020.16
5.6.280.0000.07721.09
5.6.210.0100.08020.46
5.6.200.0070.08718.11
5.6.190.0000.04720.53
5.6.180.0470.07320.41
5.6.170.0230.04020.33
5.6.160.0030.05720.40
5.6.150.0100.08018.07
5.6.140.0070.03718.06
5.6.130.0070.04318.09
5.6.120.0100.07720.99
5.6.110.0070.08321.07
5.6.100.0130.07721.00
5.6.90.0170.07020.96
5.6.80.0070.07720.53
5.5.350.0100.04020.40
5.5.340.0000.04017.92
5.5.330.0170.06720.14
5.5.320.0470.06320.29
5.5.310.0270.07020.24
5.5.300.0070.07317.89
5.5.290.0070.05317.91
5.5.280.0170.07020.73
5.5.270.0030.09020.76
5.5.260.0030.08320.75
5.5.250.0030.04020.70
5.5.240.0130.05020.26
5.4.450.0170.07019.43
5.4.440.0030.04319.11
5.4.430.0100.05019.50
5.4.420.0030.06319.50
5.4.410.0100.03318.98
5.4.400.0070.04719.08
5.4.390.0030.04319.08
5.4.380.0070.07719.00
5.4.370.0000.04319.14
5.4.360.0070.05019.07
5.4.350.0070.05718.91
5.4.340.0070.07019.12
5.4.320.0070.07718.81
5.4.310.0000.07719.16
5.4.300.0000.07719.07
5.4.290.0070.06318.79
5.4.280.0030.04318.80
5.4.270.0100.07318.91
5.4.260.0030.07318.89
5.4.250.0030.07318.80
5.4.240.0100.07019.17
5.4.230.0130.04019.11
5.4.220.0030.05318.95
5.4.210.0100.07319.07
5.4.200.0070.07319.11
5.4.190.0130.07019.07
5.4.180.0030.05019.07
5.4.170.0170.06318.91
5.4.160.0070.08019.11
5.4.150.0070.04319.05
5.4.140.0070.04316.29
5.4.130.0070.06016.18
5.4.120.0030.04316.25
5.4.110.0070.07316.23
5.4.100.0070.07316.27
5.4.90.0030.03716.26
5.4.80.0030.07316.38
5.4.70.0100.07016.59
5.4.60.0230.04716.60
5.4.50.0030.04716.20
5.4.40.0030.07016.33
5.4.30.0100.07016.30
5.4.20.0070.05716.36
5.4.10.0000.05716.38
5.4.00.0100.07015.82
5.3.290.0030.07714.54
5.3.280.0170.06714.52
5.3.270.0170.06714.58
5.3.260.0070.04714.57
5.3.250.0100.07314.53
5.3.240.0100.05714.48
5.3.230.0000.06714.58
5.3.220.0070.04714.49
5.3.210.0070.04014.48
5.3.200.0000.07314.49
5.3.190.0070.07714.49
5.3.180.0070.06314.45
5.3.170.0000.06014.50
5.3.160.0000.08314.34
5.3.150.0030.04714.44
5.3.140.0030.05014.50
5.3.130.0130.06714.55
5.3.120.0170.06714.48
5.3.110.0030.08314.56
5.3.100.0100.05714.01
5.3.90.0030.04713.95
5.3.80.0170.06313.98
5.3.70.0000.06013.95
5.3.60.0030.07713.82
5.3.50.0230.06313.87
5.3.40.0000.04013.90
5.3.30.0070.04713.87
5.3.20.0070.05713.48
5.3.10.0100.03713.57
5.3.00.0070.05313.56
5.2.170.0000.04711.02
5.2.160.0070.06311.10
5.2.150.0000.05011.13
5.2.140.0030.03011.22
5.2.130.0030.06011.11
5.2.120.0070.03710.95
5.2.110.0030.05011.09
5.2.100.0070.06011.09
5.2.90.0070.05311.09
5.2.80.0130.05010.92
5.2.70.0000.04310.91
5.2.60.0030.06011.12
5.2.50.0070.06310.89
5.2.40.0030.03010.92
5.2.30.0030.03010.98
5.2.20.0030.06311.11
5.2.10.0070.05710.75
5.2.00.0000.03010.70
5.1.60.0030.0509.83
5.1.50.0000.0539.98
5.1.40.0070.0379.94
5.1.30.0070.05710.41
5.1.20.0000.03710.35
5.1.10.0070.04310.11
5.1.00.0000.04310.05
5.0.50.0100.0308.56
5.0.40.0000.0408.42
5.0.30.0030.0678.12
5.0.20.0000.0478.26
5.0.10.0030.0278.18
5.0.00.0030.0378.19
4.4.90.0100.0177.78
4.4.80.0030.0207.78
4.4.70.0000.0307.78
4.4.60.0000.0277.78
4.4.50.0000.0207.78
4.4.40.0030.0477.78
4.4.30.0000.0377.78
4.4.20.0000.0177.78
4.4.10.0000.0207.78
4.4.00.0030.0237.78
4.3.110.0000.0277.78
4.3.100.0070.0307.78
4.3.90.0100.0277.78
4.3.80.0000.0337.78
4.3.70.0000.0207.78
4.3.60.0000.0307.78
4.3.50.0030.0177.78
4.3.40.0000.0307.78
4.3.30.0030.0277.78
4.3.20.0000.0207.78
4.3.10.0030.0237.78
4.3.00.0030.0337.78

preferences:
46.72 ms | 401 KiB | 5 Q