Doc #80767 [Ver->Csd]: not just options(), but also ssl_set() can be called before real_connect()

From: Date: Thu, 18 Feb 2021 11:08:17 +0000
Subject: Doc #80767 [Ver->Csd]: not just options(), but also ssl_set() can be called before real_connect()
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18564@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80767&edit=1 ID: 80767 Updated by: cmb@php.net Reported by: mcruz at firmseek dot com Summary: not just options(), but also ssl_set() can be called before real_connect() -Status: Verified +Status: Closed Type: Documentation Problem Package: MySQLi related Operating System: n/a PHP Version: 7.3.27 Block user comment: N Private report: N New Comment: 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() Previous Comments: ------------------------------------------------------------------------ [2021-02-18 00:57:10] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80767&edit=1

« previous php.doc.bugs (#18564) next »