mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Follow coding style (bug #36980)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210815 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
caec5e0640
commit
fbb9356ad5
1 changed files with 6 additions and 6 deletions
|
@ -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 @@ printf($format, $num, $location);
|
|||
<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 @@ printf($format, $num, $location);
|
|||
<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 @@ printf($format, $num, $location);
|
|||
<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);
|
||||
?>
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue