didou Sun Oct 19 17:13:22 2003 EDT
Modified files:
/phpdoc/en/reference/strings/functions chr.xml
Log:
Initialize $str to make the example less confusing
Index: phpdoc/en/reference/strings/functions/chr.xml
diff -u phpdoc/en/reference/strings/functions/chr.xml:1.3
phpdoc/en/reference/strings/functions/chr.xml:1.4
--- phpdoc/en/reference/strings/functions/chr.xml:1.3 Fri May 30 12:47:59 2003
+++ phpdoc/en/reference/strings/functions/chr.xml Sun Oct 19 17:13:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.chr">
<refnamediv>
@@ -20,6 +20,7 @@
<programlisting role="php">
<![CDATA[
<?php
+$str = "The string ends in escape: ";
$str .= chr(27); /* add an escape character at the end of $str */
/* Often this is more useful */