Return to bug48912.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
1.1 ! misho 1: --TEST-- ! 2: Bug #48912 (Namespace causes unexpected strict behaviour with extract()) ! 3: --FILE-- ! 4: <?php ! 5: namespace A; ! 6: ! 7: function test() ! 8: { ! 9: extract(func_get_arg(0)); ! 10: } ! 11: ! 12: test(array('x' => 1)); ! 13: echo "ok\n"; ! 14: ?> ! 15: --EXPECT-- ! 16: ok