[PHP-DEV] Functions still execure when arguments are omitted From: Marten Gustafsson (marten <email protected>)
Date: 02/27/01

<?php
function my_func($a)
{
        echo 'a';
}

my_func();
?>

The above code snippet will result in "a" being printed, is there a reason
why functions execute even when arguments are omitted?

-Marten.
Icq# 38863127

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>