Date: 02/27/01
- Next message: Yury Faktorovich: "[PHP-DEV] Nasty bug in mod_mm.c"
- Previous message: roberth.edberg <email protected>: "[PHP-DEV] PHP 4.0 Bug #9456 Updated: dns.c"
- In reply to: James Moore: "[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming"
- Next in thread: James Moore: "[PHP-DEV] RE: [PHP-QA] ctype function (re?)naming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
<?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>
- Next message: Yury Faktorovich: "[PHP-DEV] Nasty bug in mod_mm.c"
- Previous message: roberth.edberg <email protected>: "[PHP-DEV] PHP 4.0 Bug #9456 Updated: dns.c"
- In reply to: James Moore: "[PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming"
- Next in thread: James Moore: "[PHP-DEV] RE: [PHP-QA] ctype function (re?)naming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

