Doc #79771 [NEW]: Data type mismatch on the documentation page

From: Date: Thu, 02 Jul 2020 11:24:12 +0000
Subject: Doc #79771 [NEW]: Data type mismatch on the documentation page
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-17681@lists.php.net to get a copy of this message
From: reimo at warranty dot ee Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Data type mismatch on the documentation page Description: ------------ --- From manual page: https://php.net/sessionhandler.gc --- There seems to be data type mismatch on the documentation page https://www.php.net/manual/en/sessionhandler.gc.php where in the method declaration it is mentioned INT as a return type but later in the Return Values section it is mentioned BOOLEAN (TRUE, FALSE) type. Test script: --------------- I defined gc method for a custom session handler as: public function gc($maxlifetime): bool and it worked as expected. Platform: Debian 10, PHP 7.3.14 -- Edit bug report at https://bugs.php.net/bug.php?id=79771&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79771&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79771&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79771&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79771&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79771&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79771&r=support Expected behavior: https://bugs.php.net/fix.php?id=79771&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79771&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79771&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79771&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79771&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79771&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79771&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79771&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79771&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79771&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79771&r=mysqlcfg

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