Initialize $str to make the example less confusing

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142726 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2003-10-19 21:13:22 +00:00
parent 7d5af93bc2
commit 04dfd9cb42

View file

@ -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 */