mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.4'
* PHP-5.4: Fixed defective cloning in ext/intl classes NEWS for commit72c807a
Allow Spoofchecker to be registered on ICU 49.1 Announce on NEWS change in1ce572c
This commit is contained in:
commit
befe4ab479
7 changed files with 40 additions and 7 deletions
|
@ -84,7 +84,7 @@
|
|||
|
||||
#include "idn/idn.h"
|
||||
|
||||
#if U_ICU_VERSION_MAJOR_NUM > 3 && U_ICU_VERSION_MINOR_NUM >=2
|
||||
#if U_ICU_VERSION_MAJOR_NUM * 1000 + U_ICU_VERSION_MINOR_NUM >= 4002
|
||||
# include "spoofchecker/spoofchecker_class.h"
|
||||
# include "spoofchecker/spoofchecker.h"
|
||||
# include "spoofchecker/spoofchecker_create.h"
|
||||
|
@ -963,7 +963,7 @@ PHP_MINIT_FUNCTION( intl )
|
|||
/* Expose IDN constants to PHP scripts. */
|
||||
idn_register_constants(INIT_FUNC_ARGS_PASSTHRU);
|
||||
|
||||
#if U_ICU_VERSION_MAJOR_NUM > 3 && U_ICU_VERSION_MINOR_NUM >=2
|
||||
#if U_ICU_VERSION_MAJOR_NUM * 1000 + U_ICU_VERSION_MINOR_NUM >= 4002
|
||||
/* Register 'Spoofchecker' PHP class */
|
||||
spoofchecker_register_Spoofchecker_class( TSRMLS_C );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue