Deprecated: Return type of myData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 13
Deprecated: Return type of myIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 29
Deprecated: Return type of myIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 39
Deprecated: Return type of myIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 34
Deprecated: Return type of myIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 44
Deprecated: Return type of myIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 24
-----IteratorAggregate-----
Deprecated: Creation of dynamic property myData::$property4 is deprecated in /in/JHDNQ on line 10
Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in /in/JHDNQ on line 15
property1: Public property one
Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in /in/JHDNQ on line 15
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property2: Public property two
Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in /in/JHDNQ on line 15
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property3: Public property three
Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in /in/JHDNQ on line 15
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property4: last property
Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in /in/JHDNQ on line 15
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
-----Iterator-----
0: one
0: one
1: two
2: three
Output for 8.4.15
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libm.so.6: version `GLIBC_2.35' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by /bin/php-8.4.15)
/bin/php-8.4.15: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by /bin/php-8.4.15)
Process exited with code 1.
Deprecated: Return type of myData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 13
Deprecated: Return type of myIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 29
Deprecated: Return type of myIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 39
Deprecated: Return type of myIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 34
Deprecated: Return type of myIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 44
Deprecated: Return type of myIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 24
-----IteratorAggregate-----
Deprecated: Creation of dynamic property myData::$property4 is deprecated in /in/JHDNQ on line 10
property1: Public property one
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property2: Public property two
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property3: Public property three
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property4: last property
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
-----Iterator-----
0: one
0: one
1: two
2: three
Output for 8.1.0 - 8.1.33
Deprecated: Return type of myData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 13
Deprecated: Return type of myIterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 29
Deprecated: Return type of myIterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 39
Deprecated: Return type of myIterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 34
Deprecated: Return type of myIterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 44
Deprecated: Return type of myIterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/JHDNQ on line 24
-----IteratorAggregate-----
property1: Public property one
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property2: Public property two
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property3: Public property three
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property4: last property
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
-----Iterator-----
0: one
0: one
1: two
2: three
-----IteratorAggregate-----
property1: Public property one
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property2: Public property two
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property3: Public property three
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
property4: last property
property1: Public property one
property2: Public property two
property3: Public property three
property4: last property
-----Iterator-----
0: one
0: one
1: two
2: three