Correct Answer: public
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP 5 Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP 5 MCQ Questions
Output of the following code : 'lemon', 'a'=>'orange', 'b'=>'banana', 'c'=>'apple'); ksort($fruits); foreach ($fruits as $key => $val) { echo '$key = $val\n'; } ?>
How do you connect mysql with the use of PHP5 new functions?
What is the difference between $message and $$message?
The _______ method will be called automatically when an object is represented as a string.
$text = 'He went to the school.'; echo strpbrk($text, 'w'); In the above code, what is the output?
$fruit = 'orange'; echo 'She likes the juice of fruit Sfruit.'.PHP_EOL; echo 'She was asking for the juice of ${fruit}s.'.PHP_EOL; echo 'She is very fond of Sfruit fruit juice.'; ?>
Which is an error control operator in PHP 7.1 ?
While comparing objects in PHP 7.1, using which of the following operators results in identical object variables, if and only if, they refer to the same instance of the same class?
What will be the output of the following PHP 7.1 code? function inverse($a){ if (!$a){ throw new Exception( } return 20/$a; } try { echo inverse(8).
$example = array(2 =>=> 'Two', 4 => 'Four', 6 => 'Six'); unset($example[2]);$x = array_values($example); print_r($x);