1--TEST-- 2Tests that the offsetGet() method throws an error when no argument is sent 3--CREDITS-- 4PHPNW Test Fest 2009 - Rick Ogden 5--FILE-- 6<?php 7$dll = new SplDoublyLinkedList(); 8$dll->push(1); 9$dll->push(2); 10 11var_dump($dll->offsetGet()); 12?> 13--EXPECTF-- 14Warning: SplDoublyLinkedList::offsetGet() expects exactly 1 parameter, 0 given in %s on line %d 15NULL 16