1--TEST--
2Create a SplDoublyLinkedList, call setIteratorMode() and pass a SplDoublyLinkedList object as the parameter.
3--CREDITS--
4Philip Norton philipnorton42@gmail.com
5--FILE--
6<?php
7$dll = new SplDoublyLinkedList(2);
8$dll->setIteratorMode(new SplDoublyLinkedList(2));
9?>
10--EXPECTF--
11Warning: SplDoublyLinkedList::setIteratorMode() expects parameter 1 to be int, object given in %s on line %d
12