Hi Ilia, Ilia Alshanetsky wrote: > 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.
ext/standard/array.o(.text+0x6c2): In function `zif_count': /home/andrey/dev/6/ext/standard/array.c:316: undefined reference to `spl_ce_Countable' > > 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 >> > > Ilia Alshanetsky > Andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php