Bug #78843 [Fbk->NoF]: Different behavior of is_dir function on 7.2 vs 7.3
Edit report at https://bugs.php.net/bug.php?id=78843&edit=1
ID: 78843
Updated by: php-bugs@lists.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: Feedback
+Status: No Feedback
Type: Bug
Package: Filesystem function related
Operating System: Linux Ubuntu 18.04.03
PHP Version: 7.3.11
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2019-11-20 12:49:52] cmb@php.net
Try
php -d error_reporting=-1 -r "var_dump(is_dir('themes'));"
and also use the absolute path of 'themes'.
------------------------------------------------------------------------
[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
Thread (3 messages)