Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64736 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2049 invoked from network); 9 Jan 2013 12:42:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2013 12:42:59 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:56789] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/86-02684-2D56DE05 for ; Wed, 09 Jan 2013 07:42:59 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id C752EDE13E; Wed, 9 Jan 2013 12:42:54 +0000 (GMT) Date: Wed, 9 Jan 2013 12:42:54 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Vladislav Veselinov cc: Pierrick Charron , Stas Malyshev , Rasmus Schultz , "internals@lists.php.net" In-Reply-To: Message-ID: References: <50EBDEEE.8070605@sugarcrm.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: derick@php.net (Derick Rethans) Please, no top posting!!! On Wed, 9 Jan 2013, Vladislav Veselinov wrote: > Taken from the Doctrine documentation: > > class User > { > //... > /** > * @ManyToMany(targetEntity="Group") > * @JoinTable(name="User_Group", > * joinColumns={@JoinColumn(name="User_id", referencedColumnName="id")}, > * inverseJoinColumns={@JoinColumn(name="Group_id", referencedColumnName="id")} > * ) > */ > private $groups; > //... > } > > Not that I'm a fan of it, but it provides a valid usecase. I'm sure > there are more. Maybe valid, but sticking this into core-syntax seems mental. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine