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.
-- 
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

Reply via email to