How many predefined variables does PHP use to authenticate a user?
Which function is used to get the value of the previous element in an array?
Which one of the following functions can be used to compress a string?
If session.use_cookie is set to 0, this results in use of _____________
Which statement will print the text '$hello' on the screen?
Which one of the following should not be used while sending passwords or other sensitive information?
Which method can be used to determine if daylight saving time is in effect for a specific date and time?
If one intends to create a model that will be shared by a number of closely related objects, which class must be used?
Which of the following is/are external data?
i) Cookies
ii) Input data from a form
iii) Server Variables
iv) Web services data
What will be the output of the following PHP code?
<?php
function convertSpace($string)
{
return str_replace("_", " ", $string);
}
$string = "India_is_a_great_country!";
echo filter_var($string, FILTER_CALLBACK, array("options"=>"convertSpace"));
?>