source: src/router/php7/Zend/tests/bug73916.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 2 months ago

update php

File size: 322 bytes
Line 
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]
Note: See TracBrowser for help on using the repository browser.