Question | Answer | % Correct |
---|---|---|
Which of the following type of variables have only two possible values either true or false? | Boolean | 100%
|
The (2>0 && 4>5) condition will return what in PHP | False | 100%
|
What function do you use in PHP in order to access MySQL? | mysql_connect() | 100%
|
PHP is Scripting language | Server Side | 100%
|
The (2>0 || 4>5) condition will return what in PHP | True | 100%
|
Which of the following keyword terminates the for loop or switch statement and transfers execution to the statement immediately following the for loop or switch? | Break | 75%
|
Which of the following magic constant of PHP returns function name? | _FUNCTION_ | 75%
|
Which of the following is correct about preg_match() function? | The preg_match() function searches string for pattern, returning true if pattern exists, and false otherwise. | 75%
|
Can you assign the default values to a function parameters? | True | 75%
|
Which of the following is correct for PHP variables? | All of the above. | 50%
|
Which of the following function returns selected parts of an array? | array_slice(); | 50%
|
In PHP, which function is used to convert a JSON string into a PHP variable? | json_decode() | 50%
|
What does the 'PDO' stand for in PHP? | PHP Database Object | 50%
|
What is the purpose of the 'session_start()' function in PHP? | Starts new or resume existing session | 50%
|
Select the correct code to create a associative array in PHP | Both of the above. | 25%
|
Copyright H Brothers Inc, 2008–2024
Contact Us | Go To Top | View Mobile Site