Question PHP Programming Question About <?php and ?>

Status
Not open for further replies.

neounix

Customer
Hey!

I noticed in all your PHP you begin the (as we do) with:

PHP:
<?php

... but you don't end those files with:

PHP:
?>

.. as we normally do.

Is there any reason you omit the ending ?> that matches the beginning <?php in each PHP file?
 
It's not needed - unless you're actually printing HTML inline, PHP interprets the end of the file as ?> :)
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,173
Customer rating
5.00 star(s) 1 ratings
Top