![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #38438 (DOMNodeList->item(0) segfault on empty NodeList) ! 3: --SKIPIF-- ! 4: <?php require_once('skipif.inc'); ?> ! 5: --FILE-- ! 6: <?php ! 7: $list = new DOMNodeList(); ! 8: var_dump($list->item(0)); ! 9: echo "OK\n"; ! 10: ?> ! 11: --EXPECT-- ! 12: NULL ! 13: OK