Deprecated: Return type of I::current() should either be compatible with ArrayIterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/00Z3F on line 5
Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in /in/00Z3F:12
Stack trace:
#0 {main}
thrown in /in/00Z3F on line 12
Process exited with code 255.
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.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught Error: An iterator cannot be used with foreach by reference in /in/00Z3F:12
Stack trace:
#0 {main}
thrown in /in/00Z3F on line 12
Process exited with code 255.
Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught RuntimeException: An iterator cannot be used with foreach by reference in /in/00Z3F:12
Stack trace:
#0 {main}
thrown in /in/00Z3F on line 12
Process exited with code 255.
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
Fatal error: An iterator cannot be used with foreach by reference in /in/00Z3F on line 12
Process exited with code 255.