Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


jrShowNotice Function Index jrArrayMerge
arrayFile

The arrayFile function is used for converting a file to an array.

  • return: Returns array, where each line of the file is a value in the array
array arrayFile (string $file, [string $char = 'null'], [bool $index = 'null'])
  • string $file: File to read into an array
  • string $char: Trim Character - if a character is given, then it will be used as the character in trim() for each line of the file.
  • bool $index: if set to TRUE, then a NUMERIC indexed array is returned, otherwise each line is also used as the index.
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network