php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #33528 get_include_path returning an array
Submitted: 2005-06-30 19:21 UTC Modified: 2018-08-20 14:58 UTC
Votes:3
Avg. Score:2.0 ± 1.4
Reproduced:0 of 2 (0.0%)
From: sr at brightlight dot ch Assigned:
Status: Suspended Package: PHP options/info functions
PHP Version: 4.3.11 OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sr at brightlight dot ch
New email:
PHP Version: OS:

 

 [2005-06-30 19:21 UTC] sr at brightlight dot ch
Description:
------------
get_include_path is basically useless like it is now (get_ini 
can be used for that as well). It would be more useable if it 
returned an array of include paths, so that we don't always 
have to split it up by ourselfs which is time consuming and 
not elegant.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-08-07 13:04 UTC] majewski dot joseph at gmail dot com
$pathArray = explode( PATH_SEPARATOR, get_include_path() );
 [2016-12-30 23:00 UTC] cmb@php.net
-Package: Feature/Change Request +Package: PHP options/info functions
 [2018-08-20 14:58 UTC] cmb@php.net
-Status: Open +Status: Suspended
 [2018-08-20 14:58 UTC] cmb@php.net
Changing the return value of get_include_path() would certainly
need discussion on internals@ or on a respective PR.  Anybody is
welcome to start this discussion.  For the time being, I'm
suspending this ticket.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Nov 13 15:01:28 2019 UTC