summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug46873.phpt
blob: 1f11c9d2201937fb71dd41230f32d73b456fa059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #46873 (extract($foo) crashes if $foo['foo'] exists)
--FILE--
<?php
$foo = array('foo' => 1, 'bar' => 2, 'test' => 3);
extract($foo);
var_dump($foo, $bar, $test);
?>
--EXPECT--
int(1)
int(2)
int(3)