Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

What will be the final structure of the following array? $animals = array( 'dog', 'cat', true => 'lion' );

Syntax Error will be thrown, as all keys must be of the same type
array( 0 => 'dog', 1 => 'lion' ) - boolean true will be changed to integer 1
Syntax Error will be thrown, as array keys can't be boolean values
array( 0 => 'dog', 1 => 'cat' ) - element with boolean key will be ignored
array( 0 => 'dog', 1 => 'cat', true => 'lion' )
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon