Doc #78399 [NEW]: mysqli ssl_set null parameters

From: Date: Sun, 11 Aug 2019 16:27:49 +0000
Subject: Doc #78399 [NEW]: mysqli ssl_set null parameters
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16875@lists.php.net to get a copy of this message
From: williamdes at wdes dot fr Operating system: Ubuntu 18.10 PHP version: 7.1.31 Package: Documentation problem Bug Type: Documentation Problem Bug description:mysqli ssl_set null parameters Description: ------------ The documentation says "Any unused SSL parameters may be given as NULL" but the signature indicates that the parameters can not be null. "mysqli::ssl_set ( string $key , string $cert , string $ca , string $capath , string $cipher ) : bool" So it throws an error "NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: mysqli::ssl_set() expects parameter 1 to be string, null given in /mnt/Dev/phpmyadmintest/libraries/classes/Dbi/DbiMysqli.php:86" --- From manual page: https://php.net/mysqli.ssl-set --- Discovered while searching for : https://github.com/phpmyadmin/phpmyadmin/issues/15304#issuecomment-520240241 Actual result: -------------- NOTICE: PHP message: PHP Fatal error: Uncaught TypeError: mysqli::ssl_set() expects parameter 1 to be string, null given in /mnt/Dev/phpmyadmintest/libraries/classes/Dbi/DbiMysqli.php:86 -- Edit bug report at https://bugs.php.net/bug.php?id=78399&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78399&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78399&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78399&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78399&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78399&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78399&r=support Expected behavior: https://bugs.php.net/fix.php?id=78399&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78399&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78399&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78399&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78399&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78399&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78399&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78399&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78399&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78399&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78399&r=mysqlcfg

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