[TYPO3-core] PHP requirement version for TYPO3 4.0

Martin Kutschker Martin.Kutschker at blackbox.net
Tue Jan 3 12:19:38 CET 2006


Robert Lemke <robert at typo3.org> writes on 
Tue, 03 Jan 2006 11:58:02 +0100 (MET):

> 
> Have you tried that? If I uses addslashes over $name I get this
> result:


This code:

$test = 'abc"def\'ghi\\jkl';
echo $test,"\n";
echo addslashes($test),"\n";
ini_set('magic_quotes_sybase','1');
echo addslashes($test),"\n";

Produces this output:

abc"def'ghi\jkl
abc\"def\'ghi\\jkl
abc"def''ghi\jkl


> > http://at.php.net/manual/en/ref.sybase.php#ini.magic-quotes-sybase
> 
> So, does that mean we raise the PHP requirement because of a Sybase
> .ini setting although we don't support Sybase?


If you would have read through the thread, you would have known that we do not raise the PHP requirement. And we have also discussed the reasons for removing addslashes.

Masi 



More information about the TYPO3-team-core mailing list