[TYPO3-core] RFC #13874: NULL reference when using hook in class.t3lib_utility_client.php

Jigal van Hemert jigal at xs4all.nl
Wed Jun 16 20:28:33 CEST 2010


Steffen Müller wrote:
> Add $null and pass it as a reference for the third parameter.

+1 by reading and testing the concept of passing these parameters as 
reference in a test script.

(You could even do without the initialization of $null, because an 
uninitialized variable is also considered to be NULL. Initializing is of 
course better practise)

-- 
Jigal van Hemert
skype:jigal.van.hemert
msn: jigal at xs4all.nl
http://twitter.com/jigalvh


More information about the TYPO3-team-core mailing list