Magento1.x version we can use this
For Phtml File

<?php echo $this->getLayout()->createBlock(‘cms/block’)-&amp;gt;setBlockId(‘block_identifier’)-&amp;gt;toHtml(); ?>

Use Phtml In static block

{{block type=”core/template” template=”test/test.phtml”}}

Magento2.x
For Phtml File similarly to Magento 1

<?php echo $block-&amp;gt;getLayout()-&amp;gt;createBlock(‘Magento\Cms\Block\Block’)->setBlockId(‘block_identifier’)->toHtml();?>

Use Phtml In static block

{{block class=”Magento\\Cms\\Block\\Block” block_id=”block_identifier”}}