Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92748 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77120 invoked from network); 25 Apr 2016 18:32:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2016 18:32:43 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.51 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.51 mail-pa0-f51.google.com Received: from [209.85.220.51] ([209.85.220.51:35021] helo=mail-pa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/D1-02401-AC26E175 for ; Mon, 25 Apr 2016 14:32:42 -0400 Received: by mail-pa0-f51.google.com with SMTP id iv1so18519265pac.2 for ; Mon, 25 Apr 2016 11:32:42 -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=aVIqVoqXz30p2WJ9oZVLRSAb42uXqPcwPjTyAnJ/bxA=; b=emVJR4Blx8y5WI7OKum7Pm2UNl1/blhnNHUW6erF2tdcSGGYf8fSzrt7fpOHJOUG03 BphkTdhzlLNdR6xlzgk9VG+HpbjE3+Nj6wx439nYnOvu2qMXoYa7mb+YasZxJqZApJH9 v/3Q2Q9PslvHrf2Bjv722eYhSAukzVJmn++WhDju+V2m7pAwqTkivPUKqyNdOGQEwtmw yAUkBfe+3S/iiRsByCeh1cGyBB4dooy16qDWgraOBxVMiFYnHmOkMqJO8oHLWuefgHIr GRrDKVvLPBEgWKd5Kxz9b1599PEinBSgUhmyu/UqaVqlQr4RjfXplVggnQ9zColtKwLe RrpQ== 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=aVIqVoqXz30p2WJ9oZVLRSAb42uXqPcwPjTyAnJ/bxA=; b=fPoOV8pdlWt/X9av1/y/teXxRfm7bgaXUYsrlLRCz9uMaJRWgiIH07L6st243C/mF8 y3tZKhVR5B/fFGAUqGyQSvd7VvWSMhUwNLR9UU5piAiwZlNwYWAwOEw++FJID/bzCv6F 6Sj1TXtIZ6guCSIY4QjHS5lr+BqqoSxx1hzXXbHrGJOB/svKnouWI115PG5Tf8s2orSk qCFxaUQxvwitkv+Es2Vd7X2eeFvv5nyZbEzw0biEHQNTLTVUMnZNfK5pWMTLA8o44EmN ZmcUs4gdSHjwIiLjEwg6KV88anIl2/tesnhW9Ulycyj0ZfyMG15KYRgBt2Nq1yy9jBxO hxWA== X-Gm-Message-State: AOPr4FWt4Flh+hsecvV1vhKiKe+5BMoTof4Ctza4+PYVOnCAlTHD9ad4gRrVtjzuP+uqFw== X-Received: by 10.66.67.11 with SMTP id j11mr51081591pat.45.1461609159820; Mon, 25 Apr 2016 11:32:39 -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 o80sm8912089pfa.37.2016.04.25.11.32.37 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Apr 2016 11:32:38 -0700 (PDT) To: Dmitry Stogov , internals@lists.php.net References: <571BA0F0.2030400@fleshgrinder.com> <571C82A7.2060706@fleshgrinder.com> <571CB44C.1000704@fleshgrinder.com> <571CBD1E.7020103@fleshgrinder.com> <571DD2A3.2020106@zend.com> Message-ID: <571E62C0.7000005@gmail.com> Date: Mon, 25 Apr 2016 11:32:32 -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: <571DD2A3.2020106@zend.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! > The proposed by you "@..." syntax just won't fit into PHP grammar, > because @ used as silence operator. Not sure why it is a problem more than << and >> being shift operators. Since you said it can't be applied to anonymous functions/classes anyway, parser with the help of AST should be able to figure out which one is meant - I don't see a case where it's ambiguous. > Attribute, syntax is taken from HHVM. I don't see a big reason to > introduce more fragmentation into PHP world. I don't think this is a good argument. It effectively means we now give our language design to Facebook Hack team - whatever they do in Hack, we then must follow, since otherwise it would be "more fragmentation". I don't think it is a good position on our side. -- Stas Malyshev smalyshev@gmail.com