function Global / data_set

data_set

data_set ( ) : mixed

Set an item on an array or object using dot notation.

Parameters

  • $target mixed
  • $key string|array
  • $value mixed
  • $overwrite bool