Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92720 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14424 invoked from network); 25 Apr 2016 09:45:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2016 09:45:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.49 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.49 mail-oi0-f49.google.com Received: from [209.85.218.49] ([209.85.218.49:34353] helo=mail-oi0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/D2-00233-E17ED175 for ; Mon, 25 Apr 2016 05:45:02 -0400 Received: by mail-oi0-f49.google.com with SMTP id k142so171253956oib.1 for ; Mon, 25 Apr 2016 02:45:02 -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; bh=pIM87BM0D1Dzpyp9JuUDeXU662wQ3DPgjrF77txVKlc=; b=pAcKVe87V7jV1do4YctKB11SqLB31GuReaC9m9dkIkk44TWn85+UJstBcECCJy2Lnm FeQCKKRtRcYT7/ALdyqwxe02wVtZtKA6j1O6IMrnFHIzBAYuAiWjCXXHrnCAAs66FGu9 AwTy8ul+/69vHR39om1s+J+d+E7uaIY31PHIFqhrnbrqHZvcv95YqocvmJKwGN0b4aoJ 9VUZFvfOO0lJ5EwFghA6cMv9oMJAJlmnSfJ6K+ijQZsEqtATdYdFTykqdFjyjCZ1e4Dd 6cujPdpMgMqJtIFti3Xo3hAtcfrG8ApPoAW+Rkv2kxZMW7/ip/pOms5EarkJi7cqbR5N hdTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=pIM87BM0D1Dzpyp9JuUDeXU662wQ3DPgjrF77txVKlc=; b=CEiuRLi3urVtKKPpgmjF1nuoIBIfHk666tJGmIHqcJItI9sNLd9JZ7/r0wZDIKB2cv irv/AuRX/JvBIhOXDMKsHnYsarGDnqnXe37cNzGH4znG+IfBoVRGhCstec1pRiZiOdpJ nvHkDkLU1DoN49YCglSqSIl0xGTUKK+YhbkbKSK4ii0EfwiJbwrJ5I7bYAeWNk+8BAXk ypUuyXCE7e32xeq0ebOB4O62V/4XR4sGboHzvX+osq6DVCLIRh2Xy8rcoCRWF1DNkSaq u2bevJf9EXwSr1llfJCge28OYpW+xiqrVbbRI/751oOfsxGenyH6SBia8ki4MI6cDSPS FJIw== X-Gm-Message-State: AOPr4FUYWU9bvF8Mcwg7qqFK7NbIRhMRziiCAgcgpYjVwJSU7zSlEMUmLFDUlnC4/U+RRNhRf5NPa4q7RahNBA== MIME-Version: 1.0 X-Received: by 10.202.221.87 with SMTP id u84mr14092094oig.93.1461577499565; Mon, 25 Apr 2016 02:44:59 -0700 (PDT) Received: by 10.202.215.193 with HTTP; Mon, 25 Apr 2016 02:44:59 -0700 (PDT) In-Reply-To: <571DD2A3.2020106@zend.com> References: <571BA0F0.2030400@fleshgrinder.com> <571C82A7.2060706@fleshgrinder.com> <571CB44C.1000704@fleshgrinder.com> <571CBD1E.7020103@fleshgrinder.com> <571DD2A3.2020106@zend.com> Date: Mon, 25 Apr 2016 16:44:59 +0700 Message-ID: To: Dmitry Stogov Cc: PHP internals , Benjamin Eberlei , Sara Golemon Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] PHP Attributes From: pierre.php@gmail.com (Pierre Joye) hi Dmitry, Awesome work! Thanks. I do like you keep what was discussed last time. Make the basics available and leave the rest to the applications (doctrine or other). I feel too that how the apps will interact with may need some more discussions but other commented on it so I won't interfer here :). On Mon, Apr 25, 2016 at 3:17 PM, Dmitry Stogov wrote: > The proposed by you "@..." syntax just won't fit into PHP grammar, because @ > used as silence operator. > > Attribute, syntax is taken from HHVM. I don't see a big reason to introduce > more fragmentation into PHP world. Also see https://docs.hhvm.com/hack/attributes/syntax and I fully agree with Dmitry here. It makes no sense now to go with our own syntax. If any of the hhvm developers are around, we may get some feedbacks about their current APIs (using getAttributes) and if they would like to change one thing or another. That could (or must) part of the PHP specifications. Cheers, -- Pierre @pierrejoye | http://www.libgd.org