How do these arguments work? [, int $status_code= 500 ] ? |
Im not too clear how exactly these arguments are passed.
show_error('message' [, int $status_code= 500 ] ) Why isnt comma just after 'message'? And why square brackets? Oh and this one too show_404('page' [, 'log_error']) ---- first example it is an int $status_code and here its just 'log_error' -what is the difference? PS. I do apologize for my stupid questions. |
Messages In This Thread |
How do these arguments work? [, int $status_code= 500 ] ? - by lexxtoronto - 03-10-2015, 09:34 AM
RE: How do these arguments work? [, int $status_code= 500 ] ? - by frocco - 03-10-2015, 11:40 AM
RE: How do these arguments work? [, int $status_code= 500 ] ? - by lexxtoronto - 03-10-2015, 12:32 PM
RE: How do these arguments work? [, int $status_code= 500 ] ? - by Narf - 03-11-2015, 05:19 AM
RE: How do these arguments work? [, int $status_code= 500 ] ? - by lexxtoronto - 03-18-2015, 01:58 PM
RE: How do these arguments work? [, int $status_code= 500 ] ? - by CroNiX - 03-18-2015, 02:21 PM
|