note 98730 added to language.oop5.patterns

From: Date: Fri, 02 Jul 2010 20:39:41 +0000
Subject: note 98730 added to language.oop5.patterns
Groups: php.notes 
Request: Send a blank email to php-notes+get-170671@lists.php.net to get a copy of this message
[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. ---- Server IP: 69.147.83.197 Probable Submitter: 89.216.239.121 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.patterns.php Edit -- https://master.php.net/note/edit/98730 Del: integrated -- https://master.php.net/note/delete/98730/integrated Del: useless -- https://master.php.net/note/delete/98730/useless Del: bad code -- https://master.php.net/note/delete/98730/bad+code Del: spam -- https://master.php.net/note/delete/98730/spam Del: non-english -- https://master.php.net/note/delete/98730/non-english Del: in docs -- https://master.php.net/note/delete/98730/in+docs Del: other reasons-- https://master.php.net/note/delete/98730 Reject -- https://master.php.net/note/reject/98730 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#170671) next »