cvs: phpdoc /en/reference/strings/functions ord.xml

From: Date: Sun, 01 Feb 2004 14:12:11 +0000
Subject: cvs: phpdoc /en/reference/strings/functions ord.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358663@lists.php.net to get a copy of this message
rioter Sun Feb 1 09:12:11 2004 EDT Modified files: /phpdoc/en/reference/strings/functions ord.xml Log: added the $str var to the example http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/ord.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc/en/reference/strings/functions/ord.xml diff -u phpdoc/en/reference/strings/functions/ord.xml:1.3 phpdoc/en/reference/strings/functions/ord.xml:1.4 --- phpdoc/en/reference/strings/functions/ord.xml:1.3 Fri May 30 12:47:59 2003 +++ phpdoc/en/reference/strings/functions/ord.xml Sun Feb 1 09:12:10 2004 @@ -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.ord"> <refnamediv> @@ -21,7 +21,9 @@ <programlisting role="php"> <![CDATA[ <?php -if (ord($str) == 10) { +$str = "\n"; +if (ord($str) == 10) +{ echo "The first character of \$str is a line feed.\n"; } ?>

« previous php.doc (#969358663) next »