Re: [PHP4BETA] forward/back port of modules....
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] forward/back port of modules.... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-441@lists.php.net to get a copy of this message | ||
> do we think it makes any sense to have the modules (in my case oci8) to
> compile in both php3 and php4....
>
> i got oci8 to compile by doing stuff like:
>
> #if PHP_API_VERSION < 19990421
> #include "internal_functions.h"
> #include "php3_list.h"
> #include "head.h"
> #endif
>
> but now i need to get the array stuff working (an i prefer only to have
> ONE sorce to work on....) - so should i go ahead with "#if PHP_API_VERSION
> < 19990421" stuff???
We might be able to clean this up a bit by making a few changes to the 3.0
tree. I think it is important that it isn't too hard to get modules
working in both 3.0 and 4.0. Do your API_VERSION stuff for now and when
we get a bit further along and have a better feeling for the exact
differences we can see what we can do to 3.0.x to make this simpler.
-Rasmus
--
PHP 4 Beta