What is singleton pattern in php?
Answer / 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 |
Which is better get or post method?
how can we check mail function with '127.0.0.1' (before submitting a site?
What is needed to be able to use image function?
what is the difference between GET,POST and REQUEST in php
full form of php??
When to use self over $this?
What is the method to register a variable into a session?
What is php resource type?
Explain the difference between session and cookies in php?
What is meant by urlencode and urldocode?
How will you calculate days between two dates in PHP?
What does mvc stand for and what does each component do?