On 11 Nov 2005, at 00:02, justin randell wrote:
it's probably worth fixing this in the code as well.
a simple function would do it.
It's probably worth settling on one version of PHP with standard
extensions compiled in and then using PHP_Compat[1] to ensure that
all the functions and constants will be provided if the PHP version
on the install is older that the development PHP eg by using
PEAR_Compat::loadVersion('4.4.0') (or whatever version is chosen).
See [2].
I'd provide a patch for this but I don't have time tonight and I'm
hoping that someone will patch one way or the other before I do get
time :P
[1] http://pear.php.net/manual/en/package.php.php-compat.php [2] http://pear.php.net/manual/en/package.php.php-compat.php- compat.loadversion.php
Yours, Craig -- Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net Xeriom.NET | f: +44 (0)709 287 1902 | w: http://xeriom.net