PHP7.2 기타 변경 사항

Moving of utf8_encode() and utf8_decode()

utf8_encode()utf8_decode() 함수는 이제 문자열 함수로 표준 확장으로 이동되었지만 이전에는 XML 확장이 필요했습니다.


Changes to mail() and mb_sendmail()

mail() 및 mb_sendmail()의 $additional_headers 매개변수는 이제 문자열 대신 배열도 허용합니다.


LMDB support

DBA 확장은 이제 LMDB를 지원합니다.


Changes to the PHP build system

  • Unix: Autoconf 2.64 or greater is now required to build PHP.
  • Unix: --with-pdo-oci configure argument no longer needs the version number of the Oracle Instant Client.
  • Unix: --enable-gd-native-ttf configure argument has been removed. This was not used since PHP 5.5.0.
  • Windows: --with-config-profile configure argument has been added. This can be used to save specific configures, much like the magical config.nice.bat file.

Changes to GD

  • imageantialias()는 시스템 libgd로 컴파일된 경우에도 사용할 수 있습니다.
  • imagegd()는 트루컬러 이미지를 실제 트루컬러 이미지로 저장합니다. 이전에는 팔레트로 변환되었습니다.

Moving MCrypt to PECL

MCrypt 확장은 이제 코어에서 PECL로 이동되었습니다. mcrypt 라이브러리는 2007년 이후로 업데이트가 없었기 때문에 사용을 권장하지 않습니다. 대신 OpenSSL 또는 Sodium 확장을 사용해야 합니다.


session_module_name()

"user"를 session_module_name()에 전달하면 이제 E_RECOVERABLE_ERROR 레벨의 오류가 발생합니다. 이전에는 이것은 조용히 무시되었습니다.