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


Please Help Members By Posting Answers For Below Questions

How does php sessions work?

674


How can you send http header to the client in php?

677


What are the special characters you need to escape in single-quoted stings?

687


How to track no of user logged in?

790


What is the difference between implode() and explode() in php?

663






how to open & closing opening period in fico

1400


Tell me what is the use of isset() in php?

769


What u mean by query?

679


What is __ construct in php?

691


What is difference between count or sizeof function in php?

712


What is php and sql used for?

678


What is use of header() function in php?

733


What is the Pipe Symbol represented?

784


Is overloading possible in php?

680


What does a delimiter do in mysql?

744