foreach loop is used to transfer all the elements of an array to _________
single variable
different variables
no variables
SHOW ANSWERArray function used to sort the array elements in the reverse order
arsort( )
asort( )
revsort( )
SHOW ANSWERSyntax for arsort( ) function
arsort( $arrayname);
arsort[$arrayname];
arsort{$arrayname};
SHOW ANSWERArray function to sort the array elements in the ascending order
asort( )
arsort( )
sort()
SHOW ANSWERSyntax for asort( ) function
asort($arrayname);
asort[$arrayname];
asort{$arrayname};
SHOW ANSWERArray function to count elements in an array
count( )
$count( )
arcount( )
SHOW ANSWERThe syntax for function to count elements in an array
count($arrayname );
arcount( $arrayname);
array_count( $arrayname);
SHOW ANSWERFunction that returns current value in an array
current( )
current_value( )
current_array( )
SHOW ANSWERSyntax for the function that returns current value in an array
current( $arrayname);
current_value($arrayname);
array_current( $arrayname);
SHOW ANSWERFunction that returns the end value in an array
end( )
array_end( )
array_end_value( )
SHOW ANSWERFunction used to search a specific value in an array
in_array( )
array_in( )
In_array( )
SHOW ANSWERSyntax for the function that searches a specific value in the array
in_array(value,$arrayname);
in_array($arrayname);
in_array(value);
SHOW ANSWERWhich function is used to sort an array in the reverse order?
rsort( )
arsort( )
rsort( ) and arsort( )
SHOW ANSWER