xref: /PHP-7.0/Zend/tests/bug34137.phpt (revision 610c7fbe)
1--TEST--
2Bug #34137 (assigning array element by reference causes binary mess)
3--FILE--
4<?php
5$arr1 = array('a1' => array('alfa' => 'ok'));
6$arr1 =& $arr1['a1'];
7echo '-'.$arr1['alfa']."-\n";
8?>
9--EXPECT--
10-ok-
11