![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #46873 (extract($foo) crashes if $foo['foo'] exists) ! 3: --FILE-- ! 4: <?php ! 5: $foo = array('foo' => 1, 'bar' => 2, 'test' => 3); ! 6: extract($foo); ! 7: var_dump($foo, $bar, $test); ! 8: ?> ! 9: --EXPECT-- ! 10: int(1) ! 11: int(2) ! 12: int(3)