A Complete Introduction to PHP

0
Level

Advanced

Language

Access

Free

Certificate

Free

Learn the foundational blocks of PHP in this comprehensive course. From project setup to classes and namespaces, gain the skills needed to effectively write PHP. Discover how PHP has evolved and grown with a strong community backing. Install PHP, create scripts, work with variables and constants, use conditionals and loops, and explore functions and classes. With step-by-step instructions and practical examples, this course will equip you with the knowledge to excel in PHP development. Start your PHP journey today and unlock endless possibilities in web development.

Add your review

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

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

Project Setup; Tags; Variables and Constants; Conditionals; Arrays and Loops; Functions; Classes

Install PHP with Homebrew

Install a PHP IDE editor

Start the built-in PHP web server

Create a “Hello world!” PHP script

Closing tags, semicolons & line breaks in PHP

Alternate method of calling PHP language constructs

Write short echo tags in PHP

Create & name variables in PHP

PHP data type assignments

Type casting in PHP

Type juggling (coercion) in PHP

Concatenating strings in PHP

String interpolation & escaping in PHP

Create a constant in PHP to store a fixed value

Create a Boolean variable in PHP

Conditionally execute PHP code with an if statement

Write multiple conditions to execute alternate PHP code

Alternate PHP if statement syntax for view files

Refactor a PHP if else statement into a ternary

Use a PHP switch statement for advanced conditional logic

Use a match statement for advanced PHP data checks

Create a list using a PHP array

Display the contents of an array with a foreach loop

Use an array key to determine current iteration

Create a key/value store within a PHP array

Create a nested or multi-dimensional array in PHP

Get the count of a PHP array

Display the contents of an array with a for loop

Continue or break out of a PHP loop

Purpose of a function in PHP

Create a function in PHP

Function & global scope in PHP

Calling functions with return values in PHP

Passing arguments to PHP functions

Defining function return & argument types in PHP

Type coercion & strict data types in PHP

Including or requiring files in PHP

Create & instantiate a class in PHP

Run code on PHP class creation with a constructor

Create class properties in previous versions of PHP

Create promoted properties in PHP 8 classes

Retrieve public class properties with PHP’s arrow syntax

Understanding scope in PHP classes

Refactoring functions into PHP classes

Defining & using PHP namespaces

Replace PHP require statements with the Composer class autoloader

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “A Complete Introduction to PHP”

×

    Your Email (required)

    Report this page
    A Complete Introduction to PHP
    A Complete Introduction to PHP
    LiveTalent.org
    Logo
    LiveTalent.org
    Privacy Overview

    This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.