Which of the following is the correct way to create an indexed array in PHP? Mark as favorite Copy Link Answer the question in 30 seconds! $array = (1, 2, 3); $array = [1, 2, 3]; $array = {1, 2, 3}; $array = array(1, 2, 3); Check Answer
What is the output of the following code snippet? $arr = array(‘a’, ‘b’, ‘c’); array_pop($arr); print_r($arr); Mark as favorite Copy Link Answer the question in 30 seconds! Array ( [0] => a [1] => b ) Array ( [0] => a [1] => b [2] => c ) Array ( [1] => b [2] => c ) Array ( [2] => c ) Check Answer