[TYPO3-core] Re(2): Patch: tslib_pagegen / clone()

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Jan 19 17:03:20 CET 2006


Martin Kutschker writes on 
Thu, 19 Jan 2006 17:00:49 +0100 (MET):

> =?utf-8?q?Ren=C3=A9_Fritz?= <rene at typo3.org> writes on 
> Thu, 19 Jan 2006 15:40:00 +0100 (MET):
> 
> >>
> > Created t3lib/compat.php which is included in config_default.php.
> > In compat.php functions are placed that makes sense because of
> > compatibility. In this case clone() for PHP4;
> 
> 
> Please use conditional function declarations instead of eval()s


Should have read the whole thread first. Yet the eval is ugly :-)

Sorry,
Masi

PS: Perhaps you could a comment that explains the reason for the eval. 



More information about the TYPO3-team-core mailing list