cvs: phpdoc-hu /reference/readline/functions readline.xml
| From: | Cece) Szabolcs | Date: | Tue, 03 Aug 2004 22:57:15 +0000 |
| Subject: | cvs: phpdoc-hu /reference/readline/functions readline.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-791@lists.php.net to get a copy of this message | ||
cece Tue Aug 3 18:57:15 2004 EDT
Modified files:
/phpdoc-hu/reference/readline/functions readline.xml
Log:
sync
http://cvs.php.net/diff.php/phpdoc-hu/reference/readline/functions/readline.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-hu/reference/readline/functions/readline.xml
diff -u phpdoc-hu/reference/readline/functions/readline.xml:1.2
phpdoc-hu/reference/readline/functions/readline.xml:1.3
--- phpdoc-hu/reference/readline/functions/readline.xml:1.2 Wed Apr 17 02:58:09 2002
+++ phpdoc-hu/reference/readline/functions/readline.xml Tue Aug 3 18:57:15 2004
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- splitted from ./hu/functions/readline.xml, last change in rev 1.1 -->
<!-- last change to 'readline' in en/ tree in rev 1.1 -->
-<!-- EN-Revision: 1.2 Maintainer: goba Status: ready -->
+<!-- EN-Revision: 1.4 Maintainer: cece Status: ready -->
+<!-- CREDITS: goba -->
<!-- OLD-Revision: 1.6/EN.1.1 -->
<refentry id="function.readline">
<refnamediv>
@@ -25,17 +26,19 @@
<title><function>readline</function> példa</title>
<programlisting role="php">
<![CDATA[
+<?php
// Három parancs bekérése a felhasználótól
for ($i=0; $i < 3; $i++) {
- $parancs = readline ("Parancs: ");
- readline_add_history ($parancs);
+ $parancs = readline("Parancs: ");
+ readline_add_history($parancs);
}
// A 'history' kilistázása
-print_r (readline_list_history());
+print_r(readline_list_history());
// Változók listázása
-print_r (readline_info());
+print_r(readline_info());
+?>
]]>
</programlisting>
</example>