Nuno Lopes wrote:
> My proposal is the following:
> some functions when fed with constant arguments always return a constant > value, too. e.g.:
> strlen('abcd') === 4.

wouldn't that be called "deterministic" and not "const"?

yeah, exactly. I was missing the correct wording. (btw, appart of being deterministic, the function shouldn't have any side-effect). Nuno
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to