Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92750 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80175 invoked from network); 25 Apr 2016 18:40:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2016 18:40:45 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.181 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.181 mail-pf0-f181.google.com Received: from [209.85.192.181] ([209.85.192.181:35369] helo=mail-pf0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/82-02401-BA46E175 for ; Mon, 25 Apr 2016 14:40:45 -0400 Received: by mail-pf0-f181.google.com with SMTP id n1so71939972pfn.2 for ; Mon, 25 Apr 2016 11:40:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=F3XaZjjM8wpFtVppjiN2xJ9HudQSpcjLf5Wofr/YQgY=; b=iteyiP3eyE4Iyc0yT2/L/aQi/SfRmy7d7D/fnAYZ4bpcSBUxtkk4AYwF7vsodcP3MI KkrNaRyWMtGlDDs1JRMZCbj5yvLR2roqLsUHHRLofoNsMtbOU4Cs9T63MGMwL3H6hGhE 212gZR17l+QLm0fIfCrjmbnMXV0oCfk2eH7npkbaTfBkHVrL78Ka74uM1gG6B/Wmbyqm ee1a71P2sNlbQOKp6Ddjmov+lId6RAvmOTBkYB72rQ2MmE0fOe6BuDsOLIKbE1XCvvp5 W5CIklSrxHero9EVoOaqK+b0DBIfGdaNd8Z1va2MgkAaeX46WI55wqW0tnnfn/UCjP5x 0XjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=F3XaZjjM8wpFtVppjiN2xJ9HudQSpcjLf5Wofr/YQgY=; b=lSGhp3u9uVETFD/YfpAvu0Eu5Ph2b/LTnwEiJkYLDe/QrlP7JEHCaQebm5xDGnA5WD /rhk1XkJQIa0Kt5cInaNWYuiTBiFoNL/2VvFqbkHaiuYA82Cgcb2+JLKHPDJ5oZdFA6y JzcGWrcViGvTdNxUpVKG8Wkb4aWwFxSHrp9Vs1tXxSt5OD3EvFWI07of4LSebZEMmTye FHcCeXqUerQ6gf62kM+G6un22kv5gqE9Qg4kih3oe43L8vXmTX9lONE/Ng52CWtehQ3i CZm3Ez0YL0VFPwZc3SX42cqmcGVhWO6spzc8GhA2yeDkxdskxyxcGt7sm75RuRx/9WKE D87g== X-Gm-Message-State: AOPr4FVI+hsvW+2MM2Sk7HqJr6ntdcxFKcOrNe7/589VBGadvnRwrYcLVsmwsO/g19+Dpw== X-Received: by 10.98.91.3 with SMTP id p3mr50841874pfb.64.1461609641577; Mon, 25 Apr 2016 11:40:41 -0700 (PDT) Received: from Stas-Air.local (76-220-46-95.lightspeed.sntcca.sbcglobal.net. [76.220.46.95]) by smtp.gmail.com with ESMTPSA id z17sm28415347pfi.61.2016.04.25.11.40.39 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2016 11:40:40 -0700 (PDT) To: Larry Garfield , internals@lists.php.net References: <571965D1.9020102@zend.com> <5719CDB2.90103@zend.com> <571DCA6A.2070803@zend.com> <571E35D8.8080504@zend.com> <571E4A83.3080304@garfieldtech.com> Message-ID: <571E64A2.2040505@gmail.com> Date: Mon, 25 Apr 2016 11:40:34 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <571E4A83.3080304@garfieldtech.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] PHP Attributes From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > a class/property/method that has annotations, it NOT inherit > annotations/attributes by default. However, by adding an annotation of > > <<__inherit>> > > (Or some other internal-reserved keyword, I don't have strong feelings > on what it is) then the engine will automatically give you all the > annotations off of the parent, and union them with whatever additional > ones you add. Then it makes no sense to ban repeating annotations - because that's what we effectively are doing here. Also, this assumes all annotations are either of inheritable kind or not, and these two categories can never be combined. -- Stas Malyshev smalyshev@gmail.com