(PHP 5 >= 5.1.0, PHP 7)
Construct a new file object.
public SplFileObject::__construct ( string $filename [, string $open_mode = "r" [, bool $use_include_path = false [, resource $context ]]] )
Construct a new file object.
Parameters:
filename
The file to read.
TipA URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details