Re: PHP standard depends on other extensions
| From: | Piotr Roszatycki | Date: | Fri, 22 Jul 2005 18:41:28 +0000 |
| Subject: | Re: PHP standard depends on other extensions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-17388@lists.php.net to get a copy of this message | ||
On Friday 22 of July 2005 19:56, Johannes Schlueter wrote:
> A build with spl statically compiled in is for me just a few k bigger than
> a build without spl. But building spl shared wouldn't work well for two
> reasons: It deals with quite engine-near stuff (like overriding the []
> syntax or __autoload()) and other extensions behave different depending on
> wether it was compiled in or not (for example MySQLi's MysqliException is
> extended from SPL's RuntimeException if available at compile time)
>
> btw. I don't see a reason for building basic extensions as shared...
In the other way, SPL requires compiled-in XML library because if even I can
get XML in shared extension then SPL will be without SimpleXMLIterator, etc.
Should I consider spl with simplexml as basic extensions?
I'd like to have very light php binary so it could be used as interpreter for
system scripts.
> I can't reproduce this on my readline-powered box and your link states "We
> believe that the bug you reported is fixed in the latest version of
> libedit" if not please report to the libedit guys or use readline. ;-)
Still it is not fixed. The readline library is GPL and is not compatible with
PHP license, so the libedit is the only choise.
--
.''`. Piotr Roszatycki, Netia SA
: :' : mailto:Piotr_Roszatycki@netia.net.pl
. ' mailto:dexter@debian.org
`-