Hi!

> For example, allow `\count()`, `\strlen()`, `\array_merge()`, and 
> `\in_array()`,
> but don't allow functions such as
> `\strtolower()` (different in Turkish locale),

What happens if a function like strlen() is applied to a non-string
argument? Conversion to string is certainly runtime-dependent even for
primitive types like floats.

> allow calls to all global functions

Not sure I understand here - when these calls will be happening? And if
you need a value that depends on runtime calculation, what's wrong with
using define()?

-- 
Stas Malyshev
smalys...@gmail.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to