What is php static function?



What is php static function?..

Answer / Panne Lal

A static function in PHP can be called without instantiating the class. Static functions have access only to static properties and cannot access non-static properties or methods of the same class unless they are declared as static too.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How do I debug php?

1 Answers  


Why many companies are switching their current business language to php?

1 Answers  


Is age nominal or ordinal?

1 Answers  


Make a "dynamic drop down list" with using only PHP,HTML and MySQL..

2 Answers  


Tell me what are magic methods?

1 Answers  


What is meant by variable variables in php?

1 Answers  


Which character is used to match exactly one character?

1 Answers  


Write a program to get second highest number in an array using php?

1 Answers  


Is php required for wordpress?

1 Answers  


I created a new joomla module for administrator. when am going to install this, it is going "joomla/modules" path. but, i want to install this in the "joomla/administration/modules" path.

2 Answers  


What is the w3c?

1 Answers  


iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not

1 Answers  


Categories