What is happening in the following code
$objA = new A(); // A is a class
$objB = $objA;
Answer Posted / puneet bhatt
variable $objA and varable $objB contains the same value.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Write a hello world program using variable?
Is laravel better than codeigniter?
What are the advantages of indexes in php?
Can a super () and this () keywords be in same constructor?
Will php die?
Which function would you use to determine the length of a string in php?
How do I check if a given variable is empty?
What is apache and php?
How are variables declared in php?
How can we submit form without a submit button?
How to access a specific character in a string?
Explain me what is the use of header() function in php?
What is the purpose of using php?
Do you know how to get the ip address of the client?
Is php class name case sensitive?