Bug #70144 [NEW]: src_server
| From: | admin at angosso dot net | Date: | Mon, 27 Jul 2015 00:23:44 +0000 |
| Subject: | Bug #70144 [NEW]: src_server | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-194729@lists.php.net to get a copy of this message | ||
From: admin at angosso dot net
Operating system: Linux, Windows, Mac
PHP version: 5.6.11
Package: Built-in web server
Bug Type: Bug
Bug description:src_server
Description:
------------
The Elements of the code or object properties will be created
automatically for the server [dot] in reference and assignment for bug.
Test script:
---------------
$array = [];
$array["a"] =& $array["b"];
$array["b"] = 1;
var_dump($array);
now results in the array ["a" => 1, "b" => 1], while previously the
result
was ["b" => 1, "a" => 1];
Expected result:
----------------
/rfc/uniform_variable_syntax
/rfc/abstract_syntax_tree
Stack trace:
#0 file.php(4): foo(42)
#1 {main}
--
Edit bug report at https://bugs.php.net/bug.php?id=70144&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70144&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70144&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70144&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70144&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70144&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70144&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70144&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70144&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70144&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70144&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70144&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70144&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70144&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70144&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70144&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70144&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70144&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70144&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70144&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70144&r=mysqlcfg