mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
upgrading example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@129335 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d2c86249d7
commit
e1742bc2ab
1 changed files with 10 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.array-combine">
|
||||
<refnamediv>
|
||||
<refname>array_combine</refname>
|
||||
|
@ -34,18 +34,22 @@ $b = array('avocado','apple','banana');
|
|||
$c = array_combine($a, $b);
|
||||
|
||||
print_r($c);
|
||||
|
||||
/* Outputs:
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
Outputs:
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
[green] => avocado
|
||||
[red] => apple
|
||||
[yellow] => banana
|
||||
)
|
||||
*/
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue