PHP curl response returns some html page content only

[In this image after the curl_exec($ch4) the values are stored in the $result4 variable when the $result4 printing time its shows some content of the html content only(look at white box) remaining html content are not showing (!!! the remaining content is present but not showing)]

(https://i.stack.imgur.com/Al0Fq.jpg)

Finally how to get full content of html page in the $result4 variable??

Bcoz i needed some values from the html page during the extraction