Posted: Wed Jun 20, 2007 2:46 am
Yeah. That's perfectly valid syntax in PHP.superdezign wrote:I could have sworn I've seen this done before...astions wrote:Code: Select all
function some_function($a = array()) { }
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Yeah. That's perfectly valid syntax in PHP.superdezign wrote:I could have sworn I've seen this done before...astions wrote:Code: Select all
function some_function($a = array()) { }
Code: Select all
function foo(
$a = array('bar' => array('baz'))
) {