<div class="denta">
' . readfile($_SERVER["DOCUMENT_ROOT"] . '/' . preg_replace('/https?:\/\/.*?\/(.*)/', '$1',
get_field('popular', $post->ID))) . '
</div>
$varA = implode([
'<div class="denta">',
readfile(
$_SERVER["DOCUMENT_ROOT"] . '/' . preg_replace(
'/https?:\/\/.*?\/(.*)/',
'$1',
get_field('popular', $post->ID)
)
),
'</div>'
]);