summaryrefslogtreecommitdiff
path: root/ext/intl/php_intl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/php_intl.c')
-rwxr-xr-xext/intl/php_intl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/intl/php_intl.c b/ext/intl/php_intl.c
index e0d1081514..19896a7108 100755
--- a/ext/intl/php_intl.c
+++ b/ext/intl/php_intl.c
@@ -78,6 +78,9 @@
#include "calendar/calendar_methods.h"
#include "calendar/gregoriancalendar_methods.h"
+#include "breakiterator/breakiterator_class.h"
+#include "breakiterator/breakiterator_iterators.h"
+
#include "idn/idn.h"
#if U_ICU_VERSION_MAJOR_NUM > 3 && U_ICU_VERSION_MINOR_NUM >=2
@@ -966,6 +969,12 @@ PHP_MINIT_FUNCTION( intl )
/* Register 'IntlIterator' PHP class */
intl_register_IntlIterator_class( TSRMLS_C );
+ /* Register 'BreakIterator' class */
+ breakiterator_register_BreakIterator_class( TSRMLS_C );
+
+ /* Register 'IntlPartsIterator' class */
+ breakiterator_register_IntlPartsIterator_class( TSRMLS_C );
+
/* Global error handling. */
intl_error_init( NULL TSRMLS_CC );