Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91155 invoked by uid 1010); 26 Aug 2005 23:29:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 91140 invoked from network); 26 Aug 2005 23:29:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2005 23:29:27 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:56707] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 73/3B-28235-6D5AF034 for ; Fri, 26 Aug 2005 19:29:27 -0400 Received: from [192.168.1.3] (dsl-082-083-227-004.arcor-ip.net [82.83.227.4]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 2B82435C392; Sat, 27 Aug 2005 01:50:16 +0200 (CEST) Date: Sat, 27 Aug 2005 01:27:33 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <509437273.20050827012733@marcus-boerger.de> To: Andi Gutmans Cc: Edin Kadribasic , Derick Rethans , Christian Schneider , PHP Developers Mailing List In-Reply-To: <6.2.3.4.2.20050826154443.0470f940@localhost> References: <430DBD80.6090804@cschneid.com> <430DC0DC.4060506@emini.dk> <6.2.3.4.2.20050825182507.064da170@localhost> <273979752.20050826203230@marcus-boerger.de> <6.2.3.4.2.20050826154443.0470f940@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Property Overloading RFC From: helly@php.net (Marcus Boerger) Hello Andi, Saturday, August 27, 2005, 12:52:38 AM, you wrote: > At 11:32 AM 8/26/2005, Marcus Boerger wrote: >> > I don't see why the __get/__set/__isset/__unset methods themselves >> > can't check if the property exists and throw an exception if it >> > doesn't. I always do that in all my examples... >> >>Interesting, How do you do that? There is no __isset or __unset. > Did you check HEAD? When did this get sneaked in and why? And why didn't we make it like ArrayAccess with interfaces? And was this even being discussed and i was sleeping? I see dmitry did it: $ cvs log -r1.288 Zend/zend.h date: 2005/07/07 16:07:08; author: dmitry; state: Exp; lines: +5 -1 Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods) Best regards, Marcus