What is member function?
Answer / Saumay Mishra
"A member function, also known as a method, is a function that belongs to an object or a class in Object-Oriented Programming (OOP). Member functions have access to the variables and other members of their class, and can be called on an object created from the class. In PHP, member functions are defined within curly braces {". Example usage:
class MyClass { function myFunction() { ... } }nn$obj = new MyClass(); $obj->myFunction();".
| Is This Answer Correct ? | 0 Yes | 0 No |
What is isset post?
What are the differences between PHP3 and PHP4 versions?
How to read the entire file into a single string?
How can I use the COM components in php?
1 Answers Covansys, Rushmore Consultancy,
What is difference between static and final in php?
What are php keywords?
Is php better than java?
what is PHP accelerator ?
What is the difference between php and cakephp?
I created a cookie with the value like '1A2A',now i want to update this value regularly (about 20 times in a minute) with the value '1A2A3A' , 3A is the new value,new value will vary on the request it may be 3A or 4A or 100A ,some times the cookie is updating with new value but not every time.Can any body suggest the solution
What is the difference between Joomla and Drupal?
8 Answers IBM, Procon IT Solutions, T3 Softwares,
Write a program in php to check whether a number is prime or not?