What is happening in the following code
$objA = new A(); // A is a class
$objB = $objA;
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / puneet bhatt
variable $objA and varable $objB contains the same value.
| Is This Answer Correct ? | 1 Yes | 2 No |
When a conditional statement is ended with an endif?
what is the best function that can be used to connect to mysql database and in what cases that we can use below functions ? 1. mysql_connect() 2. mysql_pconnect() please give your answer with all pros and cons
Is php still used?
What is http php?
How escape single quotes php?
How to generate a form?
What is meant by pear in php? What is the purpose of it?
How to get the number of visitors in a site?
How can I find the colour of a pixel of an image?
2 Answers Rushmore Consultancy,
How to Retrieve the Session ID of the Current Session?
If i make my selection in State Dropdown list, i would the City and ZipCode dropdown list to be automatically reupdated based on the State i select.(This to avoid the user select a City or Zipcode that does not correspond to the State previously selected.)
How to find the position of the first occurrence of a substring in a string?