Welcome Guest, Not a member yet? Register   Sign In
How do these arguments work? [, int $status_code= 500 ] ?
#6

(This post was last modified: 03-18-2015, 02:22 PM by CroNiX.)

Narf is correct. In docs, [] as a parameter denote an optional parameter (also why the comma is inside the [] because if you use the optional parameter, you need the comma to separate parameters).

This is how the official PHP docs (and most others) are written. Example: http://php.net/manual/en/function.html-e...decode.php
Reply


Messages In This Thread
RE: How do these arguments work? [, int $status_code= 500 ] ? - by CroNiX - 03-18-2015, 02:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB