declare(strict_types=1); - What are the latest objections? |
PHP 8.0.0 now has a mixed function parameter variable type which should satisfy those folks who prefer to let PHP Type Juggling handle their loose scripts:
https://www.php.net/manual/en/language.t...ions.mixed I was wondering if there are any other objections to declare strict_types? I prefer declaring strict_types because obscure errors are detected which require fixing before proceeding.
Thanks @John_Betong , good information to know.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |