Thank you so much ! This regexp works like a charm :)
I was looking at the wrong way, I thought it was the template engine who minified the results. Actualy, it is the last line of the entry file : /public/index.php
/**
* Handle the request
*/
$application = new \Phalcon\Mvc\Application($di);
// echo str_replace(["\n","\r","\t"], '', $application->handle()->getContent());
echo preg_replace(['#(?ix)(?>[^\S ]\s*|\s{2,})(?=(?:(?:[^<]++|<(?!/?(?:textarea|pre|script)\b))*+)(?:<(?>textarea|pre|script)\b|\z))#',
'#>\s+<#'],
[' ', '><'],
$application->handle()->getContent()
);
You can also not minimize the html result :
/**
* Handle the request
*/
$application = new \Phalcon\Mvc\Application($di);
echo $application->handle()->getContent();
Thanks again ! Grizour.