Re: - "attributes" rather than "annotations"

From: Date: Wed, 09 Jan 2013 16:42:54 +0000
Subject: Re: - "attributes" rather than "annotations"
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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


Thread (31 messages)

« previous php.internals (#64761) next »