<?php
$str = 'Dummy text
some more text
and
Dummy text
some more text';
echo $result;
PD9waHAKCiRzdHIgPSAnRHVtbXkgdGV4dAoKc29tZSBtb3JlIHRleHQKCmFuZApEdW1teSB0ZXh0CgoKCgoKc29tZSBtb3JlIHRleHQnOwokcmVzdWx0ID0gcHJlZ19yZXBsYWNlKCd+KFxSezJ9KVxSK34nLCAnJDEnLCAkc3RyKTsKZWNobyAkcmVzdWx0Ow==