![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #33558 (warning with nested calls to functions returning by reference) 3: --INI-- 4: error_reporting=4095 5: --FILE-- 6: <?php 7: function & foo() { 8: $var = 'ok'; 9: return $var; 10: } 11: 12: function & bar() { 13: return foo(); 14: } 15: 16: $a =& bar(); 17: echo "$a\n"; 18: ?> 19: --EXPECT-- 20: ok 21: