<?php

$var = "World!";
$code = <<<CODE
	echo "Hello $var";
CODE;

eval($code);