php function return multiple values when you only return only one 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 );
}