php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54161 problem with Include Path, Path Separator Colon
Submitted: 2011-03-04 11:50 UTC Modified: 2011-03-05 15:35 UTC
From: fkronenberger at t-online dot de Assigned:
Status: Not a bug Package: PHAR related
PHP Version: 5.3.5 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
1 + 25 = ?
Subscribe to this entry?

 
 [2011-03-04 11:50 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-05 15:35 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2011-03-05 15:35 UTC] felipe@php.net
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.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 23 03:01:23 2020 UTC