Learn PHP: Complete Beginner's Guide, Full Course

Published: 28 July 2022
on channel: Mark Shust
14,210
424

This course is a complete beginner's guide to learn the syntax, variables, functions, classes, PHP OOP & more.

Track course progress & more by enrolling for free at https://m.academy/courses/php-101-beg...

This course was created and based on the newest version, PHP 8! Start working towards your lamp stack setup today with this PHP tutorial for beginners.

LINKS FROM THE VIDEO
=======================================
🐘 M.academy PHP 101 Course - https://m.academy/courses/php-101/
📚 M.academy Library - https://m.academy/library/
📖 The PHP 4 Bible - https://amzn.to/3vkWYvG
🐦 Follow Mark on Twitter -   / markshust  

SOCIAL
=======================================
🧑‍💼 LINKEDIN:   / markshust  
🐦 TWITTER:   / markshust  

TABLE OF CONTENTS
=======================================
0:00 Intro to the course

Project setup
01:56 Install PHP with Homebrew
06:24 Install a PHP IDE editor
08:25 Start the built-in PHP web server

PHP tags
11:05 Create a "Hello world!" PHP script
13:09 Closing tags, semicolons & line breaks in PHP
16:12 Alternate method of calling PHP language constructs
17:23 Write short echo tags in PHP

Variables & Constants
19:19 Create & name variables in PHP
21:47 PHP data type assignments
25:18 Type casting in PHP
27:27 Type juggling (coercion) in PHP
30:18 Concatenating strings in PHP
33:30 String interpolation & escaping in PHP
35:12 Create a constant in PHP to store a fixed value
39:56 Create a Boolean variable in PHP

Conditionals
43:28 Conditionally execute PHP code with an if statement
45:20 Write multiple conditions to execute alternate PHP code
48:49 Alternate PHP conditional statements syntax for view files
52:28 Refactor PHP control structures into ternaries
56:06 Use a PHP switch statement for advanced conditional logic
1:00:22 Use a match statement for advanced PHP data checks

Arrays & Loops
1:03:33 Create a list using a PHP array
1:04:47 Display the contents of an array with a foreach loop
1:06:47 Use an array key to determine current iteration
1:08:17 Create a key:value store within a PHP array
1:10:40 Create a nested or multi-dimensional array in PHP
1:13:18 Get the count of a PHP array
1:15:54 Display the contents of an array with a for loop
1:19:35 Continue or break out of a PHP loop

Functions
1:21:55 Purpose of a function in PHP
1:23:33 Create a function in PHP
1:25:27 Function & global scope in PHP
1:27:24 Calling functions with return values in PHP
1:31:01 Passing arguments to PHP functions
1:33:32 Defining function return & arguments types in PHP
1:35:55 Type coercion & strict data types in PHP
1:40:25 Including or requiring files in PHP

Classes
1:44:46 Create & instantiate a class in PHP
1:47:03 Run code on PHP class creation with a constructor
1:49:30 Create class properties in previous versions of PHP
1:52:20 Create promoted properties in PHP 8 classes
1:54:37 Retrieve public class properties with PHP's arrow syntax
1:56:24 Understanding scope in PHP classes
2:00:28 Refactoring functions into PHP classes
2:03:50 Defining & using PHP namespaces
2:08:13 Replace PHP require statements with the Composer class autoloader

#php #phptutorials #phpdeveloper #php8


Watch video Learn PHP: Complete Beginner's Guide, Full Course online without registration, duration hours minute second in high quality. This video was added by user Mark Shust 28 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 14,21 once and liked it 42 people.