# PHP 8.3 릴리즈

> Clean Markdown view of GeekNews topic #12051. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=12051](https://news.hada.io/topic?id=12051)
- GeekNews Markdown: [https://news.hada.io/topic/12051.md](https://news.hada.io/topic/12051.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2023-11-27T10:21:01+09:00
- Updated: 2023-11-27T10:21:01+09:00
- Original source: [php.net](https://www.php.net/releases/8.3/en.php)
- Points: 2
- Comments: 3

## Topic Body

- Class Constant에 Type 지원 : void, callable, never를 제외한 PHP의 모든 타입 가능  
- Class Constant의 동적 Fetch : `Foo::{$searchableConstant}` 형태로 이름으로 조회   
- 새로운 `#[\Override]` 속성 : 메소드에 추가하면 부모 클래스나 구현된 인터페이스에 같은 이름의 메서드가 있는지 확인  
- readonly 속성의 Deep-Cloning : `__clone` 메소드를 통해서 readonly 속성도 한번 변경 가능   
- 새로운 `json_validate()` 함수 : json_decode()보다 더 효율적으로 문자열이 유효한 JSON인지 확인 가능   
- 새로운 `Randomizer::getBytesFromString()` 메소드 : PHP 8.2에 추가된 Random 확장에 특정 바이트로만 구성된 임의의 문자열을 생성하는 기능을 추가   
- 새 `Randomizer::getFloat()` `Randomizer::nextFloat()` 메소드   
- 커맨드라인 린터가 여러개의 파일 입력을 지원   
- 새로운 클래스, 인터페이스, 함수들 추가 : `mb_str_pad()`, `str_increment()`, `str_decrement()` 등

## Comments



### Comment 20930

- Author: hided62
- Created: 2023-11-27T11:51:34+09:00
- Points: 1

Type을 이렇게 다룬다면 언젠가는 type alias가 추가되어야 할텐데, 과연 어떻게 처리할까 모르겠네요.

### Comment 20926

- Author: zihado
- Created: 2023-11-27T10:58:37+09:00
- Points: 1

php붐은 온다…

### Comment 21053

- Author: roxie
- Created: 2023-12-03T11:03:48+09:00
- Points: 1
- Parent comment: 20926
- Depth: 1

선생님,,,
