Deprecated: Return type of ValueObject::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/gqoPR on line 7
Warning: Undefined variable $email in /in/gqoPR on line 16
{"email":"opexus@gmail.com","age":null}
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
Deprecated: Return type of ValueObject::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/gqoPR on line 7
Warning: Undefined variable $email in /in/gqoPR on line 16
{"email":"opexus@gmail.com","age":null}
Output for 8.0.0 - 8.0.30
Warning: Undefined variable $email in /in/gqoPR on line 16
{"email":"opexus@gmail.com","age":null}
Notice: Undefined variable: email in /in/gqoPR on line 16
{"email":"opexus@gmail.com","age":null}
Output for 7.3.32 - 7.3.33
{"email":"opexus@gmail.com","age":null}
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Catchable fatal error: Argument 1 passed to Email() must be an instance of string, string given, called in /in/gqoPR on line 82 and defined in /in/gqoPR on line 20
Process exited with code 255.