Re: RE : [PHP-DEV] [PATCH] potential solution to user streams + allow_url_include=off
| From: | Stanislav Malyshev | Date: | Wed, 30 May 2007 19:30:54 +0000 |
| Subject: | Re: RE : [PHP-DEV] [PATCH] potential solution to user streams + allow_url_include=off | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29965@lists.php.net to get a copy of this message | ||
I see that you added a boolean arg to stream_wrapper_register(). Why couldn't it be an integer mask of OR-ed predefined constants, providing some space for more stream options. A local stream would be created with : stream_wrapper_register($protocol,$class,STREAM_IS_LOCAL);Well, it could be if people see the use for it. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/