There is still 10% of users with a PHP < 5.2.
This is too important to abandon them.
So we must keep compatibility with 5.1. But may be this will change when version will be released (user rate decrease with time), for the moment 3.3 is still planned for 5.0 (except odt but this feature is not required to work). A good rate to abandon will be < 3%.

Also note that usage of DateTime is forbidden even after dropping php 5.1 support because we must use the dol_ function instead. This is to be sure to have code that take care of future feature like "user timezone" and daylight saving time.

Le 16/08/2012 21:32, Marcos García a écrit :
Hi,

I was looking for the last changes in Dolibarr, and the library odtphp requires PHP 5.2 and the Zip extension or PclZip library. I think Dolibarr 3.3 only requires PHP 5.0, maybe it would be nice to upgrade the PHP version requirement to 5.2 so that we can use new core functions like the filter_var or the DateTime class.

What do you think?

Regards,

    *Marcos García*

    marcos...@gmail.com <mailto:marcos...@gmail.com>




_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev


_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à