note 49295 added to function.get-include-path

From: Date: Sun, 23 Jan 2005 12:51:59 +0000
Subject: note 49295 added to function.get-include-path
Groups: php.notes 
Request: Send a blank email to php-notes+get-83815@lists.php.net to get a copy of this message
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 ); ?> ---- Manual Page -- http://www.php.net/manual/en/function.get-include-path.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49295 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49295&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49295&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49295&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49295&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49295&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49295&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83815) next »