Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 111 011 123 000 111 011 123 000 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1, 2 and 3 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 1, 2 and 4 1 and 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . 0 NULL gibberish value an empty string 0 NULL gibberish value an empty string ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 3 All of the mentioned 1, 2 and 3 Only 4 Only 3 All of the mentioned 1, 2 and 3 Only 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 $add = $add $add = $add + $add + 1 $add = $add +$add $add = $add + 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; Error 35 students 25 students 35 Error 35 students 25 students 35 ANSWER DOWNLOAD EXAMIANS APP