Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

use & result is wrong #24

Open
wwwhfff opened this issue Nov 23, 2019 · 1 comment
Open

use & result is wrong #24

wwwhfff opened this issue Nov 23, 2019 · 1 comment

Comments

@wwwhfff
Copy link

wwwhfff commented Nov 23, 2019

$a=7;
$b=&$a;
$a=5;
echo $b;
this demo i just learn from book,the result should be 5,
but the actual result is 7 in jupyter notebook;

@tina4stack
Copy link

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants