Is it fine with PHP to assign NULL here?

Alitaba

New Member
Example:\[code\]public function prepare($sql, &$p = NULL) {\[/code\]p is assigned by reference. I'm not sure if I can assign safely NULL here as default. Is that ok in this case?
 
Back
Top