assign 2 values to 1 variable or php code example Example: assign multiple variables php [$var1, $var2, $var3, $var4, $var5] = array(1, 2, 3, 4, 5);