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 do you destroy a particular or all Sessions?
How to get a random value from a php array?
What is the ioncube php loader?
What is abstract class php?
Write a program to display reverse of any number?
What is the use of "ksort" in php?
Why is php so popular?
What does echo mean in php?
How we get ip address of client, previous reference page etc?
What is php key?
What is the use of mysqli_real_escape_string() function?
How is the ternary conditional operator used in php?
Tell me what does the initials of php stand for?
How come the code works, but does not for two-dimensional array of mine?
How send email in php?