본문 바로가기
← PHP 소식
PHP 8.2.2안정

PHP 8.2.2 변경 기록과 적용 점검

릴리스: 2023년 2월 2일

게시: 2026년 8월 6일

PHP 8.2.2 공식 변경 기록에서 구성요소와 CVE를 추출하고 사용 환경별 확인 순서를 제공합니다.

PHP 8.2.2 변경 사항

공식 php-src 태그의 NEWS에서 이 버전의 항목만 추출했습니다. 아래 구성요소와 확인 순서는 원문에 따라 자동 구성됩니다. 애플리케이션 호환성이나 취약점 영향 여부를 판정하지 않습니다.

변경된 구성요소

Core · FPM · Hash · LDAP · Opcache · Phar · PHPDBG · Posix · Random · Standard

원문에 명시된 CVE

이 NEWS 항목에 CVE 번호가 명시되어 있지 않습니다. 보안 문제가 없다는 의미는 아닙니다.

사용 환경별 확인 순서

  • php -vphp -m으로 실제 실행 버전과 확장 목록을 확인하고 아래 원문에서 사용 중인 구성요소의 변경을 찾으세요.
  • composer check-platform-reqs로 설치 환경의 요구사항을 확인하세요. 성공하더라도 동작 호환성까지 보장하지는 않습니다.
  • PHP-FPM을 사용한다면 스테이징에서 프로세스 재시작과 오류 로그를 확인하세요.
  • 배포 전 스테이징에서 애플리케이션 테스트를 실행하고, 배포 후 웹 프로세스와 큐 워커가 새 PHP를 사용하는지 확인하세요.

공식 변경 기록

02 Feb 2023, PHP 8.2.2

  • Core: . Fixed bug GH-10200 (zif_get_object_vars: Assertion !(((__ht)-&gt;u.flags &amp; (1&lt;&lt;2)) != 0)' failed). (nielsdos) . Fix GH-10251 (Assertion (flag & (1<<3)) == 0' failed). (nielsdos) . Fix GH-10240 (Assertion failure when adding more than 2**30 elements to an unpacked array). (Arnaud) . Fix GH-9735 (Fiber stack variables do not participate in cycle collector). (Arnaud) . Fix GH-9675 (Broken run_time_cache init for internal enum methods). (Petar Obradović, Bob)

  • FPM: . Fixed bug #77106 (Missing separator in FPM FastCGI errors). (Jakub Zelenka) . Fixed bug GH-9981 (FPM does not reset fastcgi.error_header). (Jakub Zelenka) . Fixed bug #68591 (Configuration test does not perform UID lookups). (Jakub Zelenka) . Fixed memory leak when running FPM config test. (Jakub Zelenka) . Fixed bug #67244 (Wrong owner:group for listening unix socket). (Jakub Zelenka)

  • Hash: . Handle exceptions from __toString in XXH3's initialization (nielsdos)

  • LDAP: . Fixed bug GH-10112 (LDAP\Connection::__construct() refers to ldap_create()). (cmb)

  • Opcache: . Fix inverted bailout value in zend_runtime_jit() (Max Kellermann). . Fix access to uninitialized variable in accel_preload(). (nielsdos) . Fix zend_jit_find_trace() crashes. (Max Kellermann) . Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit. (Max Kellermann)

  • Phar: . Fix wrong flags check for compression method in phar_object.c (nielsdos)

  • PHPDBG: . Fix undefined behaviour in phpdbg_load_module_or_extension(). (nielsdos) . Fix NULL pointer dereference in phpdbg_create_conditional_breal(). (nielsdos) . Fix GH-9710: phpdbg memory leaks by option "-h" (nielsdos) . Fix phpdbg segmentation fault in case of malformed input (nielsdos)

  • Posix: . Fix memory leak in posix_ttyname() (girgias)

  • Random: . Fixed bug GH-10247 (Theoretical file descriptor leak for /dev/urandom). (timwolla)

  • Standard: . Fix GH-10187 (Segfault in stripslashes() with arm64). (nielsdos) . Fixed bug GH-10214 (Incomplete validation of object syntax during unserialize()). (timwolla) . Fix substr_replace with slots in repl_ht being UNDEF. (nielsdos)

  • XMLWriter . Fix missing check for xmlTextWriterEndElement (nielsdos)

출처

PHP 8.2.2 공식 NEWS · 현재 PHP 지원 일정

원문에 없는 지원 종료일, CVE, Laravel 호환성 결론은 자동으로 추가하지 않습니다.

php.net 공식 릴리스 노트 보기 →