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
How are variables declared in php?
What is "print" in php?
How to avoid the undefined index error?
Explain PHP looping?
What is printf in php?
What is use of isset function in php?
What is the latest version of php?
Is php 7 backwards compatible?
What is difference between md5 and SHA256?
Is php closing tag necessary?
What is the use of mysqli_real_escape_string() function?
explain php variable length argument function.
Is php a programming language?
How do I run a php program in dreamweaver?
List few sensible functions in PHP?