Re: [PHP-DEV] detecting php versions

2002-05-07 Thread derick

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 - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] detecting php versions

2002-05-06 Thread brad lafountain

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.

 - Brad




__
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] detecting php versions

2002-05-06 Thread andrey

Hi, Brad. Maybe this will help you:

bash-2.04$ cat php_version.h
/* automatically generated by configure */
/* edit configure.in to change version number */
#define PHP_VERSION 4.2.0
bash-2.04$

- Original Message -
From: brad lafountain [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 07, 2002 8:10 AM
Subject: [PHP-DEV] detecting php versions


 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.

  - Brad




 __
 Do You Yahoo!?
 Yahoo! Health - your guide to health and wellness
 http://health.yahoo.com

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php