Syntax for the function used to get the next element in an array
next($array);
next(previous index,$array);
next(value, $array);
SHOW ANSWERFunction used to find the previous element in a php array
prev( );
previous();
previous_element( );
SHOW ANSWERArray function used to shuffle the array elements
shuffle( )
shuffle_array( )
array_shuffle( )
SHOW ANSWERSyntax for shuffling array elements
shuffle($arrayname);
shuffle_array($arrayname);
array_shuffle($arrayname);
SHOW ANSWERWhich function checks that an array exists ?
is_array( )
exists( )
array_exist( )
SHOW ANSWERSyntax for the function that checks existance of an array
is_array( $arrayname);
exists($arrayname);
array_exist($arrayname);
SHOW ANSWERWhat is the type of value returned by is_array( )
Boolean
Integer
Float
SHOW ANSWERWhat is the return value for is_array($arr ) if $arr exists ?
true
false
null
SHOW ANSWERWhat is the return value for is_array($arr ) if $arr doesnot exists ?
false
true
null
SHOW ANSWERWhat will be the value displayed if is_array() is true
1
true
false
SHOW ANSWERFunction that is an alternative for the function current( )
pos( )
position( )
no alternative
SHOW ANSWERSyntax for the function pos( )
pos($arrayname);
pos(arrayname);
pos($arrayname,index value);
SHOW ANSWERWhat will be the output for $a=array(12,43,56,7);
foreach($a as $d)
{echo $d;}
1243567
1243657
1234567
SHOW ANSWER