> To make it a little cleaner I would prefer to do something like: > my_func( { > 'fname' => 'joe' > , 'lname'=>'coder' > , 'zip'=>'12345' > } ); > an not pollute the code with one-time vars Unless I'm misunderstanding what you are asking, you can do this: my_func( array( 'fname' => 'joe', 'lname'=>'coder', 'zip'=>'12345' )) { Chris
- [PHP] Anonymous Arrays Morgan Curley
- RE: [PHP] Anonymous Arrays Boget, Chris
- RE: [PHP] Anonymous Arrays Morgan Curley