Lines Matching refs:dll
5 $dll = new SplDoublyLinkedList();
8 $dll->pop();
13 $dll->shift();
20 $dll->push($a);
21 echo $dll->pop()."\n";
24 $dll->unshift($a);
25 echo $dll->shift()."\n";
28 $dll->push(1);
29 $dll->push(2);
30 echo $dll->top()."\n";
31 echo $dll->bottom()."\n";
32 $dll->pop();
33 $dll->pop();
36 $dll->push(NULL);
37 $dll->push(NULL);
38 echo count($dll)."\n";
39 echo $dll->count()."\n";
40 var_dump($dll->pop());
41 var_dump($dll->pop());
44 $dll->push(2);
45 $dll_clone = clone $dll;
47 echo count($dll)."\n";