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 / prakash

The object variable $objA and $objB is contains the same
value. The $objA is get the value and to assign the value
to $objB. So both are contains the same value in the
program.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A process can run only in the background. State Whether True or False?

1125


What is the use of isset() in php?

1039


What is $_ server request_method == post?

1062


How to Retrieve a Cookie Value?

1214


How to convert strings to numbers in php?

1126


What is the purpose of a query?

929


Tell us what is the difference between session_unregister() and session_unset()?

1004


What is the alternative structure for control structures?

1094


What are the differences between require and include?

1008


What is session cookies php?

988


What library is used for pdf in php?

1047


Is facebook still written in php?

980


What is a php session?

1053


How to calculate the length of a string?

1116


List some features of php that are deprecated in php

917