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

How are variables declared in php?

1052


What is "print" in php?

1014


How to avoid the undefined index error?

1041


Explain PHP looping?

1075


What is printf in php?

1021


What is use of isset function in php?

1101


What is the latest version of php?

1091


Is php 7 backwards compatible?

1070


What is difference between md5 and SHA256?

1190


Is php closing tag necessary?

1047


What is the use of mysqli_real_escape_string() function?

976


explain php variable length argument function.

1120


Is php a programming language?

1095


How do I run a php program in dreamweaver?

1117


List few sensible functions in PHP?

1042