reference/posix/functions/posix-isatty.xml
9c166423255b3d5e02f74232f2d05fd3b59d5d62
...
...
@@ -10,10 +10,10 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>posix_isatty</methodname>
13
-
<methodparam><type>mixed</type><parameter>fd</parameter></methodparam>
13
+
<methodparam><type class="union"><type>resource</type><type>int</type></type><parameter>file_descriptor</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Determines if the file descriptor <parameter>fd</parameter> refers to a valid
16
+
Determines if the file descriptor <parameter>file_descriptor</parameter> refers to a valid
17
17
terminal type device.
18
18
</para>
19
19
</refsect1>
...
...
@@ -30,21 +30,44 @@
30
30
<refsect1 role="returnvalues">
31
31
&reftitle.returnvalues;
32
32
<para>
33
-
Returns &true; if <parameter>fd</parameter> is an open descriptor connected
33
+
Returns &true; if <parameter>file_descriptor</parameter> is an open descriptor connected
34
34
to a terminal and &false; otherwise.
35
35
</para>
36
36
</refsect1>
37
37

38
+
<refsect1 role="changelog">
39
+
&reftitle.changelog;
40
+
<informaltable>
41
+
<tgroup cols="2">
42
+
<thead>
43
+
<row>
44
+
<entry>&Version;</entry>
45
+
<entry>&Description;</entry>
46
+
</row>
47
+
</thead>
48
+
<tbody>
49
+
<row>
50
+
<entry>8.3.0</entry>
51
+
<entry>
52
+
Type error <constant>E_WARNING</constant>s are now raised for integer
53
+
coercions following the usual PHP type coercion semantics.
54
+
</entry>
55
+
</row>
56
+
</tbody>
57
+
</tgroup>
58
+
</informaltable>
59
+
</refsect1>
60
+
38
61
<refsect1 role="seealso">
39
62
&reftitle.seealso;
40
63
<para>
41
64
<simplelist>
42
65
<member><function>posix_ttyname</function></member>
66
+
<member><function>stream_isatty</function></member>
43
67
</simplelist>
44
68
</para>
45
69
</refsect1>
46
70
</refentry>
47
-

48
71
<!-- Keep this comment at the end of the file
49
72
Local variables:
50
73
mode: sgml
51
74