assigning multiple variables to same value php code example
Example 1: How do i multiple variables in php
$totalvariablename = $variablename * $othervariablename + ($othervariablename * 2);
Example 2: assign multiple variables php
[$var1, $var2, $var3, $var4, $var5] = array(1, 2, 3, 4, 5);