Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63497 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21368 invoked from network); 17 Oct 2012 11:11:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Oct 2012 11:11:50 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-la0-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:43046] helo=mail-la0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/58-64689-5729E705 for ; Wed, 17 Oct 2012 07:11:50 -0400 Received: by mail-la0-f42.google.com with SMTP id e6so5048351lah.29 for ; Wed, 17 Oct 2012 04:11:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9TZz535CErYcPcYHdDiCwQYhgL54m1TU6mdUBQz6XqM=; b=FDUH8kviF5mv0R3hP6FZEABlm2FuKidFxQy6TD/qW0r2Ol0LG9QkSIcaL/pVrSHgSi XTstD6cntN3fMG1RvWYe8Evk08FnOrxBPXyKW43GA3PI93Y+Ltjy/j7yB1AGOc2kwe3K IV92E3soVJx+MrxkNj7SmPS9nvkTJDXpWKCeA6FF7ml7WzHJHb7TVBSkyeV16UgrVUQ3 rBCwS66FTnKSRusf7QdgliMfNBluCysLijssNJvK72VgLwNh2myoPes9F/75wPQkIJ7Q 57eRIcFKaQDFaKu9tCuzvnAgJJp1pVAtA0y7OlPNMp850j5AFDrVac5CxRRdO3CkWimS TNhw== MIME-Version: 1.0 Received: by 10.152.110.74 with SMTP id hy10mr15640539lab.54.1350472307101; Wed, 17 Oct 2012 04:11:47 -0700 (PDT) Received: by 10.112.83.100 with HTTP; Wed, 17 Oct 2012 04:11:46 -0700 (PDT) In-Reply-To: <507E846A.2030805@sugarcrm.com> References: <9570D903A3BECE4092E924C2985CE485612B53E4@MBX202.domain.local> <507D24E0.9070203@sugarcrm.com> <9570D903A3BECE4092E924C2985CE485612B6DC9@MBX202.domain.local> <507D5199.3090203@sugarcrm.com> <9570D903A3BECE4092E924C2985CE485612B6F1D@MBX202.domain.local> <507D6675.3080206@sugarcrm.com> <9570D903A3BECE4092E924C2985CE485612B7805@MBX202.domain.local> <507E846A.2030805@sugarcrm.com> Date: Wed, 17 Oct 2012 13:11:46 +0200 Message-ID: To: Stas Malyshev Cc: Clint Priest , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 From: nikita.ppv@gmail.com (Nikita Popov) On Wed, Oct 17, 2012 at 12:11 PM, Stas Malyshev wrote: > Hi! > >> That makes some sense, still the issue Nikita brought up is that the >> __getHours() should not be callable. > > I don't see any use case for this requirement. What *requires* that it > won't be callable and why it is so necessary that we introduce > additional complexity into the engine just to do it? You have already written seven mails all saying how much complexity this would introduce. Could you maybe elaborate a bit on that? How would it make anything more complex? I mean, the only really difference we are talking about is not putting accessors into the method table, right? Rather, have them saved separately (which is actually already done, even with the current implementation). We already have the infrastructure in place to call zend_functions (and op_arrays), with scope and $this and everything. I don't see how this makes anything more complicated. But as I don't know the engine that well, maybe I missed some obvious issue. Could you enlighten me/us?