php-src/Zend/tests/bug34137.phpt
2012-10-10 10:27:49 +08:00

11 lines
210 B
PHP

--TEST--
Bug #34137 (assigning array element by reference causes binary mess)
--FILE--
<?php
$arr1 = array('a1' => array('alfa' => 'ok'));
$arr1 =& $arr1['a1'];
echo '-'.$arr1['alfa']."-\n";
?>
--EXPECT--
-ok-