> That might not be intuitive to you, but it follows directly from the > specified semantics: whether a function is called in `strict_types` mode or > not, depends only on where the function is called. I personally doubt that > there is an easy way to adjust the rule in order to make it both “intuitive” > and simple.
On second thought based on your point, it seems confusing to change the behavior of strict_types only for calls from internal functions. A minor problem is that there is no way to control strict_types for calls from internal functions. Saki -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php