You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
--TEST--
|
|
Bug #70910 (extract() breaks variable references)
|
|
--SKIPIF--
|
|
<?php
|
|
if (true) die("skip AOT does not support extract()");
|
|
?>
|
|
|
|
--FILE--
|
|
<?php
|
|
$var = 'original value';
|
|
$ref =& $var;
|
|
|
|
$hash = ['var' => 'new value'];
|
|
|
|
extract($hash);
|
|
var_dump($var === $ref);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
|