Hi Bishop,

On Sat, Jan 2, 2016 at 6:47 AM, Bishop Bettini <bis...@php.net> wrote:
>
> RFC: https://wiki.php.net/rfc/on_demand_name_mangling

I like the idea overall.
mangle_superglobals()/name() could be php_mangle_super_global()/name()

 - "php_" prefix for being explicit it's for PHP, especially mangle_name().
 - "super_global" rather than "superglobal" to obey CODING_STANDARD.

BTW, you seems to have mistake in phpt sample.

mangle_superglobals();
print_r(get_defined_vars());

This print_r() should print mangled names, but it's not.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

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

Reply via email to