bar
Deprecated: Callables of the form ["Bar", "self::test"] are deprecated in /in/G7kc0 on line 18
bar
Deprecated: Callables of the form ["Bar", "parent::test"] are deprecated in /in/G7kc0 on line 19
foo
Deprecated: Callables of the form ["Bar", "Foo::test"] are deprecated in /in/G7kc0 on line 20
foo
Deprecated: Callables of the form ["Bar", "Bar::test"] are deprecated in /in/G7kc0 on line 21
bar
bar
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
bar
Deprecated: Callables of the form ["Bar", "self::test"] are deprecated in /in/G7kc0 on line 18
bar
Deprecated: Callables of the form ["Bar", "parent::test"] are deprecated in /in/G7kc0 on line 19
foo
Deprecated: Callables of the form ["Bar", "Foo::test"] are deprecated in /in/G7kc0 on line 20
foo
Deprecated: Callables of the form ["Bar", "Bar::test"] are deprecated in /in/G7kc0 on line 21
bar
bar