egghead
Learn
Courses
Lessons
Articles
⌘K
Account
Course / Pro
A Complete Introduction to PHP
lorem ipsum
lorem ipsum
egghead
Learn
Courses
Lessons
Articles
⌘K
Sign in
1
Install PHP with Homebrew
4:25
2
Install a PHP IDE editor
1:58
3
Start the built-in PHP web server
2:36
4
Create a “Hello world!” PHP script
2:01
5
Closing tags, semicolons & line breaks in PHP
2:58
6
Alternate method of calling PHP language constructs
1:08
7
Write short echo tags in PHP
1:53
8
Create & name variables in PHP
2:25
9
PHP data type assignments
3:27
10
Type casting in PHP
2:05
11
Type juggling (coercion) in PHP
2:48
12
Concatenating strings in PHP
3:08
13
String interpolation & escaping in PHP
1:38
14
Create a constant in PHP to store a fixed value
4:40
15
Create a Boolean variable in PHP
3:28
16
Conditionally execute PHP code with an if statement
1:48
17
Write multiple conditions to execute alternate PHP code
3:24
18
Alternate PHP if statement syntax for view files
3:36
19
Refactor a PHP if else statement into a ternary
3:33
20
Use a PHP switch statement for advanced conditional logic
4:12
21
Use a match statement for advanced PHP data checks
3:07
22
Create a list using a PHP array
1:11
23
Display the contents of an array with a foreach loop
1:56
24
Use an array key to determine current iteration
1:26
25
Create a key/value store within a PHP array
2:19
26
Create a nested or multi-dimensional array in PHP
2:34
27
Get the count of a PHP array
2:32
28
Display the contents of an array with a for loop
3:38
29
Continue or break out of a PHP loop
2:18
30
Purpose of a function in PHP
1:34
31
Create a function in PHP
1:52
32
Function & global scope in PHP
1:53
33
Calling functions with return values in PHP
3:33
34
Passing arguments to PHP functions
2:28
35
Defining function return & argument types in PHP
2:19
36
Type coercion & strict data types in PHP
4:26
37
Including or requiring files in PHP
4:18
38
Create & instantiate a class in PHP
2:13
39
Run code on PHP class creation with a constructor
2:23
40
Create class properties in previous versions of PHP
2:47
41
Create promoted properties in PHP 8 classes
2:12
42
Retrieve public class properties with PHP’s arrow syntax
1:43
43
Understanding scope in PHP classes
4:01
44
Refactoring functions into PHP classes
3:18
45
Defining & using PHP namespaces
4:19
46
Replace PHP require statements with the Composer class autoloader
4:13