Course Code: php8
Duration: 14 hours
Prerequisites:
  • PHP programming experience

Audience

  • Developers
Overview:

PHP 8 introduces new and enhanced features for building high-performance web applications. It includes JIT compiler, named arguments, constructor property promotion, union types, and other improved functions.

This instructor-led, live training (online or onsite) is aimed at developers who wish to use PHP 8 to develop, build, and test complex enterprise-level web applications such as e-commerce sites, CRM systems, WMS, etc.

By the end of this training, participants will be able to:

  • Set up the necessary development environment to start developing web applications with PHP 8.
  • Learn more about the new features in PHP 8 and how to implement them.
  • Get a refresher of the PHP basics and some programming tips.
  • Use the new functions in PHP 8 to improve the performance of web applications.
  • Know the best practices on enhancing the security and stability of web applications with PHP 8. 

Format of the Course

  • Interactive lecture and discussion.
  • Lots of exercises and practice.
  • Hands-on implementation in a live-lab environment.

Course Customization Options

  • To request a customized training for this course, please contact us to arrange.
Course Outline:

Introduction

  • What's new in PHP 8?
  • PHP programming tips and refreshers

Getting Started

  • Setting up the server environment
  • Installing PHP 8
  • Configuring the database

Implementing Attributes

  • Attribute syntax and namespaces
  • Using Reflection API
  • Declaring attribute classes

Constructor Property Promotion

  • Constructor arguments
  • Declaring class properties
  • Coding style considerations

Using Match Expression

  • Structure and usage
  • Match vs switch
  • Handling non-identity checks

Named Arguments

  • Defining function parameters
  • Parameters vs arguments
  • Union types
  • PHP 8 named arguments

PHP JIT Compiler

  • Enabling OPCache
  • Configuring JIT compiler

Security Best Practices in PHP 8

  • Session, filesystem, database security
  • Error reporting and data handling

Troubleshooting

Summary and Next Steps

Sites Published:

United Arab Emirates - PHP 8 for Developers

Qatar - PHP 8 for Developers

Egypt - PHP 8 for Developers

Saudi Arabia - PHP 8 for Developers

South Africa - PHP 8 for Developers

Brasil - PHP 8 for Developers

Canada - PHP 8 for Developers

中国 - PHP 8 for Developers

香港 - PHP 8 for Developers

澳門 - PHP 8 for Developers

台灣 - PHP 8 for Developers

USA - PHP 8 for Developers

Österreich - PHP 8 for Developers

Schweiz - PHP 8 for Developers

Deutschland - PHP 8 for Developers

Czech Republic - PHP 8 for Developers

Denmark - PHP 8 for Developers

Estonia - PHP 8 for Developers

Finland - PHP 8 for Developers

Greece - PHP 8 for Developers

Magyarország - PHP 8 for Developers

Ireland - PHP 8 for Developers

Luxembourg - PHP 8 for Developers

Latvia - PHP 8 for Developers

España - PHP 8 for Developers

Italia - PHP 8 for Developers

Lithuania - PHP 8 for Developers

Nederland - PHP 8 for Developers

Norway - PHP 8 for Developers

Portugal - PHP 8 for Developers

România - PHP 8 for Developers

Sverige - PHP 8 for Developers

Türkiye - PHP 8 for Developers

Malta - PHP 8 for Developers

Belgique - PHP 8 for Developers

France - PHP 8 for Developers

日本 - PHP 8 for Developers

Australia - PHP 8 for Developers

Malaysia - PHP 8 for Developers

New Zealand - PHP 8 for Developers

Philippines - PHP 8 for Developers

Singapore - PHP 8 for Developers

Thailand - PHP 8 for Developers

Vietnam - PHP 8 for Developers

India - PHP 8 for Developers

Argentina - PHP 8 for Developers

Chile - PHP 8 for Developers

Costa Rica - PHP 8 for Developers

Ecuador - PHP 8 for Developers

Guatemala - PHP 8 for Developers

Colombia - PHP 8 for Developers

México - PHP 8 for Developers

Panama - PHP 8 for Developers

Peru - PHP 8 for Developers

Uruguay - PHP 8 for Developers

Venezuela - PHP 8 for Developers

Polska - PHP 8 for Developers

United Kingdom - PHP 8 for Developers

South Korea - PHP 8 for Developers

Pakistan - PHP 8 for Developers

Sri Lanka - PHP 8 for Developers

Bulgaria - PHP 8 for Developers

Bolivia - PHP 8 for Developers

Indonesia - PHP 8 for Developers

Kazakhstan - PHP 8 for Developers

Moldova - PHP 8 for Developers

Morocco - PHP 8 for Developers

Tunisia - PHP 8 for Developers

Kuwait - PHP 8 for Developers

Oman - PHP 8 for Developers

Slovakia - PHP 8 for Developers

Kenya - PHP 8 for Developers

Nigeria - PHP 8 for Developers

Botswana - PHP 8 for Developers

Slovenia - PHP 8 for Developers

Croatia - PHP 8 for Developers

Serbia - PHP 8 for Developers

Bhutan - PHP 8 for Developers

Nepal - PHP 8 for Developers

Uzbekistan - PHP 8 for Developers