Functions.php or functions.fcn

3

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.

    
asked by anonymous 28.05.2015 / 22:42

1 answer

4

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     

28.05.2015 / 22:49