xref: /PHP-7.0/Zend/tests/bug73916.phpt (revision 04379bcb)
1--TEST--
2Bug #73916 (zend_print_flat_zval_r doesn't consider reference)
3--FILE--
4<?php
5$a = array('a');
6class b{};
7$b = new b;
8$test[] =& $a;
9$test[] =& $b;
10test($test);
11function test() {
12	debug_print_backtrace();
13}
14?>
15--EXPECTF--
16#0  test(Array ([0] => Array ([0] => a),[1] => b Object ())) called at [%sbug73916.php:%d]
17