didou Wed Jul 16 13:20:01 2003 EDT
Modified files:
/phpdoc/en/reference/readline/functions readline.xml
Log:
adding PHP tags in the examples
Index: phpdoc/en/reference/readline/functions/readline.xml
diff -u phpdoc/en/reference/readline/functions/readline.xml:1.2
phpdoc/en/reference/readline/functions/readline.xml:1.3
--- phpdoc/en/reference/readline/functions/readline.xml:1.2 Wed Apr 17 02:43:44
2002
+++ phpdoc/en/reference/readline/functions/readline.xml Wed Jul 16 13:20:01 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/readline.xml, last change in rev 1.1 -->
<refentry id="function.readline">
<refnamediv>
@@ -23,6 +23,7 @@
<title><function>readline</function></title>
<programlisting role="php">
<![CDATA[
+<?php
//get 3 commands from user
for ($i=0; $i < 3; $i++) {
$line = readline ("Command: ");
@@ -34,6 +35,7 @@
//dump variables
print_r (readline_info());
+?>
]]>
</programlisting>
</example>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php