Skip to content
taka512 edited this page Aug 23, 2022 · 6 revisions

phpについてあれこれ

PHP doc

文字列

/** @var string[] */

配列

/** @var array<string, string|int> */
  /**
   * Human constructor.
   *
   * @param array{
   *   name: string,
   *   age: int,
   *   address?: string
   * } $property
   *
   * @return DateTimeImmutable
   */
   */

Clone this wiki locally