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

From: Date: Thu, 18 Feb 2021 00:57:10 +0000
Subject: Doc #80767 [NEW]: not just options(), but also ssl_set() can be called before real_connect()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18561@lists.php.net to get a copy of this message
From: mcruz at firmseek dot com Operating system: n/a PHP version: 7.3.27 Package: MySQLi related Bug Type: Documentation Problem Bug description:not just options(), but also ssl_set() can be called before real_connect() 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 bug report at https://bugs.php.net/bug.php?id=80767&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80767&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80767&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80767&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80767&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80767&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80767&r=support Expected behavior: https://bugs.php.net/fix.php?id=80767&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80767&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80767&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80767&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80767&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80767&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80767&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80767&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80767&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80767&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80767&r=mysqlcfg

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