ID: 45976
User updated by: development at domain51 dot com
Reported By: development at domain51 dot com
Status: Open
Bug Type: SPL related
Operating System: OS X
PHP Version: 5.3CVS-2008-09-02 (CVS)
New Comment:
The problem is that SimpleXML should not be something that can be
disabled if it is required for SPL and SPL can not be disabled. This
will break all manner of debian packages that compile with
--disable-all
used.
Previous Comments:
[2008-09-02 23:20:34] [EMAIL PROTECTED]
What exactly is bugged about this according to you?
SPL requires simpleXML, which you explicitly disallow. Seems pretty
straightforward to me? enable simpleXML and SPL will load just fine
again.
[2008-09-02 16:52:18] development at domain51 dot com
Description:
When the SimpleXML extension is not loaded, SPL fails to load.
Reproduce code:
---
$ ./configure --disable-simplexml && make && make install
$ php -v
Expected result:
PHP 5.3.0alpha3-dev (cli) (built: Sep 2 2008 11:09:22)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
Actual result:
--
PHP Warning: Cannot load module 'SPL' because required module
'simplexml' is not loaded in Unknown on line 0
PHP 5.3.0alpha3-dev (cli) (built: Sep 2 2008 11:09:22)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
--
Edit this bug report at http://bugs.php.net/?id=45976&edit=1