Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78884 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35760 invoked from network); 12 Nov 2014 17:23:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2014 17:23:53 -0000 Authentication-Results: pb1.pair.com header.from=marcio.web2@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=marcio.web2@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: marcio.web2@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-la0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:60719] helo=mail-la0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/E0-30822-8A793645 for ; Wed, 12 Nov 2014 12:23:52 -0500 Received: by mail-la0-f48.google.com with SMTP id gq15so11602506lab.21 for ; Wed, 12 Nov 2014 09:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=QZfXCqBb9wZM+fn9ehs29j2M5EADLDXs4Se4AofuJQM=; b=oBYVee61Cv5/vrVxaJG3LIzNKZjLdspC3C5C/cy+b0ZsHzN6gRR/MN4VaJ5wpYGV3G I5t59ApwPEyLynoPYLsW8lyQckv9ua+pLSsE0WhwjDQKWnyu7L79pwV7GqP5ha9kxbwk 3J9LcZ7762jaJ93kwp3/FGVtkvEGE2fMTtVo6vQA7dhnhiuBhBmnvHCD1Eejpq1FFeD7 er0oGs1Q/yrR5HXUQd/8FvsLsXRsdb1Y1VK8RevRrMca/5ebzk+wrIIQ6pyMOFkSpErm LcR5KS47qFtlG9KufGPWC6VbjtWI5nFE0CNYiMU5GgutxjLf3bSoUk9y8Qgd11pIeIXK 4yfg== X-Received: by 10.112.130.132 with SMTP id oe4mr3613481lbb.82.1415813029221; Wed, 12 Nov 2014 09:23:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.145.138 with HTTP; Wed, 12 Nov 2014 09:23:27 -0800 (PST) Reply-To: marcio3w@gmail.com In-Reply-To: <54638904.20605@gmail.com> References: <5457AF2F.90808@php.net> <5457BDB7.8070701@garfieldtech.com> <54589A8D.3020607@sugarcrm.com> <1C3F4FA3-ABD5-4F6F-A898-F63AC1C723D5@ajf.me> <54591A76.8070302@sugarcrm.com> <967E30E5-71CB-40F8-9AE2-733D327DE197@ajf.me> <545945A5.2090204@sugarcrm.com> <54638904.20605@gmail.com> Date: Wed, 12 Nov 2014 14:23:27 -0300 Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Annotation PHP 7 From: marcio.web2@gmail.com (Marcio Almada) > One problem with using *just* array syntax, without any new keyword or symbols, > is that it is extremely close to being existing valid syntax. This may well cause problems in the parser, > and would certainly be confusing to users. Not sure how sacred is `$`, but it could be a good candidate for the annotation identifier since it denotes "something that carries a value": $['package.annotation' => ['name' => 'foo']]; class Foo { }