Array
(
[1] => z
[2] => x
[3] => c
[4] => v
[5] => r
)
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/s7T2o:15
Stack trace:
#0 {main}
thrown in /in/s7T2o on line 15
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.6
Array
(
[1] => z
[2] => x
[3] => c
[4] => v
[5] => r
)
Warning: Only the first byte will be assigned to the string offset in /in/s7T2o on line 15
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/s7T2o:15
Stack trace:
#0 {main}
thrown in /in/s7T2o on line 15
Process exited with code 255.
Array
(
[1] => z
[2] => x
[3] => c
[4] => v
[5] => r
)
Warning: Illegal string offset 'category' in /in/s7T2o on line 15
Warning: Illegal string offset 'category' in /in/s7T2o on line 15
Warning: Illegal string offset 'category' in /in/s7T2o on line 15
Warning: Illegal string offset 'category' in /in/s7T2o on line 15
Array
(
[1] => z
[2] => x
[3] => c
[4] => v
[5] => r
)