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 ); 
}  
 
PREVIOUS NEXT
Tagged: #php #function #return #multiple #values
ADD COMMENT
Topic
Name
3+9 =