Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37700 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9733 invoked from network); 18 May 2008 11:30:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2008 11:30:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.51 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.51 darkcity.gna.ch Linux 2.6 Received: from [195.226.6.51] ([195.226.6.51:59416] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0E/F6-57662-56310384 for ; Sun, 18 May 2008 07:30:46 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 5E3941776A6; Sun, 18 May 2008 13:30:19 +0200 (CEST) Received: from unknown by localhost (amavisd-new, unix socket) id client-XXqCVHJm; Sun, 18 May 2008 13:30:14 +0200 (CEST) Received: from [192.168.1.42] (84-72-92-81.dclient.hispeed.ch [84.72.92.81]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTP id AE501177691; Sun, 18 May 2008 13:30:12 +0200 (CEST) To: Marcus Boerger In-Reply-To: <1284376279.20080518132000@marcus-boerger.de> X-Priority: 3 (Normal) References: <48169695.9040803@omegavortex.net> <7dd2dc0b0804290817v3d8de030y1208a88f78c44411@mail.gmail.com> <862660524.20080506162159@marcus-boerger.de> <912CE6DE-22D0-43E6-BB6B-6154980050E5@procata.com> <1210101672.3952.4.camel@localhost> <489751132.20080506214551@marcus-boerger.de> <10845a340805070633q2316a598lc1a69f259c523341@mail.gmail.com> <92634160.20080512164700@marcus-boerger.de> <10845a340805120803k2587870bnf890ce44765f5e97@mail.gmail.com> <721653902.20080513155302@marcus-boerger.de> <4829A0C9.5050308@cschneid.com> <1629174644.20080514020633@marcus-boerger.de> <76FF1B4A-1CAB-407A-9E6D-41E8C1137FCB@cschneid.com> <1284376279.20080518132000@marcus-boerger.de> Message-ID: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 18 May 2008 13:30:08 +0200 Cc: PHP Developers Mailing List X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: amavisd-new at gna.ch Subject: Re: [PHP-DEV] Class Properties in Interfaces? From: cschneid@cschneid.com (Christian Schneider) Hi Marcus, Am 18.05.2008 um 13:20 schrieb Marcus Boerger: > Not allowing unset() is the bug. Having unset delete the property > would be > the error. As long as the property still exists with value NULL all is > fine. I think unset($foo->bar) should unset while $foo->bar = null should set to null to keep things consistent and true to the operation's name. But as long as unset() is allowed (with either semantics) I'm happy to end this thread. - Chris