Hi!
static $a = -'abc'; // 0
static $b = +'abc'; // abc
$c = +'abc'; // 0
}
We could get into trouble here. Imagine:
static $a = -'12.8';
This should be -12.8, but what if locale changes and . is no longer
decimal separator? Moreover, what if locale changes between compile and
runtime? We get entirely different code now.
Well, I don't know if it can be tossed in quickly at this time, but there ya
go since I think it's pretty basic! ;^)
I think it's not the feature that can be "tossed in quickly" - it can
have some obscure side effects, as I described in my later emails.
--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED] http://www.zend.com/
(408)253-8829 MSN: [EMAIL PROTECTED]
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php