Top

In PHP, each statement must end with ____

Share:
Q. In PHP, each statement must end with ______
  1.  . (dot)
  2.  ; (semicolon)
  3.  / (slash)
  4.  : (colon)
Answer: ; (Semicolon)

PHP

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.
PHP is a server scripting language and a powerful tool for making dynamic and interactive Web pages.
PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

PHP structure

<html>
<body>

<?php
echo "My first PHP script!";
?>
 

</body>
</html>
Each statement in PHP ends with ;(semicolon)

No comments