reference site
Wednesday, 28 August 2013
PHP Functions optional parameters
In PHP, an optional parameter of a function can be defined by giving it a default value of null.
function some_function($optional=null) { }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment