note 49295 deleted from function.get-include-path by joey
| From: | joey@php.net | Date: | Tue, 20 Aug 2013 17:45:58 +0000 |
| Subject: | note 49295 deleted from function.get-include-path by joey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196029@lists.php.net to get a copy of this message | ||
Note Submitter: Borszczuk
----
In case you would like to have all include path elements in form of an array use the following code
(PATH_SEPARATOR is PHP's constand and it's crucial to avoid problems with different
linux/windows separators
<?php
$pathArray = explode( PATH_SEPARATOR, get_include_path() );
print_r( $pathArray );
?>