If a function/method parameter has a type declaration , then php compiler will check it the moment of invocation regardless if strict_types is set to 1 or 0 or not set at all.
However, php will check parameters types on build in php functions when strict_types is set to 1;