This content originally appeared on DEV Community and was authored by Moraa oo
$a = '1';
$b = &$a;
$b = "2$b";
Can please anyone helps me, I can not understand what & Operator does when it comes with variables like that, My solution is $a = 1, $b = 21, is that right ?
This content originally appeared on DEV Community and was authored by Moraa oo
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.

APA
MLA
Moraa oo | Sciencx (2024-08-07T21:24:30+00:00) PHP Reference. Retrieved from https://www.scien.cx/2024/08/07/php-reference/
" » PHP Reference." Moraa oo | Sciencx - Wednesday August 7, 2024, https://www.scien.cx/2024/08/07/php-reference/
HARVARDMoraa oo | Sciencx Wednesday August 7, 2024 » PHP Reference., viewed ,<https://www.scien.cx/2024/08/07/php-reference/>
VANCOUVERMoraa oo | Sciencx - » PHP Reference. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/07/php-reference/
CHICAGO" » PHP Reference." Moraa oo | Sciencx - Accessed . https://www.scien.cx/2024/08/07/php-reference/
IEEE" » PHP Reference." Moraa oo | Sciencx [Online]. Available: https://www.scien.cx/2024/08/07/php-reference/. [Accessed: ]
rf:citation » PHP Reference | Moraa oo | Sciencx | https://www.scien.cx/2024/08/07/php-reference/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.