Re: small static OO wrapper for include path

From: Date: Fri, 27 Nov 2009 20:27:01 +0000
Subject: Re: small static OO wrapper for include path
References: 1  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-6853@lists.php.net to get a copy of this message
On 27.11.2009, at 19:21, koubel wrote: > 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? well, sure you can the only question I have: why do you implement it in C? seems like a trivial task for php-implementation

« previous php.pecl.dev (#6853) next »