Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php function return multiple values

// Function to swap two numbers 
function swap( $x, $y ) {  
    return array( $y, $x ); 
}  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #function #return #multiple #values
ADD COMMENT
Topic
Name
1+5 =