Bug #78843 [NEW]: Different behavior of is_dir function on 7.2 vs 7.3

From: Date: Wed, 20 Nov 2019 12:39:39 +0000
Subject: Bug #78843 [NEW]: Different behavior of is_dir function on 7.2 vs 7.3
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223812@lists.php.net to get a copy of this message
From: atantic dot ocean at gmail dot com Operating system: Linux Ubuntu 18.04.03 PHP version: 7.3.11 Package: Filesystem function related Bug Type: Bug Bug description:Different behavior of is_dir function on 7.2 vs 7.3 Description: ------------ Checked behavior of is_dir function on php 7.2.24 vs php 7.3.11 Got bool(true) on php 7.2 and bool(false) on php 7.3. This result is confusing for me. Please, let me know if I tested something wrong. Note: tested in CLI mode. Test script: --------------- php -r "var_dump(is_dir('themes'));" Expected result: ---------------- bool(true) Actual result: -------------- bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=78843&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78843&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78843&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78843&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78843&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78843&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78843&r=support Expected behavior: https://bugs.php.net/fix.php?id=78843&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78843&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78843&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78843&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78843&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78843&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78843&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78843&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78843&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78843&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78843&r=mysqlcfg

« previous php.bugs (#223812) next »