small static OO wrapper for include path
| From: | koubel | Date: | Fri, 27 Nov 2009 16:21:52 +0000 |
| Subject: | small static OO wrapper for include path | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-6851@lists.php.net to get a copy of this message | ||
Hello,
I have made small wrapper for include path manipulation.
Extension has currently these static methods:
IncPath::add($path);
IncPath::remove($path);
IncPath::setByArray(array $paths);
IncPath::getPathArray();
I'll add to set() get() as aliases (if PHP_METHOD can be alias) for set_include_path(),
get_include_path().
mercurial repository: http://hg.mirin.cz/phpincpath/
I'm beginner in the PHP extension writing and also i C programming. I had little bit troubles
with zval_dtors and other
memory management function when I was write this one, so can you make some revisions and suggestions
for improvements?
Can I use pecl repository for maintain this one?
Sorry for my poor english.
Miroslav Kubelik
http://mirin.cz