PHP 8.5.8 변경 기록과 적용 점검
릴리스: 2026년 7월 2일
게시: 2026년 7월 3일
PHP 8.5.8 공식 변경 기록에서 구성요소와 CVE를 추출하고 사용 환경별 확인 순서를 제공합니다.
PHP 8.5.8 변경 사항
공식 php-src 태그의 NEWS에서 이 버전의 항목만 추출했습니다. 아래 구성요소와 확인 순서는 원문에 따라 자동 구성됩니다. 애플리케이션 호환성이나 취약점 영향 여부를 판정하지 않습니다.
변경된 구성요소
Core · BCMath · Date · Exif · GD · Intl · Lexbor · Opcache · Phar · Reflection · SOAP · Sqlite · URI · Zip · Zlib
원문에 명시된 CVE
이 NEWS 항목에 CVE 번호가 명시되어 있지 않습니다. 보안 문제가 없다는 의미는 아닙니다.
사용 환경별 확인 순서
php -v와php -m으로 실제 실행 버전과 확장 목록을 확인하고 아래 원문에서 사용 중인 구성요소의 변경을 찾으세요.composer check-platform-reqs로 설치 환경의 요구사항을 확인하세요. 성공하더라도 동작 호환성까지 보장하지는 않습니다.- 날짜·시간대를 사용한다면 Carbon 및 날짜 변환 테스트에서 변경 항목과 관련된 입력을 점검하세요.
- GD를 사용한다면 이미지 업로드·리사이즈 처리를 실제 파일로 확인하세요.
- BCMath를 사용한다면 금액·정밀도·부호 경계값의 계산 결과를 확인하세요.
- 배포 전 스테이징에서 애플리케이션 테스트를 실행하고, 배포 후 웹 프로세스와 큐 워커가 새 PHP를 사용하는지 확인하세요.
공식 변경 기록
02 Jul 2026, PHP 8.5.8
Core: . Fixed bug GH-22280 (Incorrect compile error for goto to label preceding try/finally block). (Pratik Bhujel) . Fixed bug GH-22112 (Assertion when error handler throws during NaN to bool/string coercion). (iliaal)
BCMath: . Fixed issues with oversized allocations and signed overflow in bcround() and BcMath\Number::round(). (edorian)
Date: . Fix incorrect recurrence check of DatePeriod::createFromISO8601String(). (ndossche)
Exif: . Read correct value for single and double tags. (ndossche)
GD: . Fixed bug GH-22121 (Double free in gdImageSetStyle() after overflow-triggered early return). (iliaal)
Intl: . Fix incorrect argument positions for invalid start/end arguments in transliterator_transliterate(). (Weilin Du) . Fixed IntlTimeZone::getDisplayName() to synchronize object error state for invalid display types. (Weilin Du)
Lexbor: . Merge patch c3a6847. (ilutov, timwolla)
Opcache: . Fixed bug GH-22265 (Another tailcall vm_interrupt bug). (Levi Morrison) . Fixed bug GH-20469 (Unsafe inheritance cache replay with reentrant autoloading). (Levi Morrison) . Fixed bug GH-21972 (Corrupted variable type when a typed by-value return contains a reference wrapper). (Weilin Du)
Phar: . Fixed a bypass of the magic ".phar" directory protection in Phar::addEmptyDir() for paths starting with "/.phar", while allowing non-magic directory names that merely share the ".phar" prefix. (Weilin Du)
Reflection: . Preserve class-name case in ReflectionClass::getProperty() error messages and autoloading. (jorgsowa)
SOAP: . Fixed bug GH-22218 (SoapServer::handle() crash on $_SERVER not being an array). (David Carlier / Rex-Reynolds) . Fixed bug GH-22285 (Soap server requires the raw input to be passed to $server->handle). (David Carlier / ndossche)
Sqlite: . Fix error checks for column retrieval. (ndossche)
URI: . Add LEXBOR_STATIC to CFLAGS_URI on Windows so ext/uri does not see LXB_API as __declspec(dllimport) when linked statically into PHP. (Luther Monson) . Clean error logs before each Uri\WhatWg\Url wither call so that errors from previous wither calls are not returned the next time a UrlValidationError is thrown. (kocsismate)
Zip: . Fixed error-related memory leaks. (ndossche)
Zlib: . Fixed memory leak if deflate initialization fails and there is a dict. (ndossche) . Fixed memory leak in inflate_add(). (ndossche)
출처
PHP 8.5.8 공식 NEWS · 현재 PHP 지원 일정
원문에 없는 지원 종료일, CVE, Laravel 호환성 결론은 자동으로 추가하지 않습니다.