Hi,
I have a Zend 2 question, I my code I return things from functions by reference
e.g.
<?php
function &myFunc(...) {
// .. Code....
return $x;
}
$y =& myFunc(...);
?>
But now I am trying to use Zend 2 version of php I get the following error:
Fatal error: Can't use function return value in write context in /scriptname on
line x
where x is the line of the actual function call.
Has the syntax been changed for returning by reference or is this a bug?
Cheers
Tom
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php