<?php
function &dosomething($a)
{
$b = false;
return empty($a) ? $b: $a;
}
$a = 42;
$foo =& dosomething($a);
?>
Output
<?php
function &dosomething($a)
{
$b = false;
return empty($a) ? $b: $a;
}
$a = 42;
$foo =& dosomething($a);
?>