Re: [PHP-DEV] extension/module versioning

2001-05-06 Thread Wez Furlong
On 2001-05-06 02:06:42, [EMAIL PROTECTED] wrote: what are the chances of having a function call for every extension that returns the version? this would be extremely useful for determining whether the correct version is installed, rather than checking to see if the function_exists().

Re: [PHP-DEV] extension/module versioning

2001-05-06 Thread Stig Sæther Bakken
[[EMAIL PROTECTED]] dev team, what are the chances of having a function call for every extension that returns the version? this would be extremely useful for determining whether the correct version is installed, rather than checking to see if the function_exists(). eg. $version_id =

Re: [PHP-DEV] extension/module versioning

2001-05-05 Thread Anil Madhavapeddy
[EMAIL PROTECTED] wrote: $version_id = xml_version(); or $version_id = ibase_version(); Probably better to do something like this: $version = get_extension_version('xml'); to avoid cluttering the namespace with more functions. Although, why not just use phpversion() ? Extensions aren't

Re: [PHP-DEV] extension/module versioning

2001-05-05 Thread avi
On Sun, 6 May 2001, Anil Madhavapeddy wrote: hey anil, Probably better to do something like this: $version = get_extension_version('xml'); to avoid cluttering the namespace with more functions. whatever it takes 8^) Although, why not just use phpversion() ? because then you can't write