Lines Matching refs:dll
7 $dll = new SplDoublyLinkedList();
10 $dll->pop();
15 $dll->shift();
22 $dll->push($a);
24 $dll->push(&$a);
26 echo $dll->pop()."\n";
27 echo $dll->pop()."\n";
30 $dll->unshift($a);
32 $dll->unshift(&$a);
34 echo $dll->shift()."\n";
35 echo $dll->shift()."\n";
38 $dll->push(1);
39 $dll->push(2);
40 echo $dll->top()."\n";
41 echo $dll->bottom()."\n";
42 $dll->pop();
43 $dll->pop();
46 $dll->push(NULL);
47 $dll->push(NULL);
48 echo count($dll)."\n";
49 echo $dll->count()."\n";
50 var_dump($dll->pop());
51 var_dump($dll->pop());
54 $dll->push(2);
55 $dll_clone = clone $dll;
57 echo count($dll)."\n";