ABArray
(
[0] => A
)
Array
(
)
Fatal error: Uncaught InvalidArgumentException: test2 in /in/J029u:30
Stack trace:
#0 /in/J029u(49): CategoryTree->getChildren(Array)
#1 /in/J029u(9): CategoryTree->categoryExists(Array, 'B')
#2 /in/J029u(61): CategoryTree->addCategory('B', 'A')
#3 {main}
thrown in /in/J029u on line 30
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
ABArray
(
[0] => A
)
Array
(
)
Fatal error: Uncaught InvalidArgumentException: test2 in /in/J029u:30
Stack trace:
#0 /in/J029u(49): CategoryTree->getChildren(Array)
#1 /in/J029u(9): CategoryTree->categoryExists(Array, 'B')
#2 /in/J029u(61): CategoryTree->addCategory('B', 'A')
#3 {main}
thrown in /in/J029u on line 30
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
ABArray
(
[0] => A
)
Array
(
)
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'test2' in /in/J029u:30
Stack trace:
#0 /in/J029u(49): CategoryTree->getChildren(Array)
#1 /in/J029u(9): CategoryTree->categoryExists(Array, 'B')
#2 /in/J029u(61): CategoryTree->addCategory('B', 'A')
#3 {main}
thrown in /in/J029u on line 30
Process exited with code 255.