Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64700 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79311 invoked from network); 8 Jan 2013 20:29:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jan 2013 20:29:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=v.veselinov@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=v.veselinov@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.172 as permitted sender) X-PHP-List-Original-Sender: v.veselinov@gmail.com X-Host-Fingerprint: 209.85.216.172 mail-qc0-f172.google.com Received: from [209.85.216.172] ([209.85.216.172:56046] helo=mail-qc0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/42-16636-5A18CE05 for ; Tue, 08 Jan 2013 15:29:26 -0500 Received: by mail-qc0-f172.google.com with SMTP id b25so1072342qca.3 for ; Tue, 08 Jan 2013 12:29:23 -0800 (PST) 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:content-type; bh=7EJWxkikO8A7oyeVTkgw41/2k9DTHPKlE5BThPecLUs=; b=bQZ+QiEB/8IjaRK8ZgcbgrODSPtdcmZYiJSJDPe2/W875OUchFTGirJxicp/BU7uP4 BPiEGv3R7NY+dBLkTvVM2svftPEHmGStkqb2A42m0f9hNRjmLivkZHZV7ksrq0unQ+9o U+thGg1L33C6Jh6fS7Kxddn6/FVvBjwb6znUcUzU4esgXw1j/GFJQGM20kUqcW4lmVhM BRbRJ6JqAghsEjkA95rV99SRwEzTZy7yzYP4Viikbea4ET2qxKzYNKWjTOXe8HzJqjkV z6mRa7dH72Hpou6l3WyzKPDXLhZjQIWI0Rez/IIdIm3Dsg8UqSclJ9vGkKLq6zbdxtxP AXYg== MIME-Version: 1.0 Received: by 10.224.110.1 with SMTP id l1mr6141810qap.21.1357676963112; Tue, 08 Jan 2013 12:29:23 -0800 (PST) Received: by 10.49.103.129 with HTTP; Tue, 8 Jan 2013 12:29:22 -0800 (PST) In-Reply-To: References: <50EBDEEE.8070605@sugarcrm.com> <50EC6569.6030202@sugarcrm.com> Date: Tue, 8 Jan 2013 22:29:22 +0200 Message-ID: To: Pierre Joye Cc: PHP internals Content-Type: multipart/alternative; boundary=20cf3074d5601b27c304d2cccd87 Subject: Re: Reflection annotations reader From: v.veselinov@gmail.com (Vladislav Veselinov) --20cf3074d5601b27c304d2cccd87 Content-Type: text/plain; charset=ISO-8859-1 Exactly. Annotations just don't belong there. Short syntax for arrays got shut a few times but it finally made it to core. I hope native support will be revisited at some point. On Tuesday, January 8, 2013, Pierre Joye wrote: > hi Stas, > > On Tue, Jan 8, 2013 at 7:28 PM, Stas Malyshev > > wrote: > > Hi! > > > >> I agree, there is a need in this functionality, but all those userland > >> implementations were at the first place made because this > >> functionality was not part of the language. I think docblocks is not > >> the solution, doc blocks are just comments, and I would expect any > >> code to work the same way if I remove my comments. > > > > So you never used PHPUnit and never will in the future, right? Maybe so, > > but thousands of other people do, and have no problem with directives in > > the comments. I think it is time to lay this red herring to rest - > > nobody who had any encounter with any of the most popular PHP tools > > really expects it. > > > Everyone I talked to who implemented annotations in docblocks did it > as hack because there is no native support. This is not something that > belongs to docblocks. It would be nice if you could take a look at the > c# doc, there are really good concepts there. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --20cf3074d5601b27c304d2cccd87--