/* PASTE YOUR PROVIDED EDUHUB CSS HERE */
PHP COURSE • LESSON 04

PHP Comments

Comments are used to explain code. PHP ignores comments when executing.

Single Line Comments

PHP Code


<?php

// This is a comment

echo "PHP";

?>


Multi Line Comments

PHP Code


<?php

/*
This is
a multi line
comment
*/

echo "PHP";

?>