Bug #80306 [NEW]: The address operation does not pass correctly.
| From: | ynj0iub4 at powerencry dot com | Date: | Mon, 02 Nov 2020 15:22:23 +0000 |
| Subject: | Bug #80306 [NEW]: The address operation does not pass correctly. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-230063@lists.php.net to get a copy of this message | ||
From: ynj0iub4 at powerencry dot com
Operating system: Linux
PHP version: 7.4.12
Package: Unknown/Other Function
Bug Type: Bug
Bug description:The address operation does not pass correctly.
Description:
------------
The address operation does not pass correctly.
Test script:
---------------
<?php
$a = 10;
$b = 20;
$i = &$a;
$s = &$i;
$i = &$b; // ?
var_dump($s); // The output here should be 20.
Expected result:
----------------
20
Actual result:
--------------
10
--
Edit bug report at https://bugs.php.net/bug.php?id=80306&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80306&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80306&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80306&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80306&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80306&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80306&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80306&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80306&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80306&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80306&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80306&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80306&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80306&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80306&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80306&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80306&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80306&r=mysqlcfg