FAQ
From:
Operating system: win xp
PHP version: trunk-SVN-2011-09-27 (SVN)
Package: Doc Build problem
Bug Type: Documentation Problem
Bug description:Is it permited?

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 bug report at https://bugs.php.net/bug.php?id=55795&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55795&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55795&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55795&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55795&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55795&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55795&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55795&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55795&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55795&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55795&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55795&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55795&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55795&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55795&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55795&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55795&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55795&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55795&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55795&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55795&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55795&r=mysqlcfg

Search Discussions

  • Frozenfire at Oct 8, 2011 at 9:40 pm
    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)
    }




    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-doc-bugs @
categoriesphp
postedSep 27, '11 at 9:37a
activeOct 8, '11 at 9:40p
posts2
users2
websitephp.net

People

Translate

site design / logo © 2019 Grokbase