Hi!
[ExpectedException("InvalidArgumentException")]
[ExpectedException("InvalidArgumentException", "Expected message", 40")]
[Validation(array("type" => "EMail", "options" => array("checkMX" =>
true))]
This doesn't look like PHP code. In PHP code, nether [] by itself, nor
[ClassName('string')] mean anything. It's new sytnax.
new ExpectedException("InvlaidArgumentException")
new Validation(array("type" => "EMail", "options" => array("checkMX" =>
true))
This one is not very clear either - when is this "new" executed? What it
is being assigned to? What you can and can't use there? It's all new
concepts - which I'm not sure worth introducing.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php