frogsystem / fs2core

This is the official repository for Frogsystem 2 development.
http://www.frogsystem.de
2 stars 3 forks source link

Enforce full compatibility with PHP 5.4 #88

Closed Thoronador closed 9 years ago

Thoronador commented 11 years ago

Ensure that Frogsystem 2 is completely compatible with PHP 5.4. PHP 5.4 introduced some changes that are incompatible with PHP 5.3 and previous versions, e.g. removing magic quotes, call-time pass by reference and register_globals, just to name a few important changes. A full list can be seen here.

As far as I know, Frogsystem 2.alix5c, currently the most recent published version, makes use of call-time pass by reference and magic quotes (although the later one is only checked and disabled in most scripts). The development branch (alix6_neu) uses call-time pass by reference and (maybe?) magic quotes, too. Both should be removed and/or workarounds should be introduced to avoid problems related to those removed PHP features and to make the CMS compatible with both PHP 5.4 and previous versions.

(I consider this a rather urgent issue, because major distributions like Debian or Ubuntu already use PHP 5.4 in their latest stable releases.)