Edit report at http://bugs.php.net/bug.php?id=54161&edit=1
ID: 54161 Updated by: [email protected] Reported by: fkronenberger at t-online dot de Summary: problem with Include Path, Path Separator Colon -Status: Open +Status: Bogus Type: Bug Package: PHAR related Operating System: * PHP Version: 5.3.5 Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is not a problem, php checks for stream wrappers (e.g. 'foo://') in the include path properly. Previous Comments: ------------------------------------------------------------------------ [2011-03-04 11:50:14] fkronenberger at t-online dot de Description: ------------ --- >From manual page: http://www.php.net/phar.construct#Description --- if You require a phar file eg. Your Demo Example myphar.phar, the Include Path is extended by phar://myphar.phar . The path separator in a include path is Colon ":" and is also contained in "phar://myphar.phar". How are recognized the correct include files, especially if You have required more then one phar file. Test script: --------------- Your Demo Example myphar.phar additionally with: echo get_include_path (); Actual result: -------------- phar://myphar.phar:.:/php/includes ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54161&edit=1
