Be precise about the scope of strict_types not affecting calls from within internal functions

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339195 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Bob Weinand 2016-05-20 15:20:09 +00:00
parent d2dfa4de1d
commit f7069c1596

View file

@ -598,7 +598,9 @@ NULL
mode, only a variable of exact type of the type declaration will be
accepted, or a <classname>TypeError</classname> will be thrown. The
only exception to this rule is that an <type>integer</type> may be given
to a function expecting a <type>float</type>.
to a function expecting a <type>float</type>. Function calls from within
internal functions will not be affected by the <literal>strict_types</literal>
declaration.
</para>
<para>