2079 8

BIT301 ยท 2079 ยท 5 marks

How are comments written in PHP? Write a PHP program that will read your name and roll number and print the values. Label your program with appropriate comments.

How are comments written in PHP? Write a PHP program that will read your name and roll number and print the values. Label your program with appropriate comments. [5]

Web Technology IIChapter 1: PHP Fundamentals and SyntaxPHP comments and documentation

PHP accepts three forms of comment, inherited from the languages it grew out of. Two are single line and one spans several lines, and none of them are sent to the browser: the parser strips them before any output is produced. Form Syntax Extent --------- C++ style // text From the marker to the e...