php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80767 not just options(), but also ssl_set() can be called before real_connect()
Submitted: 2021-02-18 00:57 UTC Modified: 2021-02-18 10:50 UTC
From: mcruz at firmseek dot com Assigned:
Status: Closed Package: MySQLi related
PHP Version: 7.3.27 OS: n/a
Private report: No CVE-ID: None
 [2021-02-18 00:57 UTC] mcruz at firmseek dot com
Description:
------------
---
From manual page: https://php.net/mysqli.init
---

The note on the page says: "Any subsequent calls to any mysqli function (except mysqli_options()) will fail until mysqli_real_connect() was called."

However, that's not quite true: The function mysqli_ssl_set() can also be called before mysqli_real_connect(), and indeed it must be if it mysqli_ssl_set() used at all.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-02-18 10:50 UTC] cmb@php.net
-Status: Open +Status: Verified
 [2021-02-18 11:08 UTC] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=93577455fee1d0ab9d76350f500670b37216a66f
Log: Fix #80767: not just options(), but also ssl_set() can be called before real_connect()
 [2021-02-18 11:08 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2021-02-19 13:15 UTC] mumumu@php.net
Automatic comment on behalf of mumumu@mumumu.org
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=e23c182e875059de461e52072b640126b45b0b7d
Log: Fix #80767: not just options(), but also ssl_set() can be called before real_connect()
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC