Answer Posted / venky
$this represents the current working class.
if you are accessing the variable or function with in the
same class then $this represents the current working object.
for ex:
class Test{
function fn_testing($a)
{
$a++;
return $a;
}
$c=$this->fn_tesing(1);
}
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Why php is also called as scripting language?
Is php difficult to learn?
Why super () is used in java?
Which cryptographic extension provide generation and verification of digital signatures?
Is overloading possible in php?
What is the method to register a variable into a session?
How do we get the current session id?
List types of array are available in php?
Which PHP function would you use to send an email?
What is apache and php?
How does php work with apache?
What's the best method for sanitizing user input with php?
Explain NULL?
Tell me how can we display information of a variable and readable by human with php?
Hello Friends,I am seeking for a job in php having 9 months. exp.Please suggest any company openings.