<?php
$str = '<span><div id="some_id">this is the variable</div><div style="font-family:courier;">this variable</div></span>';
echo $str;
?>
PD9waHAKJHN0ciA9ICc8c3Bhbj48ZGl2IGlkPSJzb21lX2lkIj50aGlzIGlzIHRoZSB2YXJpYWJsZTwvZGl2PjxkaXYgc3R5bGU9ImZvbnQtZmFtaWx5OmNvdXJpZXI7Ij50aGlzIHZhcmlhYmxlPC9kaXY+PC9zcGFuPic7CiRzdHIgPSBwcmVnX3JlcGxhY2UoJy9cPFtcL117MCwxfWRpdlteXD5dKlw+L2knLCAnJywgJHN0cik7CmVjaG8gJHN0cjsKPz4=