Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64761 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51031 invoked from network); 9 Jan 2013 16:42:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2013 16:42:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.173 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.173 smtp173.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.173] ([67.192.241.173:35229] helo=smtp173.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/DF-02684-21E9DE05 for ; Wed, 09 Jan 2013 11:42:58 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp7.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 048F4258229; Wed, 9 Jan 2013 11:42:56 -0500 (EST) X-Virus-Scanned: OK Received: by smtp7.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id B8125258250; Wed, 9 Jan 2013 11:42:55 -0500 (EST) Message-ID: <50ED9E0E.4050100@sugarcrm.com> Date: Wed, 09 Jan 2013 08:42:54 -0800 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Clint Priest CC: PHP internals References: <50ED4C18.3090806@zerocue.com> <9f792e7e11c481c5f4c62ce69ae216b6@mohiva.com> <50ED707E.1070503@zerocue.com> In-Reply-To: <50ED707E.1070503@zerocue.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] - "attributes" rather than "annotations" From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > > class a { > [php:Param($s) = StringLength(4, ErrorMessage='Parameter $s length > cannnot exceed 4.', ErrorLevel=E_USER_ERROR)] > public function foo($s) { ... ] > } What this is supposed to do? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227