1--TEST--
2SplDoublyLinkedList::top() - pass in an unexpected null parameter
3--CREDITS--
4PHPNW Testfest 2009 - Adrian Hardy
5--FILE--
6<?php
7
8$list = new SplDoublyLinkedList();
9$list->push("top");
10$list->top(null);
11
12?>
13--EXPECTF--
14Warning: SplDoublyLinkedList::top() expects exactly 0 parameters, 1 given in %s on line %d
15