Which inbuilt function in PHP is used to sort the element in Descending order?(A) sort()(B) asort()(C) dsort()(D) rsort()
View Answer
Which below method is used to compute the difference between two arrays in PHP?(A) array_diff(B) diff_array(C) arrays_diff(D) diff_arrays
View Answer
What is the output of the following code snippets:<?php$output = array(3, 3, 3);echo array_product($a);?>(A) 8(B) 27(C) 10(D) 6
View Answer
What is the output of the below code snippets?<?php while() { echo "GeeksForGeeks"; }?>(A) Hello World(B) Infinite loop(C) no output(D) Error
View Answer
Which of the following is used to calculate a number of character values in PHP?(A)count($variable)(B)len($variable)(C)strcount($variable)(D)strlen($variable)
View Answer
What is the output of the below code snippets?<?php $value=\"GeeksForGeeks\"; echo strrev(\"$value\"); ?>(A)skeeGroFskeeG(B)skeeGroFskeeO(C)skeeGorFskeeG(D)skeeForFskeeG
View Answer
Which of the following method in PHP is used to get the current day and location?(A)date_sunrise()(B)sunrise()(C)date-sunrise()(D)None of the above
View Answer
Which of the following is not considered predefined values?(A)$get(B)$ask(C)$request(D)$post
View Answer
Which of the following is true if you want to send input through the script in PHP?(A)Post(B)Get(C)All of the above(D)None of the above
View Answer
The correct syntax for enclosing the PHP script are?(A)<PHPgt; </phpgt;(B)<?PHP ?gt;(C)?PHP ?PHP(D)<p?gt; </?pgt;
View Answer
How many types of filtering is present in PHP?(A)2(B)3(C)4(D)None
View Answer
The external data in PHP are ________?(A) Cookies(B) Input data from a form(C) Server Variables(D) All of the above
View Answer