function YOU_MODULE_NAME_preprocess_views_view_field(&$vars) {
$view = $vars['view'];
$field = $vars['field'];
if ($view->name == 'name' && $view->current_display == 'display' && $field->field_alias == 'alias') {
$vars['output'] = str_replace(' ', '_', $vars['output']);
}
}
docker run --name my-conteiner -it my-image 'php -r "hello world" > /tmp/hello'
docker exec my-conteiner cat /tmp/hello
$hello = 'echo 123';
$text = shell_exec("php -r '{$hello}'");
echo $text;