PHP 5.4 New Features

1h 1m – Intermediate

In this course, author Drew Falkman shows how to install the latest version of PHP, the popular web application server, and reviews the performance enhancements and language improvements in the 5.4 release, including short array syntax, function arrays, and support for the $this reference to current objects in closures. The course also introduces traits, the mechanism for code reuse in single inheritance languages such as PHP.

Topics include:
Installing PHP 5.4 on Mac and Windows
Using the built-in web server
Monitoring upload progress
Using the high-precision timer
Using class member access on instantiation
Introducing horizontal reuse

Introduction – 12m 43s
Welcome – 47s
What you need to know – 40s
Using the exercise files – 43s
Installing PHP 5.4 on Windows – 5m 14s
Installing PHP 5.4 on Mac – 5m 19s

1. PHP 5.4 Additions – 11m 12s
Using the built-in web server – 6m 40s
Exploring performance enhancements – 1m 41s
Using the High Precision Timer – 2m 51s

2. PHP 5.4 Language Improvements – 28m 11s
Understanding array improvements – 5m 21s
Using closures and $this – 3m 30s
Accessing class members on instantiation – 2m 29s
Touring some new commands – 6m 18s
Introducing some changes and new features – 10m 33s

3. Using Traits – 9m 7s
Introducing Horizontal Reuse – 2m 53s
Using a Trait – 6m 14s

Conclusion – 44s
Goodbye – 44s

Facebook Comments