RE: [PHP-DEV] PHP_31 define?

From: Date: Sat, 19 Sep 1998 17:12:24 +0000
Subject: RE: [PHP-DEV] PHP_31 define?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-1262@lists.php.net to get a copy of this message
> > While we're at it, when can we bring the 3.1 to be uptodate > with the 3.0 > > tree as far as modules are concerned? > > Anytime you want. It is a gradual process, obviously. I am currently > doing LDAP and SNMP. The LDAP module isn't compiling because of the > PHP_31 thing. I have added -DPHP_31 to CFLAGS and it should > go now, but > do we even want such a define? I'd rather see some sort of > API version > numbering similar to Apache's so instead of the current: > > #if PHP_31 > #if PHP_API_MAGIC_NUMBER > 3119980919 That would be great. I made PHP_31 for now so I could backport modules from 3.1 to 3.0. Those modules that have the define PHP_31 can be maintained in the 3.0 tree, and simply copied to the 3.1 tree, and should work without any changes. Yes the magic number would be better, but this was a quick thing. I define PHP_31 in the ms project settings, so in unix you do need -DPHP_31 Shane -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1262) next »