I'd like to be able to use the Log class from PEAR in some specific cases, but I don't want Fuel to use it internally.
This seems problematic since the PEAR/Log.php file does not include any namespace.
As soon as PEAR Log is loaded it replaces Fuel's Log in the global namespace.
Is there a way to overcome this without touching the PEAR package?
Thanks,
Jakob
Not without changing the PEAR package.
The problem with PEAR is that most of it is very outdated and/or poorly maintained.
There is a PEAR draft about introducing namespaces, which dates back to 2008, and isn't work on like most of the other PEAR stuff...