RE : [PHP-DEV] [RFC] Starting 5.3
| From: | P) | Date: | Wed, 09 May 2007 11:47:13 +0000 |
| Subject: | RE : [PHP-DEV] [RFC] Starting 5.3 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29372@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Stanislav Malyshev [mailto:stas@zend.com]
>
> I guess we are solving the wrong problem. We have:
> 1. phar needs script-defined named streams
> 2. Named streams are prohibited by some config option
> 3. Let's pretend this stream is not actually what it is
> 4. Let's create whole new extension for that and put it into main PHP
>
> I think this process is wrong. If we have problem with names streams
> usage in apps, we should seek solutions there, not invent
> modules just
> to work around the problem we ourselves create. What happens we need
> next application using named streams? Another extension into main PHP
> source whose purpose is to duplicate PHP code and work around our own
> security model?
Right. The problem is with the decision of considering every user stream as remote. As with most
software, not more than 10% of PHP_Archive needed a C accelerator. And because of this decision,
they had to convert everything into a C extension !
Francois