mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
d2dfa4de1d
commit
f7069c1596
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue