Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33576 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31315 invoked by uid 1010); 2 Dec 2007 12:19:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31299 invoked from network); 2 Dec 2007 12:19:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2007 12:19:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.178.245 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 64.233.178.245 hs-out-0708.google.com Linux 2.4/2.6 Received: from [64.233.178.245] ([64.233.178.245:5800] helo=hs-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/A0-25260-BD2A2574 for ; Sun, 02 Dec 2007 07:19:42 -0500 Received: by hs-out-2122.google.com with SMTP id l65so269603hsc for ; Sun, 02 Dec 2007 04:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=E9MmicVE+sieauv928NyxZbUF7xHVoZRbwjsyGkwYAs=; b=CLyOfBdTBHc/0wZ7sX1Xc7R07UUT7fY9RUxi9KZs0ABTz2oIt/dGEWrvN1Q23dqxIKUdOaL96qafjne+LWIp4p++Y9sD4vybTrcpT6Bmsb1I51CrO5rpenp1CVgl3fpSgyoZAdJw2raHhvRWHrZUv7KivKUDHG8jlPXb+wwqKb8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=A0fm4ZhiGlyQx5z0+H7SBAXPKyzmUfFc44zaeobWnOHP6HVOIYI/iLbCiwtM7THmZEKNeITNZ8wyXpDGwGta0b62ksANxcdN0Q8wGqTbvnz6jBkdFaCtw3c2etgK1dIJJ1eJxTopLu5mxdpcaudRy9kT6KIfeN63YyeoBj7LFCo= Received: by 10.70.11.5 with SMTP id 5mr2493816wxk.1196597975773; Sun, 02 Dec 2007 04:19:35 -0800 (PST) Received: by 10.70.41.7 with HTTP; Sun, 2 Dec 2007 04:19:35 -0800 (PST) Message-ID: Date: Sun, 2 Dec 2007 13:19:35 +0100 Sender: ekneuss@gmail.com To: RQuadling@googlemail.com Cc: "Jingcheng Zhang" , "=?ISO-8859-1?Q?Johannes_Schl=FCter?=" , "Marco Kaiser" , internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5158_7398963.1196597975763" References: <474ff865.0d135e0a.4536.ffffa229@mx.google.com> <1196441832.1563.19.camel@johannes.nop> <10845a340712011238t79472d34h1736403c416c65b5@mail.gmail.com> X-Google-Sender-Auth: ef80731136d77d8b Subject: Re: [PHP-DEV] private properties .... From: colder@php.net ("Etienne Kneuss") ------=_Part_5158_7398963.1196597975763 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello, Sorry late replies shouldn't be allowed ;) class A { private $foo = 2; } class B extends A { } $b = new B; $b->foo = 3; // Allowed already, it will create a public property foo in $b -- Etienne Kneuss http://www.colder.ch Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal ------=_Part_5158_7398963.1196597975763--