php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #55795 Is it permited?
Submitted: 2011-09-27 09:36 UTC Modified: 2011-10-08 21:39 UTC
From: admin at yp116 dot com Assigned:
Status: Not a bug Package: Doc Build problem
PHP Version: trunk-SVN-2011-09-27 (SVN) OS: win xp
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at yp116 dot com
New email:
PHP Version: OS:

 

 [2011-09-27 09:36 UTC] 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)
}



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-08 21:39 UTC] frozenfire@php.net
-Status: Open +Status: Bogus
 [2011-10-08 21:39 UTC] frozenfire@php.net
This behaviour is already documented in 
http://php.net/manual/en/language.operators.array.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC