|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80306 The address operation does not pass correctly.
Submitted: 2020-11-02 15:22 UTC Modified: 2020-11-02 15:28 UTC
From: ynj0iub4 at powerencry dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 7.4.12 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ynj0iub4 at powerencry dot com
New email:
PHP Version: OS:


 [2020-11-02 15:22 UTC] ynj0iub4 at powerencry dot com
The address operation does not pass correctly.

Test script:

$a = 10;
$b = 20;

$i = &$a;
$s = &$i;

$i = &$b; // ?

var_dump($s); // The output here should be 20.

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-02 15:28 UTC]
-Status: Open +Status: Not a bug
 [2020-11-02 15:28 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 09:01:33 2024 UTC