str::lines($string)

Returns an array with all lines in a string

  • $string (string)
  • return (array)