Re: [RFC] Starting 5.3

From: Date: Fri, 04 May 2007 17:46:44 +0000
Subject: Re: [RFC] Starting 5.3
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-29176@lists.php.net to get a copy of this message
On 4-May-07, at 1:32 PM, Marcus Boerger wrote:
\For the biggest changes i'd like to see the following: 1) Adding PECL/Phar as default extension
I really don't think we need phar in core, certainly not enabled by default. If someone can make a good case for including it, I'd love to hear it.
Easier distributing/deployment of stuff and phar even allows to use the packed files as is from within the package or unpacked without any change. We use phar already for pear. Having the extension version that allows the mentioned untouched unpacking feature would help a lot of people.
Sure, that's why the Phar is there, I don't contest that it is a useful extension, but so are dozens of others inside PECL. To me it does not mean every extension that is at all useful should be included into the standard distro. If anything having in PECL allows for quicker releases and easier upgrade process, since people will mostly compile it in if it is in core, while pecl will 99% of the time be a shared extension. This means built-in version will require a PHP recompile to upgrade, something most people will not do, making them use older, possibly buggy versions.
2) Add open_filename debug info to streams
What would this mean for performance and memory usage of file ops?
An additional malloc and strcpy on opening and an additional free on closing. We could however limit actual use to --enable-debug builds.
My preference we enable this feature only for debug builds. Ilia Alshanetsky

« previous php.internals (#29176) next »