Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

assigning multiple variable in php

## ASSIGNING MULTIPLE VARIABLE IN PHP
$var1 = $var2 = $var3 = $var4 = "String";
$var1 = $var2 = $var3 = $var4 = 4;
$var1 = $var2 = $var3 = $var4 = {};
$var1 = $var2 = $var3 = $var4 = [];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #assigning #multiple #variable #php
ADD COMMENT
Topic
Name
3+5 =