Hi, just my 2 cents:
Rinat approach is correct. But if you don’t want to get any kind of issues, you have to assign a variable with your shortcodes. Example:
<?php
$fu = '[fu-upload-form class="validate" form_layout="post_image" post_type="post_image" title=""]'.PHP_EOL;
$fu .= '[input type="text" name="post_title" id="ug_post_title" class="required" description="Post Title"]'.PHP_EOL;
$fu .= '[input type="file" name="photo" id="ug_photo" class="required" description="" multiple="true"]'.PHP_EOL;
$fu .= '[input type="text" name="name" id="ug_name" description="Customer Name"]'.PHP_EOL;
$fu .= '[input type="text" name="email" id="ug_email" description="Customer Email"]'.PHP_EOL;
$fu .= '[input type="submit" class="btn" value="Send Files"]'.PHP_EOL;
$fu .= '[/fu-upload-form]';
echo do_shortcode($fu);
?>
Cheers,