-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/standard/tests/array/
File Upload :
Current File : //usr/src/php/ext/standard/tests/array/bug44182.phpt

--TEST--
Bug #44182 (extract EXTR_REFS can fail to split copy-on-write references)
--FILE--
<?php
$a = array('foo' => 'original.foo');

$nonref = $a['foo'];
$ref = &$a;

extract($a, EXTR_REFS);
$a['foo'] = 'changed.foo';

var_dump($nonref);
echo "Done\n";
?>
--EXPECTF--
string(%d) "original.foo"
Done


Copyright © 2017 || Recoded By Mr.Bumblebee