note 98730 deleted from language.oop5.patterns by danbrown
| From: | danbrown@php.net | Date: | Fri, 02 Jul 2010 20:50:55 +0000 |
| Subject: | note 98730 deleted from language.oop5.patterns by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170672@lists.php.net to get a copy of this message | ||
Note Submitter: vladakg85 at gmail dot com
----
[quote]
Anonymous
10-Jun-2010 12:39
Singleton in php doesn't responded like java (or others), the static instance resets on every
request......
[/quote]
If static instance is reset on each server call, then it means that to use singleton class I always
get new instance of class. As I know that is not singleton or I miss something? I coming from .net
background so this is strange to me.