https://github.com/blue32a-sandbox/php81
Learning PHP 8.1 new features
https://github.com/blue32a-sandbox/php81
Last synced: 3 months ago
JSON representation
Learning PHP 8.1 new features
- Host: GitHub
- URL: https://github.com/blue32a-sandbox/php81
- Owner: blue32a-sandbox
- Created: 2023-08-27T09:34:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-14T02:38:01.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T15:38:25.160Z (5 months ago)
- Language: PHP
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning PHP 8.1
https://www.php.net/releases/8.1/ja.php
[PHP 8.0.x から PHP 8.1.x への移行](https://www.php.net/manual/ja/migration81.php)
## 新機能
- [8進数の整数リテラルのプレフィックス指定](src/new-features/octal-literal-prefix.php)
- [文字列をキーとして持つ配列のアンパック](src/new-features/unpacking-string-keys.php)
- [引数を展開した後の名前付き引数](src/new-features/named-arg-after-unpack.php)
- [列挙型(Enum)](src/new-features/enum.php)
- [ファイバー(Fibers)](src/new-features/fibers.php)
- [第一級callableを生成する記法](src/new-features/first-class-callable-syntax.php)
- [交差型](src/new-features/intersection-types.php)
- [Never型](src/new-features/never-type.php)
- [初期化時のnew式の許可](src/new-features/new-in-initializer.php)
- [読み取り専用プロパティ](src/new-features/readonly-properties.php)
- [クラス定数のfinal指定](src/new-features/final-constants.php)## 新しく追加された関数
### コア
- [array_is_list](src/new-functions/core/array-is-list.php)
### 標準ライブラリ
- [fsync](src/new-functions/standard/fsync.php)
- [fdatasync](src/new-functions/standard/fdatasync.php)