Re: detecting php versions

From: Date: Tue, 07 May 2002 07:05:46 +0000
Subject: Re: detecting php versions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83780@lists.php.net to get a copy of this message
On Mon, 6 May 2002, brad lafountain wrote: > Hello, > > My extension uses php_start_ob_buffer() i am trying to cross compile it from > php-4.1.2 and php-4.2.0. Well the number of parameters in php_start_ob_buffer > changed and PHP_API_VERSION stayed the same between the two. Is there a way > that i can detect this at compile time. Not really, but PHP 4.2.1 will have a newer Zend API NO, so it won't be a problem in 4.2.1. But you indeed raise a point, we should bumb up the PHP API number if any of the PHPAPI functions changes in parameters or return values. Derick --------------------------------------------------------------------------- Did I help you? http://www.jdimedia.nl/derick/link.php?url=giftlist Frequent ranting: http://www.jdimedia.nl/derick/ --------------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---------------------------------------------------------------------------

« previous php.dev (#83780) next »