Doc #55795 [Opn->Bgs]: Is it permited?
| From: | frozenfire@php.net | Date: | Sat, 08 Oct 2011 21:39:58 +0000 |
| Subject: | Doc #55795 [Opn->Bgs]: Is it permited? | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7306@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55795&edit=1
ID: 55795
Updated by: frozenfire@php.net
Reported by: admin at yp116 dot com
Summary: Is it permited?
-Status: Open
+Status: Bogus
Type: Documentation Problem
Package: Doc Build problem
Operating System: win xp
PHP Version: trunk-SVN-2011-09-27 (SVN)
Block user comment: N
Private report: N
New Comment:
This behaviour is already documented in
http://php.net/manual/en/language.operators.array.php
Previous Comments:
------------------------------------------------------------------------
[2011-09-27 09:36:44] admin at yp116 dot com
Description:
------------
---
From manual page: http://www.php.net/function.array#refsect1-function.array-
unknown
---
<?
$a=array('a'=>1,'b'=>2);
$b=array('j'=>7,'i'=>8);
$b +=$a;
var_dump($b);
?>
Test script:
---------------
array(4) {
["j"]=>
int(7)
["i"]=>
int(8)
["a"]=>
int(1)
["b"]=>
int(2)
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55795&edit=1