Join Kevin Skoglund for an in-depth discussion in this video Insert code comments, part of PHP Essential Training.
- [Instructor] In this movie,…we're going to learn how to insert code comments…into our PHP.…We don't want to become simply capable developers,…we want to become good developers.…And in order to do that,…we need to learn about code comments.…Something that's very important in any programming language.…You want to add comments to your code…so that you or someone else coming to look at the code later…can quickly understand…what your code is trying to accomplish…and understand the approach that you took.…Comments take additional time to write,…but they pay off and save you time later.…In PHP, there are a couple of ways we can write comments.…
We can make single-line comments by simply opening PHP tags…and then putting in slash slash followed by our comment.…Single line comments are like this.…Or, we could use a pound sign.…Or like this, but that is less common.…Mostly you're going to see people…using the slash slash in front of it,…and that's what I'll be using throughout this title.…Now, let's just save that document real quick,…
- What is PHP?
- Embedding PHP code on a page
- Inserting code comments
- Variables, strings, arrays, and Booleans
- If, else, and elseif statements
- While and for loops
- User-defined functions
- Function arguments and return values
- Debugging and troubleshooting
Skill Level Beginner
MVC Frameworks for Building PHP Web Applicationswith Drew Falkman2h 57m Intermediate
1. PHP Overview
2. First Steps
3. Explore Data Types
4. Control Structures: Logical Expressions
5. Control Structures: Loops
6. User-Defined Functions
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.