Explain what is the static variable in function useful for?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More PHP Interview Questions

What is the difference between characters 34 and x34?

0 Answers  


What does empty mean in php?

0 Answers  


What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

1 Answers  


How to create a session? How to set a value in session?

0 Answers  


What is get and post method in php?

0 Answers  






Why is node js better than php?

0 Answers  


class Database { public static $_instance; public static function getInstance() { if(!isset(self::$_instance)) self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME); print_r(self::$_instance); return self::$_instance; } } can any one explain "self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME);" this line

1 Answers  


Why post method is used in php?

0 Answers  


Explain how we can get the number of elements in an array?

0 Answers  


Tell me how to find the length of a string?

0 Answers  


What is trim codeigniter?

0 Answers  


HOW we can use css

3 Answers   ConSim, IPsoft,


Categories