str_getcsv

str_getcsv( string $input,  string $delimiter = ',',  string $enclosure = '"',  string $escape = '\' )

Input a text filename of a comma seperated file, and parse it, returning the data as an array


Description #


Parameters #

$input

(string) (Required) filename

$delimiter

(string) (Optional)

Default value: ','

$enclosure

(string) (Optional)

Default value: '"'

$escape

(string) (Optional)

Default value: '\'


Return #

(array) Array of strings that are parsed as comma seperated values


Source #

File: includes/class-ld-semper-fi-module.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.