Skip to content

danie1net0-labs/php-8.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What's new in PHP 8.1

Some examples of what's new in PHP 8.1

  • Array unpacking
  • First class callables
  • Never type
  • Pure intersection types
  • Readonly properties
  • Use 'new' in constructors

Running examples

  1. Run the container:

    $ docker-compose up -d
    
  2. Run the script (inside the src directory):

    $ docker exec -it php81 php <script-name>.php 
    

About

Some examples of what's new in PHP 8.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages