static function vdfFormListVideos($videos, $paramsUrl, $imported){
echo self::vdfGetPagination($paramsUrl)['html']; ?> - БРАУЗЕР УКАЗЫВАЕТ НА ЭТУ СТРОЧКУ
< form method="post">
As of PHP 5.4 it is possible to array dereference the result of a function or method call directly. Before it was only possible using a temporary variable.
As of PHP 5.5 it is possible to array dereference an array literal.
$pagination = self::vdfGetPagination($paramsUrl);
echo $pagination['html'];
<?php
$getPagination = self::vdfGetPagination($paramsUrl);
$pagination = ts_enc_string(serialize($func['paramsUrl']));
?>
<input type="hidden" value="<?= $pagination['html'] ?>" name="ts-params-url">