1--TEST--
2Check that SplDoublyLinkedList returns debug info when print_r is used.
3--CREDITS--
4PHPNW Testfest 2009 - Paul Court ( g@rgoyle.com )
5--FILE--
6<?php
7    // Create a new Doubly Linked List
8    $dll = new SplDoublyLinkedList();
9
10    // Add some items to the list
11    $dll->push(1);
12    $dll->push(2);
13    $dll->push(3);
14
15    // Check the debug info
16    print_r($dll);
17?>
18--EXPECT--
19SplDoublyLinkedList Object
20(
21    [flags:SplDoublyLinkedList:private] => 0
22    [dllist:SplDoublyLinkedList:private] => Array
23        (
24            [0] => 1
25            [1] => 2
26            [2] => 3
27        )
28
29)
30