0 votes
218 views
in PHP by (98.9k points)
edited

 What is the correct and the most two common way to start and finish a PHP block of code?

1 Answer

0 votes
by (98.9k points)
selected by
 
Best answer

The two most common ways to start and finish a PHP script are:

 <?php [   ---  PHP code---- ] ?> and <? [---  PHP code  ---] ?>

Related questions

0 votes
1 answer 1.2k views
0 votes
1 answer 139 views
0 votes
1 answer 104 views
asked Apr 9, 2022 in PHP by Doubtly (98.9k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...