Multiple assignment in PHP
<?php // Multiple assignment //-------------------- // Directly list( $a, $b, $c ) = array( 1, 2, 3 ); // Using previeusly defined array $arr = array( 1, 2, 3 ); list( $a, $b, $c ) = $arr; ?>