+ 1

Variable variables explained

<?php //Variable variables $a = 'hi'; $a = "friends";/*the value of $a (hi) is assigned a value (friends) so 'hi' is know a variable and value*/ echo $hi; echo $a; /* so variable $a value is also a variable hence Variable variables*/ ?>

19th Oct 2017, 3:42 PM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
1 Réponse
+ 3
Keep calm and enjoy learning PHP😉😉
22nd Oct 2017, 1:13 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar