Hi,
I see that some parameters passed into a function will have values set in them like so:
function getMemberData($id, $status='active', $since=NULL) {
...
}
I kind of don't understand why the variables $status and $since are assigned values. Could anyone tell me why this is a good practice? Also, what would happen if I called this function and actually passed in value of a timestamp for $since?
Thanks!
b