Funnily enough, there's a dedicated page in the PHP manual on how to read a function definition. So, quoting the mentioned page:
All optional parameters are seen in [ brackets ].
Also, manual's "About the manual" is an interesting read, if you are into that.