|  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:
Solve the problem:
1 + 25 = ?
Subscribe to this entry?

 [2011-03-04 11:50 UTC] fkronenberger at t-online dot de
From manual page:
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:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-05 15:35 UTC]
-Status: Open +Status: Bogus
 [2011-03-05 15:35 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

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