Issue Bug Closed

#30056Invalid use of array_shift() in t3lib_div

Xavier Perseguers 09/19/11, 22:57 updated 10/24/17, 14:06

Description

PHP Runtime Notice: Only variables should be passed by reference in t3lib/class.t3lib_div.php line 3645:

$retVal = ($httpHostBracketPosition !== FALSE) ? substr($httpHost, 0, ($httpHostBracketPosition + 1)) : array_shift(explode(':', $httpHost));

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.