mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
- made example actually output something
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181628 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
61f849c403
commit
f5e7471e5c
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<!-- $Revision: 1.18 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.array-merge">
|
||||
<refnamediv>
|
||||
|
@ -124,6 +124,7 @@ Array
|
|||
$beginning = 'foo';
|
||||
$end = array(1 => 'bar');
|
||||
$result = array_merge((array)$beginning, (array)$end);
|
||||
print_r($result);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue