in my code test str_contains but get an error.
big sure, php 8.0.1
Fatal error: Uncaught Error: Call to undefined function str_contains()
I take it you still have to assign public variables the old way if you want to use typehinting?
Nice one Alex keeping us up to date!
PHP 8 is no point. 👌👌
The throw exception are really helpful which can save some lines