What is the difference between super () and this ()?
Answer / Panne Lal
In PHP, 'super' does not exist. Instead, you can use 'parent::' to call a method or property of the parent class from within the context of a child class. On the other hand, 'this' also does not exist in PHP directly, but you can use $this to refer to the current object instance inside a class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What can I do by cakePHP?
What is xss and csrf?
What is the importance of "action" attribute in a html form?
What is the function to count elements in an array in PHP?
How to access standard error stream in PHP?
What is overloading in php?
what mode to use when creating dirs with mkdir?
What would occur if a fatal error was thrown in your php program?
What is php and its features?
What is filter_var?
Define urlencode() and urldecode() used in php?
How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain