Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93169 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18035 invoked from network); 10 May 2016 20:48:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 May 2016 20:48:11 -0000 Authentication-Results: pb1.pair.com header.from=kontakt@beberlei.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=kontakt@beberlei.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain beberlei.de from 74.125.82.51 cause and error) X-PHP-List-Original-Sender: kontakt@beberlei.de X-Host-Fingerprint: 74.125.82.51 mail-wm0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:36612] helo=mail-wm0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/99-63163-90942375 for ; Tue, 10 May 2016 16:48:10 -0400 Received: by mail-wm0-f51.google.com with SMTP id n129so194522590wmn.1 for ; Tue, 10 May 2016 13:48:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=uzoEI+iXVleIE1QATY3ZXPrhaJf5bdrkHOD9D2p2J2g=; b=E/vzAm11IaMhqVMtQLl1ZdGc+RWFFO/ht+78njwsT+j9UdAd8djWkCL2C6fe2f4r82 r1GAAoLKheOJcN0oF2mA9crkdjTQT+DOmUXa23NNdIQTlREjrfl9ORzq5Cg1rrC14oR1 X1N9dz+COruYFXPRDNh6m0rOOQyAQ6Qo2+dAJQSdQ+ZuwD129DuWNoNZ878t0obMBj8X H1GDHWK8ulxVKsPyw0LXrTAxBgo7RoDck40WolRLlN5G7mFl81jqdVpi08TSuFc372lp shvkBAxD2d8kQolbmwdsArsUyti+9/PZuvzEsvKjhPGY1RVKGNaCFSNivD9a70jSj4J4 nYFA== 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=uzoEI+iXVleIE1QATY3ZXPrhaJf5bdrkHOD9D2p2J2g=; b=lheKRGdHVdROrGB++2uHSSU02iyFzfM4sUddF3eMrJB0ROouJrvYQ1cOnJDB1aE7UZ neoAGyl05gER9wD6MQCYBzI4Z+w2c/3BTuS93YNlewPdnYa7rIvetzkdQUVW0PrZtD5E 5QAyMxJDOJqrhFnApi/5fAbbSIlYRGCbrx5lbnzBvAmi+obh87Nu0dPiush9RBKEPdSj PWe8686HFvtLts5dlAO6WOEc9TYuPZqIXalS44leg8BWzLi83B3Y0AvAF0P6BDxwLzr3 XJBGhxR/qkFeZB7YwmgU0QEF0nsyuJ571whzx8dVQh7i/YAErQOUqYkShNQ2najcynbi 8DsQ== X-Gm-Message-State: AOPr4FXFrL1MXByvWvEZ18e7vgvxuG/sintXYI22PUJ6/sokwPDqIZJIffl13AD1zurrlWvX6uGbe+0ezEjWnQ== MIME-Version: 1.0 X-Received: by 10.28.4.149 with SMTP id 143mr197045wme.44.1462913286903; Tue, 10 May 2016 13:48:06 -0700 (PDT) Received: by 10.194.94.163 with HTTP; Tue, 10 May 2016 13:48:06 -0700 (PDT) X-Originating-IP: [77.11.25.174] In-Reply-To: References: Date: Tue, 10 May 2016 22:48:06 +0200 Message-ID: To: Dmitry Stogov Cc: internals Content-Type: multipart/alternative; boundary=001a1141d294cdb8200532830a96 Subject: Re: [PHP-DEV] [RFC] [VOTE] PHP Attributes From: kontakt@beberlei.de (Benjamin Eberlei) --001a1141d294cdb8200532830a96 Content-Type: text/plain; charset=UTF-8 On Tue, May 10, 2016 at 8:29 PM, Dmitry Stogov wrote: > Hi internals, > > > I've started voting on "PHP Attributes" RFC. > > > https://wiki.php.net/rfc/attributes > > > In my opinion, "PHP Attributes" might be a smart tool for PHP extension, > but it's not going to be the end of the world, if we decided to live with > doc-comments only. > one question, Rasmus Schultz post goes into the similar direction. Any reason why the annotations are only a numeric list and not key value pairs? Key-Value would be much more powerful and address a ton of objections for us (Doctrine). In the current state it is pretty limited for more complex use-cases. I don't want to fully embrace the complexities that Larry showed for Drupal (in my opinion, too much annotations), but without key value pairs we could only use this when we nested JSON into the attribute value strings for example, not something I want to mix. > > > Thanks. Dmitry. > --001a1141d294cdb8200532830a96--