3v4l.org

run code in 300+ PHP versions simultaneously
<?php $server = "CASPER\SQLEXPRESS"; $myUser = "sa"; $myPass = "sa123"; $myDB = "AdisyonDB"; echo('zort'); // Connect to MSSQL $link = mssql_connect($server, 'sa', 'sa123'); echo('zort'); if (!$link) { die('Something went wrong while connecting to MSSQL'); } ?>

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.4.20.0090.00917.89
8.4.10.0160.00017.71
8.3.150.0100.01017.14
8.3.140.0080.00020.68
8.3.130.0000.01818.29
8.3.120.0090.00620.59
8.3.110.0110.00320.94
8.3.100.0030.00624.06
8.3.90.0090.00626.77
8.3.80.0060.00316.50
8.3.70.0090.00616.58
8.3.60.0000.01818.28
8.3.50.0120.01021.92
8.3.40.0070.00718.76
8.3.30.0080.00619.18
8.3.20.0070.00020.30
8.3.10.0000.00723.66
8.3.00.0080.00019.12
8.2.260.0070.01116.84
8.2.250.0130.00618.50
8.2.240.0090.01217.27
8.2.230.0050.00322.58
8.2.220.0080.00037.54
8.2.210.0070.00726.77
8.2.200.0040.00416.88
8.2.190.0080.00616.75
8.2.180.0150.00025.92
8.2.170.0100.01019.26
8.2.160.0060.01322.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0030.00526.16
8.2.120.0090.00020.96
8.2.110.0030.00620.13
8.2.100.0000.01218.03
8.2.90.0000.00817.91
8.2.80.0060.00317.97
8.2.70.0060.00318.04
8.2.60.0070.00318.22
8.2.50.0040.00418.10
8.2.40.0000.00819.39
8.2.30.0040.00419.11
8.2.20.0080.00017.63
8.2.10.0040.00418.06
8.2.00.0040.00417.62
8.1.310.0070.00716.98
8.1.300.0090.00018.34
8.1.290.0000.00930.84
8.1.280.0150.00025.92
8.1.270.0070.00024.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0120.00317.36
8.1.230.0080.00320.97
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0000.00817.22
8.1.190.0040.00417.10
8.1.180.0000.00918.10
8.1.170.0040.00418.63
8.1.160.0000.00819.02
8.1.150.0040.00418.88
8.1.140.0030.00617.35
8.1.130.0050.00217.33
8.1.120.0050.00217.45
8.1.110.0000.00717.33
8.1.100.0040.00317.43
8.1.90.0000.00717.28
8.1.80.0070.00017.46
8.1.70.0050.00217.41
8.1.60.0030.00617.58
8.1.50.0050.00517.43
8.1.40.0000.00817.51
8.1.30.0000.00817.65
8.1.20.0070.00017.62
8.1.10.0040.00417.47
8.1.00.0070.00317.47
8.0.300.0040.00419.77
8.0.290.0080.00316.75
8.0.280.0000.00718.38
8.0.270.0030.00517.18
8.0.260.0040.00416.88
8.0.250.0030.00516.92
8.0.240.0040.00417.00
8.0.230.0000.00716.82
8.0.220.0000.00716.77
8.0.210.0030.00316.79
8.0.200.0000.00816.97
8.0.190.0030.00617.00
8.0.180.0080.00016.83
8.0.170.0050.00316.95
8.0.160.0040.00316.98
8.0.150.0050.00316.87
8.0.140.0050.00316.82
8.0.130.0050.00013.32
8.0.120.0040.00416.84
8.0.110.0030.00516.73
8.0.100.0030.00416.89
8.0.90.0030.00616.91
8.0.80.0070.00716.84
8.0.70.0040.00416.89
8.0.60.0040.00416.80
8.0.50.0070.00016.79
8.0.30.0130.00917.03
8.0.20.0060.01317.40
8.0.10.0040.00417.04
8.0.00.0080.00816.59
7.4.330.0000.00515.03
7.4.320.0030.00316.35
7.4.300.0000.00616.50
7.4.290.0060.00316.59
7.4.280.0040.00416.50
7.4.270.0040.00416.63
7.4.260.0040.00416.56
7.4.250.0040.00416.54
7.4.240.0020.00616.51
7.4.230.0040.00416.70
7.4.220.0060.01216.49
7.4.210.0040.01516.46
7.4.200.0000.00716.50
7.4.160.0090.00616.48
7.4.150.0120.00717.40
7.4.140.0110.00817.86
7.4.130.0110.00916.49
7.4.120.0060.01116.57
7.4.110.0170.00316.33
7.4.100.0090.00916.42
7.4.90.0090.01216.37
7.4.80.0100.00919.39
7.4.70.0090.00916.59
7.4.60.0100.00716.46
7.4.50.0040.00416.58
7.4.40.0080.00916.42
7.4.30.0060.01016.65
7.4.00.0100.00615.20
7.3.330.0000.00513.11
7.3.320.0050.00013.14
7.3.310.0050.00216.12
7.3.300.0030.00316.33
7.3.290.0090.00616.30
7.3.280.0070.01016.29
7.3.270.0130.00517.40
7.3.260.0100.01016.36
7.3.250.0100.01216.31
7.3.240.0060.00916.26
7.3.230.0070.01016.53
7.3.210.0110.00616.27
7.3.200.0140.00319.39
7.3.190.0150.00716.36
7.3.180.0080.00816.25
7.3.170.0100.00716.27
7.3.160.0090.00616.47
7.3.00.0000.00916.65
7.2.330.0080.00916.60
7.2.320.0130.00316.27
7.2.310.0000.01616.67
7.2.300.0080.00816.73
7.2.290.0080.00816.57
7.2.130.0050.00516.69
7.2.120.0000.01116.80
7.2.110.0040.00716.89
7.2.100.0070.00716.74
7.2.90.0040.00816.84
7.2.80.0090.00317.02
7.2.70.0000.01116.75
7.2.60.0050.00916.91
7.2.50.0000.01016.69
7.2.40.0070.00416.68
7.2.30.0090.00016.83
7.2.20.0000.01316.59
7.2.10.0090.00316.80
7.2.00.0060.00417.88
7.1.250.0040.00415.48
7.1.240.0030.00615.67
7.1.230.0000.00915.56
7.1.220.0000.01115.54
7.1.210.0040.00815.63
7.1.200.0050.00215.73
7.1.190.0000.00815.30
7.1.180.0030.00715.64
7.1.170.0070.00715.81
7.1.160.0030.00615.75
7.1.150.0000.01015.75
7.1.140.0070.00715.63
7.1.130.0000.01015.63
7.1.120.0030.00615.40
7.1.110.0110.00015.85
7.1.100.0020.01016.93
7.1.90.0050.00315.44
7.1.80.0060.00315.74
7.1.70.0060.00216.44
7.1.60.0070.01117.47
7.1.50.0070.00816.28
7.1.40.0050.00315.66
7.1.30.0060.00615.71
7.1.20.0030.00715.55
7.1.10.0030.00615.34
7.1.00.0030.04318.97
7.0.330.0000.01015.41
7.0.320.0000.01115.18
7.0.310.0030.00515.38
7.0.300.0060.00315.39
7.0.290.0060.00315.52
7.0.280.0030.00715.33
7.0.270.0080.00415.45
7.0.260.0000.00815.37
7.0.250.0060.00615.42
7.0.240.0040.00414.99
7.0.230.0110.00315.31
7.0.220.0030.00715.30
7.0.210.0000.00915.42
7.0.200.0030.00516.05
7.0.190.0070.00715.45
7.0.180.0070.00315.40
7.0.170.0000.01015.39
7.0.160.0090.00615.12
7.0.150.0000.00815.35
7.0.140.0030.02018.69
7.0.130.0060.00315.42
7.0.120.0050.00415.54
7.0.110.0030.00615.39
7.0.100.0030.00914.99
7.0.90.0110.00015.12
7.0.80.0030.00715.19
7.0.70.0070.00415.42
7.0.60.0060.04317.61
7.0.50.0150.03016.54
7.0.40.0080.04316.48
7.0.30.0170.04316.54
7.0.20.0180.01716.68
7.0.10.0070.02816.69
7.0.00.0000.03116.69
5.6.380.0060.00314.00
5.6.370.0000.01014.44
5.6.360.0100.00014.37
5.6.350.0000.01214.48
5.6.340.0060.00714.18
5.6.330.0000.01014.15
5.6.320.0060.00313.98
5.6.310.0060.00313.89
5.6.300.0090.00314.61
5.6.290.0100.00314.46
5.6.280.0000.04217.73
5.6.270.0000.00914.50
5.6.260.0060.00614.40
5.6.250.0070.00714.11
5.6.240.0000.01114.19
5.6.230.0000.01014.14
5.6.220.0030.00614.09
5.6.210.0030.02517.36
5.6.200.0070.04016.15
5.6.190.0050.03117.59
5.6.180.0230.03717.46
5.6.170.0180.04317.19
5.6.160.0030.04917.18
5.6.150.0080.04216.19
5.6.140.0050.02216.22
5.6.130.0070.03216.28
5.6.120.0080.04217.61
5.6.110.0050.04617.51
5.6.100.0020.02917.44
5.6.90.0050.03317.42
5.6.80.0150.03817.16
5.6.70.0030.00514.20
5.6.60.0040.00714.11
5.6.50.0080.00313.97
5.6.40.0070.00413.78
5.6.30.0100.00014.11
5.6.20.0030.00913.99
5.6.10.0000.00814.00
5.6.00.0000.01213.96
5.5.380.0000.00711.11
5.5.370.0000.00610.90
5.5.360.0060.00310.94
5.5.350.2210.01715.66
5.5.340.0070.02314.43
5.5.330.0050.02315.64
5.5.320.0170.03315.67
5.5.310.0170.04315.67
5.5.300.0070.02314.40
5.5.290.0030.03714.38
5.5.280.0070.02815.88
5.5.270.0000.02815.79
5.5.260.0070.03315.96
5.5.250.0050.03515.84
5.5.240.0090.03515.48
5.5.230.0030.00310.90
5.5.220.0060.00010.90
5.5.210.0060.00310.98
5.5.200.0030.00610.90
5.5.190.0040.00410.95
5.5.180.0030.00310.90
5.5.170.0000.00810.93
5.5.160.0040.00410.90
5.5.150.0030.00310.90
5.5.140.0080.00010.90
5.5.130.0060.00010.90
5.5.120.0040.00410.92
5.5.110.0030.00510.90
5.5.100.0000.00710.93
5.5.90.0000.00810.93
5.5.80.0000.00710.90
5.5.70.0000.00710.90
5.5.60.0050.00210.90
5.5.50.0030.00311.04
5.5.40.0030.00610.93
5.5.30.0000.00510.90
5.5.20.0000.00610.92
5.5.10.0000.00710.90
5.5.00.0050.00010.90
5.4.450.0320.03315.05
5.4.440.0370.02915.24
5.4.430.0380.03115.07
5.4.420.0070.02815.14
5.4.410.0340.03115.28
5.4.400.0420.02815.06
5.4.390.0150.03114.80
5.4.380.0200.02714.76
5.4.370.0140.03314.68
5.4.360.0250.02614.70
5.4.350.0180.02614.81
5.4.340.0170.02914.77
5.4.330.0000.00610.91
5.4.320.0170.02814.78
5.4.310.0190.03014.91
5.4.300.0150.03014.81
5.4.290.0130.03314.68
5.4.280.0150.03714.75
5.4.270.0230.02614.74
5.4.260.0210.02814.78
5.4.250.0180.03214.75
5.4.240.0170.03614.80
5.4.230.0170.03014.72
5.4.220.0250.02514.76
5.4.210.0250.02314.74
5.4.200.0240.02513.67
5.4.190.0180.03214.83
5.4.180.0200.02714.72
5.4.170.0170.03114.69
5.4.160.0180.02914.78
5.4.150.0170.03014.69
5.4.140.0120.03213.55
5.4.130.0200.02513.53
5.4.120.0150.03013.59
5.4.110.0180.02513.62
5.4.100.0230.02313.64
5.4.90.0190.02713.56
5.4.80.0150.03213.53
5.4.70.0200.03113.47
5.4.60.0200.02813.59
5.4.50.0180.03513.56
5.4.40.0250.03213.51
5.4.30.0270.03213.56
5.4.20.0170.02813.55
5.4.10.0180.03513.55
5.4.00.0140.02913.26
5.3.290.0220.02812.73
5.3.280.0220.03012.79
5.3.270.0130.03212.73
5.3.260.0170.02812.74
5.3.250.0170.02912.73
5.3.240.0130.03312.74
5.3.230.0100.03612.70
5.3.220.0230.02312.77
5.3.210.0150.03212.71
5.3.200.0180.03012.72
5.3.190.0170.03412.75
5.3.180.0170.02912.77
5.3.170.0150.03012.74
5.3.160.0140.02612.68
5.3.150.0180.02312.76
5.3.140.0090.02812.72
5.3.130.0050.03112.73
5.3.120.0050.03512.71
5.3.110.0120.03212.77
5.3.100.0170.02712.45
5.3.90.0170.02912.51
5.3.80.0180.02712.45
5.3.70.0120.03312.47
5.3.60.0120.03412.41
5.3.50.0190.02612.44
5.3.40.0260.02212.40
5.3.30.0170.02812.42
5.3.20.0150.02712.27
5.3.10.0180.02212.27
5.3.00.0160.02512.31
5.2.170.0100.02611.02
5.2.160.0130.02111.00
5.2.150.0150.02211.00
5.2.140.0130.02111.04
5.2.130.0130.02110.99
5.2.120.0160.01711.02
5.2.110.0180.01711.07
5.2.100.0150.02010.98
5.2.90.0120.02011.03
5.2.80.0110.02510.96
5.2.70.0150.02010.99
5.2.60.0120.02910.98
5.2.50.0150.02510.97
5.2.40.0120.01810.90
5.2.30.0130.02010.96
5.2.20.0150.01610.96
5.2.10.0100.02210.92
5.2.00.0100.02110.79
5.1.60.0080.02410.48
5.1.50.0130.01510.44
5.1.40.0070.02110.44
5.1.30.0100.01910.62
5.1.20.0150.01810.64
5.1.10.0100.02010.48
5.1.00.0100.02510.53
5.0.50.0020.0209.78
5.0.40.0070.0159.71
5.0.30.0060.0259.58
5.0.20.0030.0209.63
5.0.10.0030.0209.60
5.0.00.0060.0229.52
4.4.90.0060.0118.36
4.4.80.0050.0128.40
4.4.70.0030.0138.38
4.4.60.0100.0098.40
4.4.50.0050.0128.36
4.4.40.0030.0208.38
4.4.30.0080.0088.42
4.4.20.0080.0108.42
4.4.10.0050.0128.44
4.4.00.0060.0188.42
4.3.110.0060.0138.39
4.3.100.0070.0108.37
4.3.90.0050.0128.35
4.3.80.0070.0178.33
4.3.70.0070.0108.34
4.3.60.0050.0108.33
4.3.50.0070.0128.38
4.3.40.0080.0168.34
4.3.30.0020.0157.80
4.3.20.0050.0137.80
4.3.10.0050.0117.80
4.3.00.0030.0148.85

preferences:
48.01 ms | 403 KiB | 5 Q