xref: /PHP-8.1/Zend/tests/bug73916.phpt (revision de6e401e)
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 %s(%d): test(Array)
17