Answers for "is it possible to specify multiple return types on php 7"

PHP
0

php function return multiple values

// Function to swap two numbers 
function swap( $x, $y ) {  
    return array( $y, $x ); 
}
Posted by: Guest on October-01-2020

Code answers related to "is it possible to specify multiple return types on php 7"

Browse Popular Code Answers by Language