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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fkronenberger at t-online dot de
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC