Return to bug30074.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / array |
1.1 misho 1: --TEST-- 2: Bug #30074 (EG(uninitialized_zval_ptr) gets set to reference using EXTR_REFS, affecting later values) 3: --FILE-- 4: <?php 5: error_reporting(E_ALL & ~E_NOTICE); // We don't want the notice for $undefined 6: $result = extract(array('a'=>$undefined), EXTR_REFS); 7: var_dump(array($a)); 8: echo "Done\n"; 9: ?> 10: --EXPECT-- 11: array(1) { 12: [0]=> 13: NULL 14: } 15: Done