Can you please explain documentation syntax in functions. For example php function
int preg_match ( string $pattern , string $subject [, array &$matches [, int $flags = 0 [, int $offset = 0 ]]] )
So far i understand that in in round brackets goes function's parameters,also that square bracket means for array. But what does that mean [,
and why there are no comma after $subject?