DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+7 =
Submit