1<?php 2 3/** @generate-class-entries */ 4 5class SplDoublyLinkedList implements Iterator, Countable, ArrayAccess, Serializable 6{ 7 /** @tentative-return-type */ 8 public function add(int $index, mixed $value): void {} 9 10 /** @tentative-return-type */ 11 public function pop(): mixed {} 12 13 /** @tentative-return-type */ 14 public function shift(): mixed {} 15 16 /** @tentative-return-type */ 17 public function push(mixed $value): void {} 18 19 /** @tentative-return-type */ 20 public function unshift(mixed $value): void {} 21 22 /** @tentative-return-type */ 23 public function top(): mixed {} 24 25 /** @tentative-return-type */ 26 public function bottom(): mixed {} 27 28 /** @tentative-return-type */ 29 public function __debugInfo(): array {} 30 31 /** @tentative-return-type */ 32 public function count(): int {} 33 34 /** @tentative-return-type */ 35 public function isEmpty(): bool {} 36 37 /** @tentative-return-type */ 38 public function setIteratorMode(int $mode): int {} 39 40 /** @tentative-return-type */ 41 public function getIteratorMode(): int {} 42 43 /** 44 * @param int $index 45 * @tentative-return-type 46 */ 47 public function offsetExists($index): bool {} 48 49 /** 50 * @param int $index 51 * @tentative-return-type 52 */ 53 public function offsetGet($index): mixed {} 54 55 /** 56 * @param int|null $index 57 * @tentative-return-type 58 */ 59 public function offsetSet($index, mixed $value): void {} 60 61 /** 62 * @param int $index 63 * @tentative-return-type 64 */ 65 public function offsetUnset($index): void {} 66 67 /** @tentative-return-type */ 68 public function rewind(): void {} 69 70 /** @tentative-return-type */ 71 public function current(): mixed {} 72 73 /** @tentative-return-type */ 74 public function key(): int {} 75 76 /** @tentative-return-type */ 77 public function prev(): void {} 78 79 /** @tentative-return-type */ 80 public function next(): void {} 81 82 /** @tentative-return-type */ 83 public function valid(): bool {} 84 85 /** @tentative-return-type */ 86 public function unserialize(string $data): void {} 87 88 /** @tentative-return-type */ 89 public function serialize(): string {} 90 91 /** @tentative-return-type */ 92 public function __serialize(): array {} 93 94 /** @tentative-return-type */ 95 public function __unserialize(array $data): void {} 96} 97 98class SplQueue extends SplDoublyLinkedList 99{ 100 /** 101 * @tentative-return-type 102 * @implementation-alias SplDoublyLinkedList::push 103 */ 104 public function enqueue(mixed $value): void {} 105 106 /** 107 * @tentative-return-type 108 * @implementation-alias SplDoublyLinkedList::shift 109 */ 110 public function dequeue(): mixed {} 111} 112 113class SplStack extends SplDoublyLinkedList 114{ 115} 116