Functions still execure when arguments are omitted

From: Date: Tue, 27 Feb 2001 17:53:42 +0000
Subject: Functions still execure when arguments are omitted
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-47633@lists.php.net to get a copy of this message
<?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

« previous php.dev (#47633) next »