php write multiple line on variable code example Example: define multiple variables in one line php $foo = $bar = $ping = $pong = '';