Singleton design in PHP
<p>I am using the singleton design pattern in a PHP application to create a database connection and select the database. I am using this instance many times in the application for CRUD operations.</p>

<p>Is there any problem if my application is accessing the database on multiple threads, such as getting unreliable results?</p>

<p>Is the created instance per session or for all threads?</p>
