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
What is difference between include,require,include_once and require_once()?
Write a program in php to find the occurrence of a word in a string?
What is framework in php for beginners?
What is static in php?
Explain how we can retrieve the data in the result set of mysql using php?
How to set cookies in PHP?
what is PDO?
What is the use of "enctype" attribute in a html form?
What is a closure in php?
Explain what does $_server means?
What is trait in php?
How can we increase execution time of a php script?
Is laravel an oop?
What is the difference between runtime exception and compile time exception?
Is nan in javascript?