View Single Post
  #59  
Old 11-30-2018, 05:36 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: X-Cart 4.7.10 released

The php syntax starts with

<?php

and it may or may not end with

?>

Php files can include only php code, only html code or mix both.
When there is only php code in the file the closing tag "?>" is not required.
The php interpreter starts processing the file when it sees the opening tag and will go to the end of file or until it hits the closing tag.

So if the file only has php code in it it is acceptable not to use the php closing tag.

https://secure.php.net/basic-syntax.phptags
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote