[TYPO3-core] RFC: Bug #11831: Remove reference operators for objects

Oliver Hader oliver at typo3.org
Wed Sep 16 19:57:27 CEST 2009


FYI: Committed to SVN Trunk (rev. 5947)

olly


Oliver Hader schrieb:
> This is an SVN patch request.
> 
> Type: Bugfix
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=11831
> 
> Branch: Trunk
> 
> Problem:
> Since PHP5 objects are used as reference by default. Thus, using the
> reference operator is not required anymore.
> 
> Solution:
> Remove the reference operator "&" when it's used in an object context.
> 
> Notes:
> There are some interface classes that I did not change, since using the
> reference-free version with existing hooks might fail...
> Testing this patch is a bit... impossible. So I'd say that it requires
> carefully reading by at least two Core Developers.
> 
> olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list