IsaiahPacheco
11/10/2014 - 4:25 PM

heredoc-function.php

<?php

$cb = function ($fn) {
    return $fn;
};

echo <<<HEREDOC
Hello, {$cb(ucfirst('world'))}
HEREDOC;