What is the advantage of runtime polymorphism?


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

Post New Answer

More PHP Interview Questions

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  


What is meant by session in php?

0 Answers  


Why ide is recommended for use while programming with php?

0 Answers  


What are the advantages of triggers?

0 Answers  


What is the difference between associative array and indexed array?

0 Answers  






Explain the difference between mysql_connect and mysql_pconnect?

0 Answers  


How long does a php session last for?

0 Answers  


Which is better wamp or xampp?

0 Answers  


Code to upload a file in PHP?

0 Answers  


Which database is best for php?

0 Answers  


What are interfaces in php?

0 Answers  


What are the disadvantages of php?

0 Answers  


Categories