There really should be no reason for count() to "require" SPL, it should definitely be possible to compile php with --disable-all and no other flags, with perhaps an exception for ICU for obvious reasons.

On 6-Dec-06, at 11:00 AM, Andrey Hristov wrote:

 Hi,
for the sake of saving time during development, especially in the
linking phase I decided to disable few extensions.
In HEAD --disable-all is kind of borked, PHP won't compile afterwards,
missing ICU enabled probably. Complains about unicode stuff. So,
no more --disable-all.
Let's remove XML support because it's not needed
in this case, maybe some people also don't use XML.
'--disable-xml' \
'--disable-libxml' \
'--disable-xmlreader' \
'--disable-xmlwriter' \
'--disable-dom' \

Now, SPL complains => --disable-spl. As a next step I can't build
ext/standard (count relies on SPL). Maybe it's time to remove the
options for disabling XML.

OTOH, with disabled Reflection, CLI fails to build.

So it's time to enable XML  :)

You may safely ignore this email message.

Andrey

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Ilia Alshanetsky

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to