php 7 multiple function return type code example
Example: php function return multiple values
// Function to swap two numbers
function swap( $x, $y ) {
return array( $y, $x );
}
// Function to swap two numbers
function swap( $x, $y ) {
return array( $y, $x );
}