redesigned version of 'intercept' package
| From: | Александр Валялкин | Date: | Tue, 10 Jan 2006 12:45:46 +0000 |
| Subject: | redesigned version of 'intercept' package | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-3398@lists.php.net to get a copy of this message | ||
Hi all.
It seems that nobody maintains 'intercept' package
http://pecl.php.net/intercept . I tryied to contact to
Gabriel Ricard
(lead maintainer), but he didn't answer.
This package contained only one function (intercept_add) and wasn't
useful in such state. So, I decided to redesign it.
New version of 'intercept' package allows to:
- intercept both user-space and internal functions; interception
handler can be as user-space function as internal PHP function;
- call original (intercepted) function inside interception handler;
- pass / accept function parameters inside interception handler;
- return / accept value from interception handler and original
(intercepted) function;
- set/remove/view interception handlers at runtime;
It is available to download sources of new version at
http://valyala.narod.ru/Xproject/intercept-0.4.0.tgz
Can I maintian this package in future? (I already maintain 'big_int'
and 'Crypt_RSA' packages.)