Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-17 Thread Stig Sæther Bakken
[[EMAIL PROTECTED] (Stig Sæther Bakken)] > [Jani Taskinen <[EMAIL PROTECTED]>] > > On Sun, 16 Sep 2001, Sterling Hughes wrote: > > > > >+1, perhaps from an api perspective we could have something like: > > > > > >$vn = php_get_version(GD); > > > > > >or if the argument is empty, retur

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-17 Thread Stig Sæther Bakken
[Jani Taskinen <[EMAIL PROTECTED]>] > On Sun, 16 Sep 2001, Sterling Hughes wrote: > > >+1, perhaps from an api perspective we could have something like: > > > >$vn = php_get_version(GD); > > > >or if the argument is empty, return the main php version: > > > >$phpVer = php_get_vers

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-17 Thread Sander Steffann
Hi, > >Very big +1 on this one (or something similar). What also would be useful is > >a built-in way to determine optional parts of extensions, like something to > >check if GD supports GIF/PNG/etc. This way, you can check the version and > >the optional parts. > > You mean this: > http://www.ph

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-16 Thread Stig Bakken
On Mon, 17 Sep 2001, Stig Bakken wrote: > On Sun, 16 Sep 2001, Sander Steffann wrote: > > > Hi, > > > > > PHP_VERSION_NUM > > > > +1 from me too. > > > > > Example: > > > GD_EXT_VERSION = 30201 > > > > Very big +1 on this one (or something similar). What also would be useful is > > a built-i

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-16 Thread Stig Bakken
On Sun, 16 Sep 2001, Sander Steffann wrote: > Hi, > > > PHP_VERSION_NUM > > +1 from me too. > > > Example: > > GD_EXT_VERSION = 30201 > > Very big +1 on this one (or something similar). What also would be useful is > a built-in way to determine optional parts of extensions, like something to

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-16 Thread Sander Steffann
Hi, > PHP_VERSION_NUM +1 from me too. > Example: > GD_EXT_VERSION = 30201 Very big +1 on this one (or something similar). What also would be useful is a built-in way to determine optional parts of extensions, like something to check if GD supports GIF/PNG/etc. This way, you can check the versi

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-16 Thread derick
Hello, hrm, I swear I saw this before... but I say again that I think this is a very good idea, this weill make BC much less probably, for example, I still remember the probs with the DOMXML extension... +2 Derick On Sun, 16 Sep 2001, Jani Taskinen wrote: > v.m.b = v * 1 + m * 100 + b >

Re: [PHP-DEV] Versioning (resent AGAIN due to lack of replies)

2001-09-16 Thread Sterling Hughes
On Sun, 16 Sep 2001, Jani Taskinen wrote: > > I was thinking of PEAR too, don't worry. :) > But the versioning scheme/rules for PHP must be strict. > > Consider following: > > We have a numeric version constant: > > PHP_VERSION_NUM > > the value for this is calculated with this simple formula: >