Hi,

For now, let's not even worry about php6.  Basically, most of the things 
that are deprecated in php5 become illegal in php6 (sort of), but in most 
cases it can be worked around in the php config.  If you want to learn more 
about what is changing between php5 and php6, take a look at 
http://www.php.net/~derick/meeting-notes.html (but don't feel obligated, as 
it is a non-issue at this time).

I believe that PHP 4.3 is sufficient for a minimum version.  What I am going 
to do is add comments where I believe the functionality would need attention 
should php6 support become desirable.  For my part, versions I am targeting 
are of course 4.3 and 5.1.2, two fairly popular releases.


There are automatic variables in php that hold useful information.  For 
example, $_COOKIE is an array of the cookies sent by the browser, and $_POST 
is an array of post data passed when a user submits a form.  Earlier 
versions of php used an alternate naming scheme for these magic variables. 
$HTTP_POST_VARS and $HTTP_COOKIE_VARS are examples (there are five main 
ones).  These "long arrays" were deprecated in favor of the shorter ones 
starting with $_ as of php4.1.  By registering the long arrays, you ask php 
to create these deprecated variables for you in the global scope, thereby 
slowing down the application.  Now that I know the minimal version will be 
php 4.3, I feel confident in working to disable this functionality.

One of the reasons php5 may not work well with this application is the 
default setting of register_long_arrays in php.ini, but it would be only a 
small part of the picture if at all.


Please forgive me if I seem to over-post what I am doing. :-)
--Brian Zab



[EMAIL PROTECTED] wrote:
> Date: Fri, 29 Sep 2006 11:51:35 +0300
> From: Kaloyan Raev <[EMAIL PROTECTED]>
> 
> The installer is my work. Actually, part of it is my work. I took the
> installer from another project - MirrorMed (mirrormed.org) and made
> modification to use it with Care2x. So, the code of the installer is
> independent from the runtime code of Care2x. 
> 
> As for your comment about register_long_arrays, honestly I don't
> understand it. The framework of the installer is developed by the
> developers of MirrorMed. I didn't spend enough time to study all its
> aspects - just enough to adapt it to care2x. Feel free to make the
> changes you think are appropriate. 
> 
> PHP 6 is nice to have, but not a must. The focus now is PHP 5. PHP 4.x
> compatibility is a must. However, PHP 6 frightens PHP 4.3 compatibility.
> What about PHP 4.4? If PHP 6 and PHP 4.4 compatibilities can live
> together then in future version we can enforce using PHP 4.4 as lowest
> version number. 
> 
> Greetings
> Kaloyan

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers

Reply via email to