adspace
Answer Posted / Arpit Mishra
The Singleton pattern ensures a class has only one instance and provides a global point of access to it. In PHP, you can create a Singleton using the Hungry or Lazy initialization techniques.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to detect a mobile device using php
Which variable declarations within a class is invalid in php?
How to create a web form?
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
What is difference between static and final in php?
hello all, I need some sample placement papers in lion bridge.. can anyone help me?
What is the difference between htmlentities() and htmlspecialchars()?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
What does $_files means?
Explain me is it possible to destroy a cookie?
List some features of php that are deprecated in php7?
Tell me what kind of things have you done on the social side?
What is the current stable version of php?
Name and explain five of the PHP error constants?
What is trait in php?