didou Wed Jul 16 13:22:01 2003 EDT Modified files: /phpdoc/en/reference/strings/functions strrpos.xml Log: adding PHP tags in the examples Index: phpdoc/en/reference/strings/functions/strrpos.xml diff -u phpdoc/en/reference/strings/functions/strrpos.xml:1.4 phpdoc/en/reference/strings/functions/strrpos.xml:1.5 --- phpdoc/en/reference/strings/functions/strrpos.xml:1.4 Mon Jun 16 06:44:57 2003 +++ phpdoc/en/reference/strings/functions/strrpos.xml Wed Jul 16 13:22:01 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.8 --> <refentry id="function.strrpos"> <refnamediv> @@ -33,6 +33,8 @@ <informalexample> <programlisting role="php"> <![CDATA[ +<?php + // in PHP 4.0b3 and newer: $pos = strrpos($mystring, "b"); if ($pos === false) { // note: three equal signs @@ -44,6 +46,7 @@ if (is_string($pos) && !$pos) { // not found... } +?> ]]> </programlisting> </informalexample>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php