php multiple variables assign same value 1

php multiple variables assign same value

$a = $b = $c = $d = array();

Here is what the above code is Doing:
1. It’s creating an array called $a, and assigning it the values 1, 2, and 3.
2. It’s creating an array called $b, and assigning it the values 1, 2, and 3.
3. It’s creating an array called $c, and assigning it the values 1, 2, and 3.
4. It’s creating an array called $d, and assigning it the values 1, 2, and 3.

Similar Posts