
rudie dirkx - 2010-10-27 16:29:36
What's up with this:
$arg_list = func_get_args();
$table_name = $arg_list[0];
$field = $arg_list[1];
$where = $arg_list[2];
They invented named arguments for that. Also, like this there's no control over the number of arguments. You could call the function like:
$obj->method();
and it would result in three notices (indices 0 - 2).
Any reason?