Parameters in PHP documentation, squared brackets?

后端 未结 2 782
盖世英雄少女心
盖世英雄少女心 2021-01-19 18:03

This function for example...

int preg_match_all ( string $pattern , string $subject [, array &$matches [, int $flags = PREG_PATTERN_ORDER [, int $offset          


        
2条回答
  •  臣服心动
    2021-01-19 18:17

    That is how the documentation for a function indicates arguments that are optional

提交回复
热议问题