Bug #80877 [NEW]: imageinterlace(): Argument #2 ($enable) must be of type ?bool, int given

From: Date: Wed, 17 Mar 2021 13:03:07 +0000
Subject: Bug #80877 [NEW]: imageinterlace(): Argument #2 ($enable) must be of type ?bool, int given
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232813@lists.php.net to get a copy of this message
From: hjhjhj at fgfgfg dot ghghgh Operating system: PHP version: 8.0.3 Package: GD related Bug Type: Bug Bug description:imageinterlace(): Argument #2 ($enable) must be of type ?bool, int given Description: ------------ https://www.php.net/manual/en/function.imageinterlace.php imageinterlace ( resource $image , int $interlace = 0 ) : int TypeError: imageinterlace(): Argument #2 ($enable) must be of type ?bool, int given why the hell don't you throw out warnings in PHP7.4 instead switch from no notice or warning to a fatal type error and why in the world don't you compare with your documentation in that special case? -- Edit bug report at https://bugs.php.net/bug.php?id=80877&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80877&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80877&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80877&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80877&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80877&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80877&r=support Expected behavior: https://bugs.php.net/fix.php?id=80877&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80877&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80877&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80877&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80877&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80877&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80877&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80877&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80877&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80877&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80877&r=mysqlcfg

« previous php.bugs (#232813) next »