What is happening in the following code
$objA = new A(); // A is a class
$objB = $objA;
Answer Posted / manoj kumar
This is a object cloning in php5.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What is php variable?
What is Type hinting in PHP?
Explain about PHP cookies?
What is difference between rest api and restful api?
What is difference between post and put in rest?
What exactly is PHP?
Explain me how to include a file to a php page?
Declare a new variable in php equal to the number 3;
What is the role of php.ini file?
Tell me what is the meaning of a final class and a final method?
How to break a file path name into parts?
When to use single quotes, double quotes, and backticks?
How do you use end in python?
In php how can you jump in to and out of "php mode"?