-----IteratorAggregate-----
Deprecated: ArrayIterator::__construct(): Using an object as a backing array for ArrayIterator is deprecated, as it allows violating class constraints and invariants in /in/4tECJ on line 16
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/4tECJ on line 16
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/4tECJ on line 16
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/4tECJ on line 16
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/4tECJ on line 16
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.
-----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