ok
Fatal error: Uncaught Error: Baz cannot inherit from sealed class Foo in /in/uFnp8:21
Stack trace:
#0 /in/uFnp8(31): {closure:validate():18}(Object(ReflectionClass))
#1 /in/uFnp8(52): validate('Baz')
#2 {main}
thrown in /in/uFnp8 on line 21
Process exited with code 255.
ok
Fatal error: Uncaught Error: Baz cannot inherit from sealed class Foo in /in/uFnp8:21
Stack trace:
#0 /in/uFnp8(31): {closure}(Object(ReflectionClass))
#1 /in/uFnp8(52): validate('Baz')
#2 {main}
thrown in /in/uFnp8 on line 21
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
ok
Fatal error: Uncaught Error: Baz cannot inherit from sealed class Foo in /in/uFnp8:21
Stack trace:
#0 /in/uFnp8(31): {closure}(Object(ReflectionClass))
#1 /in/uFnp8(52): validate('Baz')
#2 {main}
thrown in /in/uFnp8 on line 21
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Call to undefined method ReflectionClass::getAttributes() in /in/uFnp8:19
Stack trace:
#0 /in/uFnp8(31): {closure}(Object(ReflectionClass))
#1 /in/uFnp8(51): validate('Bar')
#2 {main}
thrown in /in/uFnp8 on line 19
Process exited with code 255.
Output for 7.3.0 - 7.3.33
Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /in/uFnp8 on line 5
Process exited with code 255.