What is output of the following code. $arr = "a"; $arr[0]="b"; echo $arr; echo $arr[0];
Correct Answer: bb
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
Correct way to include the file 'time.inc' ?
How do you kill or destroy a session?
To ensure that a given object has a particular set of methods, you must provide a method list in the form of an ________ and then attach it as part of your class using the ________ keyword.
How to check if a directory exists?
Best way to iterate and modify every element of an array using PHP 5?
How to capture exception's message? Note: consider Exception $e.
Which keyword is used to inherit our subclass from a superclass?
What's the output? $a$a = 1; $b$b = 2; echo '$a$a + $b$b';
Which function will attempt to return a timestamp, in microseconds?
Which are valid float values?