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.

function __hello () {
    echo 'Hello world';


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

Jim Dam

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

Reply via email to