PHP Reference

moraa_oo_b141544e9be30688

Moraa oo

Posted on August 7, 2024

PHP Reference
$a = '1';
$b = &$a;
$b = "2$b";

Enter fullscreen mode Exit fullscreen mode

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 ?

💖 💪 🙅 🚩
moraa_oo_b141544e9be30688
Moraa oo

Posted on August 7, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related