We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e4fb4 commit c3485c8Copy full SHA for c3485c8
1 file changed
reference/reflection/reflectionfunctionabstract/hasreturntype.xml
@@ -38,7 +38,8 @@
38
<![CDATA[
39
<?php
40
41
-function to_int($param) : int {
+function to_int($param): int
42
+{
43
return (int) $param;
44
}
45
@@ -73,11 +74,6 @@ bool(false)
73
74
</screen>
75
</example>
76
</para>
- <para>
77
- This is because many internal functions do not have types specified for their
78
- parameters or return values. It is therefore best to avoid using this
79
- method on built-in functions.
80
- </para>
81
</refsect1>
82
83
<refsect1 role="seealso">
0 commit comments