1--TEST--
2Check that SplDoublyLinkedList::count fails if parameter passed in
3--CREDITS--
4Rob Knight <themanhimself@robknight.org.uk> PHPNW Test Fest 2009
5--FILE--
6<?php
7$list = new SplDoublyLinkedList();
8
9$c = $list->count('foo');
10?>
11--EXPECTF--
12Warning: SplDoublyLinkedList::count() expects exactly 0 parameters, 1 given in %s on line 4
13