class fgets extends fgetc
{
public $examples = [
[
'data' =>
'first line
second line
third line
fourth line
fifth line',
'__count' => 2,
'handle' => '$handle',
],
[
'data' =>
'first line
second line
third line
fourth line
fifth line',
'__count' => 1,
'handle' => '$handle',
'length' => 11,
],
[
'data' =>
'first line
second line
third line
fourth line
fifth line',
'__count' => 5,
'handle' => '$handle',
],
];
public $synopsis = 'string fgets ( resource $handle [, int $length ] )';
}