On 14 August 2013 11:01, Stas Malyshev <smalys...@sugarcrm.com> wrote: > Hi! > >>> https://wiki.php.net/rfc/const_scalar_expressions > > I like the idea, but absence of constant support makes this thing much > less useful, as you can't do things like: > > public $angle = M_PI/2; > > I think this is one of the reasons this idea was never implemented - > because without constant support you're limited to doing things that are > quite obvious and trivial.
Yeah, I'm generally +1 on the idea; constant support would be awesome though! -- Regards, Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php