mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
11 lines
210 B
PHP
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-
|