sander Sun May 26 12:48:34 2002 EDT
Modified files:
/phpdoc/en/reference/strings/functions strnatcmp.xml
substr-count.xml
Log:
Fix examples
Index: phpdoc/en/reference/strings/functions/strnatcmp.xml
diff -u phpdoc/en/reference/strings/functions/strnatcmp.xml:1.2
phpdoc/en/reference/strings/functions/strnatcmp.xml:1.3
--- phpdoc/en/reference/strings/functions/strnatcmp.xml:1.2 Wed Apr 17 02:44:23
2002
+++ phpdoc/en/reference/strings/functions/strnatcmp.xml Sun May 26 12:48:34 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.38 -->
<refentry id="function.strnatcmp">
<refnamediv>
@@ -23,7 +23,7 @@
algorithms (used in <function>strcmp</function>) can be seen
below:
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
$arr1 = $arr2 = array("img12.png","img10.png","img2.png","img1.png");
echo "Standard string comparison\n";
Index: phpdoc/en/reference/strings/functions/substr-count.xml
diff -u phpdoc/en/reference/strings/functions/substr-count.xml:1.2
phpdoc/en/reference/strings/functions/substr-count.xml:1.3
--- phpdoc/en/reference/strings/functions/substr-count.xml:1.2 Wed Apr 17 02:44:24
2002
+++ phpdoc/en/reference/strings/functions/substr-count.xml Sun May 26 12:48:34
+2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.27 -->
<refentry id="function.substr-count">
<refnamediv>
@@ -22,7 +22,7 @@
<para>
<example>
<title><function>substr_count</function> example</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
print substr_count("This is a test", "is"); // prints out 2
]]>