Doc #71259 [NEW]: bzopen(): more detailed description of the returned value and errors

From: Date: Fri, 01 Jan 2016 17:01:56 +0000
Subject: Doc #71259 [NEW]: bzopen(): more detailed description of the returned value and errors
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-13055@lists.php.net to get a copy of this message
From: salsi at icosaedro dot it Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:bzopen(): more detailed description of the returned value and errors Description: ------------ The "Return Values" section about the bzopen() should explain in more details the possible returned values and errors: - FALSE: failed to open or to create the file, or invalid mode specified. In this case an error of level E_WARNING is also triggered and the magic variable $php_errormsg is set (if enabled). - resource: file succesfully opened or created. On reading, check if bzerrno($bz) != 0 for possible BZIP2 encoding errors that may happen if the read file is corrupted or is not a BZIP2 encoded file at all. -- Edit bug report at https://bugs.php.net/bug.php?id=71259&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71259&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71259&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71259&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=71259&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=71259&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=71259&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=71259&r=needscript Try newer version: https://bugs.php.net/fix.php?id=71259&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=71259&r=support Expected behavior: https://bugs.php.net/fix.php?id=71259&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=71259&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=71259&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=71259&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71259&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=71259&r=dst IIS Stability: https://bugs.php.net/fix.php?id=71259&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=71259&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=71259&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=71259&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=71259&r=mysqlcfg

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