fscanf

fscanf

(PHP 4 >= 4.0.1, PHP 5, PHP 7)

fscanfParses input from a file according to a format

Description

mixed fscanf ( resource $handle , string $format [, mixed &$... ] )

The function fscanf() is similar to sscanf(), but it takes its input from a file associated with handle and interprets the input according to the specified format, which is described in the documentation for 登录查看完整内容