Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82003 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45416 invoked from network); 6 Feb 2015 04:00:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Feb 2015 04:00:34 -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.192.46 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.46 mail-qg0-f46.google.com Received: from [209.85.192.46] ([209.85.192.46:37717] helo=mail-qg0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/00-45146-06C34D45 for ; Thu, 05 Feb 2015 23:00:32 -0500 Received: by mail-qg0-f46.google.com with SMTP id j5so9498898qga.5 for ; Thu, 05 Feb 2015 20:00:29 -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=AhwTWTmOdphyB6uGbh2stIwyRNKyrMKRgzRd9wa/ifY=; b=fYalSfVF1EoI0PeUmG7S3bFvsSFEIO0MaOKpXZZkbHZFeRLVvQ5riRH/ywX7fQdCWh paislGCq3D8TuMMdcr9Nl2GU3yh4yBayjHhSfCJG4/iRWXo6AUS0j4h41CBIW9kSjtzg R4uJISLm9l0UZbqconDs/gRUid8EBhNQ1OJ+GBi4t2jOrnQCaSPDVqiftCQysxqxYMQn Oyc+IJYBKlXyFZu7KIplruiaZD0jkloPFKIg3LcBpSLil8Si0NA46Y1y+m3RzysH0UOe YB7LSyxePFxAq2eR+/UZ/IDuHwwdInyCGGLFGzZMbJrBOdOdZ0l88EEwd9QB7Dtq3rGI FwKQ== MIME-Version: 1.0 X-Received: by 10.140.39.84 with SMTP id u78mr3639682qgu.63.1423195228977; Thu, 05 Feb 2015 20:00:28 -0800 (PST) Received: by 10.96.3.168 with HTTP; Thu, 5 Feb 2015 20:00:28 -0800 (PST) In-Reply-To: References: <01d601d04146$6fbda4c0$4f38ee40$@tekwire.net> <020c01d0414b$2c3a1120$84ae3360$@tekwire.net> <022801d0415a$027e0620$077a1260$@tekwire.net> Date: Fri, 6 Feb 2015 11:00:28 +0700 Message-ID: To: Dmitry Stogov Cc: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= , Yasuo Ohgaki , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Design by Contract From: pierre.php@gmail.com (Pierre Joye) On Thu, Feb 5, 2015 at 11:36 PM, Dmitry Stogov wrote: > phpdoc is annotation as well, but to split it into specific attributes we > have to write specialized parsers. > Other languages support annotation or attributes that may be used more > easily. > > http://docs.hhvm.com/manual/en/hack.attributes.php Exactly, phpdoc is used as annotation (or comments with some similar syntax) but is definitively not aimed to be annotations. -- Pierre @pierrejoye | http://www.libgd.org