Hi!

But inside a namespace, you'll need to do the above checks since internals and user functions don't resolve under the same rules.

No, not really - just use:
$encoded = ::json_encode($raw);

It might be even possible to allow something like:
use ::json_encode;

to allow you to write just json_encode() instead, but this needs to be checked. ::json_encode just works.
--
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

Reply via email to