illustration for A Complete Introduction to PHP
pro

A Complete Introduction to PHP

Instructor

Mark Shust
2h 7m closed-captioning
46 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.8
11
people completed
Published 2 months ago
|
Updated 2 months ago

Even as of 2022, PHP continues to drive a significant portion of the web. Node is currently what's popular, and before that Ruby was the big thing, but during it all PHP never died.

And not only has PHP never died, it has aged like a fine bottle of wine; continuing to evolve and grow with a strong community backing it.

In this course, you'll be learning the foundational blocks that make up PHP

  • Project setup and structure
  • Variables and constants
  • Features and gotchas of the type system
  • Advanced conditional logic
  • Data structures
  • Loops and other control flows
  • Functions and scope
  • Object oriented programming with classes

Once you finish this course you'll have all the skills you'll need to effectively write PHP!

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I liked how simple it is to understand. Even as an experienced PHP developer I picked up a couple of extra skills!

    Learner
    6 days ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    I like the short videos and while the course seems to be addressed to beginners I still learned a few new things. Thanks for the awesome course.

    dpointeck
    a month ago
Mark Shust's avatar

Meet the Instructor

Hi, I'm Mark Shust

I have over 20 years of web development experience, and has been working with PHP for about as long. Soon after starting development, I became extremely interested and involved in open source programming, diving into various PHP frameworks over the years including OSCommerce, Drupal, and Laravel.

I'm excited to bring you a comprehensive introduction course on PHP, and I hope you enjoy it!

Project Setup

Before you can get started with PHP, you will need to install it, set up an IDE, and get your server running.

Tags

Tags are a fundamental syntax in PHP. In this module you'll learn how to open and close them, the importance of ending your statements with a semicolon, and even a short-hand for the commonly used "echo" tag.

Variables and Constants

Here, you will be learning how to create variables and constants, as well as learning the basics of PHP's type system. Like JavaScript, PHP features type coercion, which can be frustrating for new-to-PHP developers. But, we will exploring this so you can learn how to avoid some common mistakes

Conditionals

In this module, you will learn how to use conditionals to control the flow of your code. We will be covering a couple of ways to use if/else, switch statements, and PHP's match statement

Functions

Grouping your code into functions is a great way to keep your code organized and reusable. In this module, you will learn how to create and use functions, how the type system applies here, how scope works, and how to use functions in other files with include/require

Classes

Classes are the core of object-oriented programming in PHP. In this module, you will learn how to create classes, refactor functions into classes, and even replace all of your require statements with the Composer class autoloader.