Function __global->fscanf
Definitions
sources_custom/phpstub.php
- Parses input from a file according to a format.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $handle | resource | No | No | required parameter | N/A | N/A | File handle |
| $format | string | No | No | required parameter | N/A | N/A | Formatting string |
Returns
- Data (false: error)
- Type: ~array
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Parses input from a file according to a format.
*
* @param resource $handle File handle
* @param string $format Formatting string
* @return ~array Data (false: error)
*/
function fscanf($handle, string $format)
* Parses input from a file according to a format.
*
* @param resource $handle File handle
* @param string $format Formatting string
* @return ~array Data (false: error)
*/
function fscanf($handle, string $format)

