1--TEST--
2SplQueue setIteratorMode to LIFO produces fail condition in try/catch
3--CREDITS--
4PHPNW Test Fest 2009 - Jeremy Coates jeremy@phpnw.org.uk
5--FILE--
6<?php
7
8try {
9
10    $dll = new SplQueue();
11    $dll->setIteratorMode(SplDoublyLinkedList::IT_MODE_LIFO);
12
13} catch (Exception $e) {
14    echo $e->getMessage();
15}
16
17?>
18--EXPECT--
19Iterators' LIFO/FIFO modes for SplStack/SplQueue objects are frozen
20