Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72257 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86069 invoked from network); 5 Feb 2014 10:19:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2014 10:19:14 -0000 Authentication-Results: pb1.pair.com header.from=ingwie2000@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ingwie2000@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.83.51 as permitted sender) X-PHP-List-Original-Sender: ingwie2000@googlemail.com X-Host-Fingerprint: 74.125.83.51 mail-ee0-f51.google.com Received: from [74.125.83.51] ([74.125.83.51:49856] helo=mail-ee0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/D1-09402-02012F25 for ; Wed, 05 Feb 2014 05:19:13 -0500 Received: by mail-ee0-f51.google.com with SMTP id b57so110696eek.38 for ; Wed, 05 Feb 2014 02:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=S5fnv4jw26+bkr0D82tufpQk/pPOy+G9TeYsl94bD8o=; b=XRL/MSDdzqYZEWTqXbfnqRRQrTGdHc0tu4EUk5YFfgmLVMI5y7kqmjb05vuMVPmhML tKLmSlT3lF/RybsbJdcMfAlEk7V6dbHl2/USdxjHgIwGA//n08PTMfEpbBHu9umeTsor PRLMCU5rKQ2Htsef6DPaxwSGc/eKpISSi1VxdjcJhj6OnKUyhutKzk1LDx6SJZ+IjkiZ uTfF3cBiKBckOKCja9XOoJav90rGnR77+6q+dTuzUhUvrKTGk3awU8G4Xp4ruMSFw3YA 2GzMedX8vdSS/0Sr8pdI5UVW9n+xtsX/1NtRF5ndOYK9udqho9FObxTOiKSrlgTJ4LsL dgQg== X-Received: by 10.14.126.9 with SMTP id a9mr772307eei.95.1391595550357; Wed, 05 Feb 2014 02:19:10 -0800 (PST) Received: from [172.16.88.11] (p57A92C56.dip0.t-ipconnect.de. [87.169.44.86]) by mx.google.com with ESMTPSA id m9sm86435975eeh.3.2014.02.05.02.19.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Feb 2014 02:19:09 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Message-ID: Date: Wed, 5 Feb 2014 11:19:07 +0100 To: internals Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) X-Mailer: Apple Mail (2.1822) Subject: Singletons From: ingwie2000@googlemail.com (Kevin Ingwersen) Hello. ^^ I just wanted to ask, if there is a singleton implementation? The = current one is rather =84hackish=93, by using a static property, = initializer and a function to itneract with it all. Sadly, I can not put = a patch together myself - because I am not good with YACC and Flex yet, = or with the php vm - but i would have a concept for an implementation = o.o Kind regards, Ingwie=