Doc #81067 [NEW]: fpassthru no false

From: Date: Fri, 21 May 2021 16:12:57 +0000
Subject: Doc #81067 [NEW]: fpassthru no false
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18779@lists.php.net to get a copy of this message
From: simbiat at outlook dot com Operating system: PHP version: 8.0.6 Package: phpdbg Bug Type: Documentation Problem Bug description:fpassthru no false Description: ------------ According to https://www.php.net/manual/en/function.fpassthru.php fpassthru can return false, even though definition is "fpassthru ( resource $stream ) : int". So, there is a contradiction and it seems like in description, rather in definition. Unless it's planned to replace Fatal Error with false return. Expected result: ---------------- Correct description of return values is expected Actual result: -------------- Promises false in case of error. -- Edit bug report at https://bugs.php.net/bug.php?id=81067&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81067&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81067&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81067&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81067&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81067&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81067&r=support Expected behavior: https://bugs.php.net/fix.php?id=81067&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81067&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81067&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81067&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81067&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81067&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81067&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81067&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81067&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81067&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81067&r=mysqlcfg

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