Stefan Walk wrote:
Just a small suggestion - what do you all think of creating an array implicitely on function calls like db_connect('host' => $host, 'port' =>$port), or funcname($param1, $param2, 'foo' => 'bar'). Those parts would have to be on the very end of the argument list. Would eliminate the need for "a bit more to type". function definition would be like function funcname ($p1, $p2, $params = array());
I don't like the array. However, I do like the way you're specifying the parameter with 'host' and 'port'.
Perhaps something like: mysqli_connect('host' = $host, 'port' = $port); :) Bart -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php