タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

phpとRFCに関するrokujyouhitomaのブックマーク (1)

  • PHP: rfc:named_params

    Named arguments allow passing arguments to a function based on the parameter name, rather than the parameter position. This makes the meaning of the argument self-documenting, makes the arguments order-independent, and allows skipping default values arbitrarily. To give a simple example: // Using positional arguments: array_fill(0, 100, 50); // Using named arguments: array_fill(start_index: 0, num

    rokujyouhitoma
    rokujyouhitoma 2015/02/20
    ほほぅ。これは良い進化。
  • 1