https://github.com/blue32a-sandbox/php83
Learning PHP 8.3
https://github.com/blue32a-sandbox/php83
Last synced: 3 months ago
JSON representation
Learning PHP 8.3
- Host: GitHub
- URL: https://github.com/blue32a-sandbox/php83
- Owner: blue32a-sandbox
- Created: 2023-11-24T09:36:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-01T03:21:18.000Z (over 1 year ago)
- Last Synced: 2025-01-19T15:38:18.938Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Learning PHP 8.3
[PHP 8.3.0 Release Announcement](https://www.php.net/releases/8.3/ja.php)
[PHP 8.2.x から PHP 8.3.x への移行](https://www.php.net/manual/ja/migration83.php)
## 新機能
- [クラス定数の型付け](./src/new-features/typed-class-constants.php)
- [クラス定数への動的なアクセス構文](./src/new-features/fetch-class-constant-dynamically-syntax.php)
- [Override アトリビュート](./src/new-features/override-attribute.php)
- 読み取り専用の修正
- [読み取り専用プロパティのディープクローン](./src/new-features/readonly-properties-can-be-reinitialized-during-cloning.php)
- [static変数の初期化](./src/new-features/static-variable-initializers.php)## 新しく追加された関数
- JSON
- [json_validate()](./src//new-functions/json-validate.php)
- MBString
- [mb_str_pad()](./src/new-functions/mb-str-pad.php)
- Random
- [Random\Randomizer::getBytesFromString()](./src/new-functions/random-randomizer-getbytesfromstring.php)
- [Random\Randomizer::getFloat()](./src/new-functions/random-randomizer-getfloat.php)## 下位互換性のない変更点
- PHPコア
- [空の配列に負のインデックスを割り当てる](./src/incompatible/negative-index-to-empty-array.php)
- 標準ライブラリ
- [range() 関数に対するさまざまな変更](./src/incompatible/range-function.php)## 推奨されなくなる機能
- マルチバイト文字列
- [mb_strimwidth() に負の $width を渡すこと](./src/deprecated/mb-strimwidth.php)