$loadfunc
$loadfunc : callback
Callback used for alternate YAML loader, typically exported by a faster PHP extension. This function's first argument must accept a string with YAML content.
Horde YAML parser.
This class can be used to read a YAML file and convert its contents into a PHP array. The native PHP parser supports a limited subsection of the YAML spec, but if the syck extension is present, that will be used for parsing.
loadFile(string  $filename) : array
                Load a file containing YAML and parse it into a PHP array.
If the file cannot be opened, an exception is thrown. If the file is read but parsing fails, an empty array is returned.
| string | $filename | Filename to load  | 
                            
If $filename is invalid
If the file cannot be opened.
PHP array representation of YAML content