Bug #78843 [Opn->Fbk]: Different behavior of is_dir function on 7.2 vs 7.3

From: Date: Wed, 20 Nov 2019 12:49:52 +0000
Subject: Bug #78843 [Opn->Fbk]: Different behavior of is_dir function on 7.2 vs 7.3
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223813@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78843&edit=1 ID: 78843 Updated by: cmb@php.net Reported by: atantic dot ocean at gmail dot com Summary: Different behavior of is_dir function on 7.2 vs 7.3 -Status: Open +Status: Feedback Type: Bug Package: Filesystem function related Operating System: Linux Ubuntu 18.04.03 PHP Version: 7.3.11 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Try php -d error_reporting=-1 -r "var_dump(is_dir('themes'));" and also use the absolute path of 'themes'. Previous Comments: ------------------------------------------------------------------------ [2019-11-20 12:39:39] atantic dot ocean at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=78843&edit=1

« previous php.bugs (#223813) next »