I know that a function name preceded by 2 underscores (__) has 'magical'
properties when declared in a class.  My question is, is it safe to declare
a function with 2 underscores before its name outside of a class?  For
example, if this is my whole script.

<?PHP
function __hello () {
    echo 'Hello world';
}

__hello;
?>

Is my function safe from having any wierd effects from the double
underscore?

Jim Dam
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to