faqts : Computers : Programming : Languages : PHP : kms : Functions

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 11 people (64%) answered Yes
Recently 5 of 8 people (63%) answered Yes

Entry

What do the square brackets around function arguments in the manual mean?

Jul 8th, 1999 20:31
Nathan Wallace, Rasmus Lerdorf


The square brackets in the function prototype description just tells you
that the argument the brackets are around is an optional argument.