fwrite
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Binary-safe file write
Alias
fputs
fwrite
(
resource $stream
,
string $data
, ?
int $length
=
null
):
int
|
false
protected function
echoLine
(
string $line
,
int $depth
,
string $indentPad
)
{
if (-
1
!==
$depth
) {
fwrite
(
$this
->
outputStream
,
str_repeat
(
$indentPad
,
$depth
).
$line
.
"\n"
);
}
}
Dumper/AbstractDumper.php