vrana Wed Apr 5 16:12:25 2006 UTC
Modified files:
/phpdoc/en/reference/strings/functions sprintf.xml
Log:
Follow coding style (bug #36980)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/strings/functions/sprintf.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/strings/functions/sprintf.xml
diff -u phpdoc/en/reference/strings/functions/sprintf.xml:1.15
phpdoc/en/reference/strings/functions/sprintf.xml:1.16
--- phpdoc/en/reference/strings/functions/sprintf.xml:1.15 Sun Nov 28
12:42:49 2004
+++ phpdoc/en/reference/strings/functions/sprintf.xml Wed Apr 5 16:12:25 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.2 -->
<refentry id="function.sprintf">
<refnamediv>
@@ -143,7 +143,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$format = "There are %d monkeys in the %s";
+$format = 'There are %d monkeys in the %s';
printf($format, $num, $location);
?>
]]>
@@ -158,7 +158,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$format = "The %s contains %d monkeys";
+$format = 'The %s contains %d monkeys';
printf($format, $num, $location);
?>
]]>
@@ -174,7 +174,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$format = "The %2\$s contains %1\$d monkeys";
+$format = 'The %2$s contains %1$d monkeys';
printf($format, $num, $location);
?>
]]>
@@ -187,8 +187,8 @@
<programlisting role="php">
<![CDATA[
<?php
-$format = "The %2\$s contains %1\$d monkeys.
- That's a nice %2\$s full of %1\$d monkeys.";
+$format = 'The %2$s contains %1$d monkeys.
+ That\'s a nice %2$s full of %1$d monkeys.';
printf($format, $num, $location);
?>
]]>