I learned to include a .fcn file
I would like to know if there is a difference between including a functions.php file and a functions.fcn.
I learned to include a .fcn file
I would like to know if there is a difference between including a functions.php file and a functions.fcn.
For PHP there is no difference, you can include a .php file , .html , .phtml , .fcn , , .class , .tpl , . What matters is if it is a text file .
If within this text file you have PHP tags <?php
, <?
, <?=?>
, <% %>
<%= %>
it will parse normally .
Warning: Some tags are no longer supported in version 7, such as ASP tags ( <% %>
, <%=
) tags short <?
and <?=
depends on the short_open_tag
setting of php.ini . Reference: Manual PHP EN