print_r
symfony/var-dumper
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Prints human-readable information about a variable
print_r
(
mixed $value
,
bool $return
=
false
):
string
|
bool
)
EOTXT
;
$this
->
assertSame
(
sprintf
(
$expected
,
\PHP_INT_MAX
),
print_r
(
$clone
,
true
));
}
public function
testClone
()
Tests/Cloner/VarClonerTest.php
)
EOTXT
;
$this
->
assertStringMatchesFormat
(
$expected
,
print_r
(
$clone
,
true
));
}
public function
testLimits
()
Tests/Cloner/VarClonerTest.php
)
EOTXT
;
$this
->
assertStringMatchesFormat
(
$expected
,
print_r
(
$clone
,
true
));
}
public function
testJsonCast
()
Tests/Cloner/VarClonerTest.php
)
EOTXT
;
$this
->
assertStringMatchesFormat
(
$expected
,
print_r
(
$clone
,
true
));
}
Tests/Cloner/VarClonerTest.php
)
EOTXT
;
$this
->
assertStringMatchesFormat
(
$expected
,
print_r
(
$clone
,
true
));
}
Tests/Cloner/VarClonerTest.php
)
EOTXT
;
$this
->
assertStringMatchesFormat
(
$expected
,
print_r
(
$clone
,
true
));
}
}
Tests/Cloner/VarClonerTest.php