Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between include,require,include_once and require_once()?

1044


Write a program in php to find the occurrence of a word in a string?

1064


What is framework in php for beginners?

970


What is static in php?

998


Explain how we can retrieve the data in the result set of mysql using php?

963


How to set cookies in PHP?

1078


what is PDO?

1243


What is the use of "enctype" attribute in a html form?

1011


What is a closure in php?

1012


Explain what does $_server means?

1038


What is trait in php?

956


How can we increase execution time of a php script?

924


Is laravel an oop?

884


What is the difference between runtime exception and compile time exception?

1080


Is nan in javascript?

952