Is there any way to put a do{} inside a variable?
Like:

PHP Code:
$x = do {echo "something";} while ($y==1); 
i know that doesn't work, but is there any way to make it work?

PHP Code:
<?php
   
function cwinsfunc($arg) {
   
//This is where there is some code
   
$x 1;
   return <<<EOF
      This is a load of HTML<br>
      PHP will only replace variables, nothing else<br>
      echo ("hi") will return echo ("hi")<br>
      
$x will return 1<br>
      <b>Bold Text</b><br>
      <br>
      So obviously i cant put a do in here
   EOF;
}
echo cwinsfunc("arg")
?>