mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +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-
|