Answers for "shorthand to assign multiple variable to same value in php"

PHP
0

shorthand to assign multiple variable to same value in php

# Initialize multiple regular variables with values
$a = $b = $c = 'Hello PHP';
echo $a.'<br>',$b.'<br>', $c.'<br>';

Output:
*******
Hello PHP
Hello PHP
Hello PHP
Posted by: Guest on May-08-2021
0

php multiple variables assign same value

$a = $b = $c = $d = array();
Posted by: Guest on August-13-2021

Code answers related to "shorthand to assign multiple variable to same value in php"

Browse Popular Code Answers by Language