Bug #79470 [NEW]: PHP incompatible with 3rd party file system on demand

From: Date: Mon, 13 Apr 2020 07:07:58 +0000
Subject: Bug #79470 [NEW]: PHP incompatible with 3rd party file system on demand
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226547@lists.php.net to get a copy of this message
From: gilbertjgonzales at gmail dot com Operating system: Windows 10 PHP version: 7.3Git-2020-04-13 (Git) Package: *Directory/Filesystem functions Bug Type: Bug Bug description:PHP incompatible with 3rd party file system on demand Description: ------------ Similar to bug https://bugs.php.net/bug.php?id=75384 which affected OneDrive, 3rd party file systems that use Reparse Tags are failing to open files for files that are fetched "On Demand." Currently any third party file system using Reparse Tags will fail unless added explicitly for handling in PHP ( such as the OneDrive bugfix 75384 ). Test script: --------------- 1) Use 3rd party file system ( such as one created by company X ) using custom Reparse Tag 2) Store files using third party file system with "Fetch On Demand" feature implemented via custom Reparse Tag Then in folder mapped to third party file system, create 2 files Foo.php <?php require 'Bar.php'; Bar.php <?php echo 'Require worked'; Then run php Foo.php Expected result: ---------------- See "Require worked" output to the screen Actual result: -------------- PHP Warning: require(Bar.php): failed to open stream: No such file or directory in Foo.php on line 2 Warning: require(Bar.php): failed to open stream: No such file or directory in F oo.php on line 2 PHP Fatal error: require(): Failed opening required 'Bar.php' (include_path='.; C:\php\pear') in Foo.php on line 2 Fatal error: require(): Failed opening required 'Bar.php' (include_path='.;C:\ph p\pear') in Foo.php on line 2 -- Edit bug report at https://bugs.php.net/bug.php?id=79470&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79470&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79470&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79470&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79470&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79470&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79470&r=support Expected behavior: https://bugs.php.net/fix.php?id=79470&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79470&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79470&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79470&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79470&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79470&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79470&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79470&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79470&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79470&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79470&r=mysqlcfg

« previous php.bugs (#226547) next »