How PHP Comments Work, Comment in PHP, Multi-Line PHP Comment, Single Line PHP Comment, Codecademy

Channel:
Subscribers:
7,740
Published on ● Video Link: https://www.youtube.com/watch?v=cPkKkU4-ZNs



Category:
Tutorial
Duration: 2:59
191 views
2


In this PHP programming tutorial we take a look at How PHP Comments Work, and exactly how to Comment in PHP, this includes Multi-Line PHP comments and Single Line PHP comments. This is based on Codecademy's Learn PHP course. We are still in the Introduction to PHP section, and in this lesson, we go over PHP comments. We learn that in PHP programming, comments allow us to annotate what our code does, for ourselves and for other developers. We also are told that we can use comments to test code we do not want to delete yet. We do this by commenting on the code we do not want to use, and while our code is commented out, it will be ignored during the code's execution. Learning to comment is key in any programming language. Commenting code is a skill in and of itself and requires concise wording which a code block does. Doing this well is much sought-after skill in programming jobs and it is something that potential employees look for when hiring programmers and developers. Make sure to comment on your code regularly to reap the benefits. If you do not do this regularly, you will sooner or later realize the pain it is to write code and forget what it does. This is a PHP Commenting explanation that should be ingrained in you before moving on to the next PHP Lesson!




Other Videos By We Will Code


2022-04-12PHP Variable Reassignment Explained, How to Reassign a Variable in PHP, Codecademy's Learn PHP Guide
2022-04-11Learn Variable Parsing in PHP, How to Parse Variables in a String with PHP, Codecademy Learn PHP
2022-04-11Using Variables in PHP, How to Use a Variable in PHP, Output Variables in PHP, Codecademy Learn PHP
2022-04-10Creating Variables with PHP, Learning to Write PHP Variables, Understand Variables in PHP Codecademy
2022-04-10How Variables Work in PHP, Variables Explained in PHP, Codecademy's Learn PHP, Strings and Variables
2022-04-09How to Combine Strings in PHP, String Concatenation PHP, Learn to Concatenate Strings, Codecademy
2022-04-08Escape Sequences in PHP, How to Use PHP Escape Sequences, Escape Sequences Explained on Codecademy
2022-04-08What are Strings in PHP, How to Create PHP String, The String Data Type Explained, PHP on Codecademy
2022-04-08Review for Introduction to PHP on Codecademy's Learn PHP Course, Review Beginner PHP Concepts
2022-04-08Todo App, Create, Read, Update, Delete, What is CRUD in PHP, How CRUD Works in PHP, Codecademy PHP
2022-04-08How PHP Comments Work, Comment in PHP, Multi-Line PHP Comment, Single Line PHP Comment, Codecademy
2022-04-08How is PHP Executed, Writing a PHP Script File, Codecademy's Learn PHP, General Purpose Programming
2022-04-07How is PHP Used in HTML, Learn PHP, Codecademy, Build Dynamic Web Pages in PHP, The PHP Interpreter
2022-04-07The History of PHP, Learn PHP History, PHP History Explained for Beginners, Codecademy Learn PHP
2022-04-07Why Learn PHP, Introduction to PHP Programming Language, Codecademy Free Full PHP Programming Course
2022-04-05Node setTimeout Function JavaScript Promises Explained, Promises in JavaScript Explained, Codecademy
2022-04-04Learning how to use JavaScript Promises, Constructing a Promise Object, JavaScript Promise Example
2022-04-04Intro to JavaScript Promises, What is a Promise in JavaScript, Asynchronous Programming Codecademy
2022-04-04How to Import Modules in Node JS, Exporting Modules in Node JS, Use Modules with Require, Codecademy
2022-04-03Why Use Static Methods, Static VS Instance Methods JavaScript Walkthrough, JavaScript Static Methods
2022-04-01Add New Method to Child Class In JavaScript, Learn Intermediate JavaScript Inheritance V, Codecademy



Tags:
Coding
Learn PHP
PHP
Programming
Server-side
back-end
code tutorial
tutorials