[TYPO3-core] PHP requirement version for TYPO3 4.0

Martin Kutschker Martin.Kutschker at blackbox.net
Sun Jan 1 22:16:54 CET 2006


Michael Stucki <michael at typo3.org> writes on 
Sun, 01 Jan 2006 21:25:08 +0100 (MET):

> 
> Sebastian and I noticed a problem with the mysql_real_escape_string
> featurethat was introduced by Masi some weeks ago.
> 
> The function [1] depends on PHP 4.3.0, and although this sounds like
> a logical requirement, it was in fact the first function that depends
> on PHP 4.3.0 after all.


I've a patch ready that tests for mysql_real_escape_string and has a fallback to mysql_escape_string.


> Another reason for thinking about that is bug #2145 [2] which depends
> on a parameter that did not exist before PHP 4.3.0.


Can we simply use header with three arguments? PHP 4 doesn't complain about extra paramters. Is this a problem for PHP5?


> So what we need to decide is wether we want to keep up the 4.1.2
> compatibility and revert the above change (or make it
> version-dependent) or alternatively communicate PHP 4.3.0 as the
> minimal required PHP version.


I fear that still too many 4.1.x installations are around to raise the supported php version.

Masi 



More information about the TYPO3-team-core mailing list