reference/readline/functions/readline.xml
cef062f45e1ba5691158b591381a9a9efc1e346d
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>readline</methodname>
13
-
<methodparam choice="opt"><type>string</type><parameter>prompt</parameter></methodparam>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>readline</methodname>
13
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>prompt</parameter><initializer>&null;</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Reads a single line from the user. You must add this line to the history
...
...
@@ -39,6 +39,7 @@
39
39
<para>
40
40
Returns a single string from the user. The line returned has the ending
41
41
newline removed.
42
+
If there is no more data to read, then &false; is returned.
42
43
</para>
43
44
</refsect1>
44
45

...
...
@@ -69,7 +70,6 @@ print_r(readline_info());
69
70
</refsect1>
70
71

71
72
</refentry>
72
-

73
73
<!-- Keep this comment at the end of the file
74
74
Local variables:
75
75
mode: sgml
76
76