Deprecated: Return type of PathAsKeyDecorator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/fmrAk on line 13
Deprecated: Return type of PathAsKeyDecorator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/fmrAk on line 23
Array
(
[path] => Array
(
[0] => albert
[1] => id
[2] => #text
)
[val] => 2
)
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 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
Array
(
[path] => Array
(
[0] => albert
[1] => id
[2] => #text
)
[val] => 2
)
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.33
Parse error: syntax error, unexpected 'RecursiveIteratorIterator' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /in/fmrAk on line 6
Process exited with code 255.