Bug #80338 [NEW]: see reported bug in another thread that was closed

From: Date: Sun, 08 Nov 2020 18:44:02 +0000
Subject: Bug #80338 [NEW]: see reported bug in another thread that was closed
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230200@lists.php.net to get a copy of this message
From: info at backups dot nl Operating system: ubuntu server PHP version: 8.0.0RC3 Package: *General Issues Bug Type: Bug Bug description:see reported bug in another thread that was closed Description: ------------ https://bugs.php.net/bug.php?id=80336 You closed the issue not allowing any further comments. But i am not done. You say > This requires a lot of code changes and makes things > slower again as we most of the time don not know the > value of the $haystack this is *not* true Then please explain to me why do I get the error when the $haystack is empty? Now i have to check the $haystack before calling strrpos. or strpos etc etc. Test script: --------------- $haystack=''; $pos = strrpos($haystack, '.', -1); -- Edit bug report at https://bugs.php.net/bug.php?id=80338&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80338&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80338&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80338&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80338&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80338&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80338&r=support Expected behavior: https://bugs.php.net/fix.php?id=80338&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80338&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80338&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80338&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80338&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80338&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80338&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80338&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80338&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80338&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80338&r=mysqlcfg

« previous php.bugs (#230200) next »