1--TEST--
2Checks that the shift() method of DoublyLinkedList does not accept args.
3--CREDITS--
4PHPNW Test Fest 2009 - Rick Ogden
5--FILE--
6<?php
7$ll = new SplDoublyLinkedList();
8$ll->push(1);
9$ll->push(2);
10
11var_dump($ll->shift(1));
12?>
13--EXPECTF--
14Warning: SplDoublyLinkedList::shift() expects exactly 0 parameters, 1 given in %s on line %d
15NULL
16