cvs: phpdoc-pl /reference/readline/functions readline.xml
| From: | Leszek Krupinski | Date: | Mon, 09 Feb 2004 01:58:47 +0000 |
| Subject: | cvs: phpdoc-pl /reference/readline/functions readline.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-268@lists.php.net to get a copy of this message | ||
leszek Sun Feb 8 20:58:47 2004 EDT
Modified files:
/phpdoc-pl/reference/readline/functions readline.xml
Log:
[leszek] - updated to 1.4
http://cvs.php.net/diff.php/phpdoc-pl/reference/readline/functions/readline.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-pl/reference/readline/functions/readline.xml
diff -u phpdoc-pl/reference/readline/functions/readline.xml:1.3
phpdoc-pl/reference/readline/functions/readline.xml:1.4
--- phpdoc-pl/reference/readline/functions/readline.xml:1.3 Tue May 14 18:58:32 2002
+++ phpdoc-pl/reference/readline/functions/readline.xml Sun Feb 8 20:58:46 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.2 Maintainer: leszek Status: ready -->
-<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.4 Maintainer: leszek Status: ready -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.readline">
<refnamediv>
<refname>readline</refname>
@@ -23,17 +23,19 @@
<title><function>readline</function></title>
<programlisting role="php">
<![CDATA[
+<?php
//pobierz 3 komendy od u¿ytkownika
for ($i=0; $i < 3; $i++) {
- $line = readline ("Komenda: ");
- readline_add_history ($line);
+ $line = readline("Komenda: ");
+ readline_add_history($line);
}
//zrzuæ historiê
-print_r (readline_list_history());
+print_r(readline_list_history());
//zrzuæ zmienne
-print_r (readline_info());
+print_r(readline_info());
+?>
]]>
</programlisting>
</example>