php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_intl.h File Reference
#include <php.h>
#include "collator/collator_sort.h"
#include <unicode/ubrk.h>
#include "intl_error.h"
#include "Zend/zend_exceptions.h"

Go to the source code of this file.

Macros

#define U_SHOW_CPLUSPLUS_API   0
 
#define phpext_intl_ptr   &intl_module_entry
 
#define PHP_INTL_API
 
#define INTL_G(v)
 
#define PHP_INTL_VERSION   PHP_VERSION
 

Functions

 PHP_MINIT_FUNCTION (intl)
 
 PHP_MSHUTDOWN_FUNCTION (intl)
 
 PHP_RINIT_FUNCTION (intl)
 
 PHP_RSHUTDOWN_FUNCTION (intl)
 
 PHP_MINFO_FUNCTION (intl)
 
const char * intl_locale_get_default (void)
 

Variables

zend_module_entry intl_module_entry
 
struct UCollator * current_collator
 
char * default_locale
 
collator_compare_func_t compare_func
 
UBreakIterator * grapheme_iterator
 
intl_error g_error
 
zend_long error_level
 
bool use_exceptions
 

Macro Definition Documentation

◆ INTL_G

#define INTL_G ( v)
Value:
uint32_t v
Definition cdf.c:1237
#define ZEND_MODULE_GLOBALS_ACCESSOR(module_name, v)
Definition zend_API.h:274

Definition at line 62 of file php_intl.h.

◆ PHP_INTL_API

#define PHP_INTL_API

Definition at line 39 of file php_intl.h.

◆ PHP_INTL_VERSION

#define PHP_INTL_VERSION   PHP_VERSION

Definition at line 72 of file php_intl.h.

◆ phpext_intl_ptr

#define phpext_intl_ptr   &intl_module_entry

Definition at line 34 of file php_intl.h.

◆ U_SHOW_CPLUSPLUS_API

#define U_SHOW_CPLUSPLUS_API   0

Definition at line 27 of file php_intl.h.

Function Documentation

◆ intl_locale_get_default()

const char * intl_locale_get_default ( void )

Definition at line 91 of file php_intl.c.

◆ PHP_MINFO_FUNCTION()

PHP_MINFO_FUNCTION ( intl )

Definition at line 254 of file php_intl.c.

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( intl )

Definition at line 146 of file php_intl.c.

◆ PHP_MSHUTDOWN_FUNCTION()

PHP_MSHUTDOWN_FUNCTION ( intl )

Definition at line 217 of file php_intl.c.

◆ PHP_RINIT_FUNCTION()

PHP_RINIT_FUNCTION ( intl )

Definition at line 233 of file php_intl.c.

◆ PHP_RSHUTDOWN_FUNCTION()

PHP_RSHUTDOWN_FUNCTION ( intl )

Definition at line 240 of file php_intl.c.

Variable Documentation

◆ compare_func

Definition at line 49 of file php_intl.h.

◆ current_collator

struct UCollator* current_collator

Definition at line 47 of file php_intl.h.

◆ default_locale

char* default_locale

Definition at line 48 of file php_intl.h.

◆ error_level

zend_long error_level

Definition at line 52 of file php_intl.h.

◆ g_error

intl_error g_error

Definition at line 51 of file php_intl.h.

◆ grapheme_iterator

UBreakIterator* grapheme_iterator

Definition at line 50 of file php_intl.h.

◆ intl_module_entry

zend_module_entry intl_module_entry
extern

Definition at line 110 of file php_intl.c.

◆ use_exceptions

bool use_exceptions

Definition at line 53 of file php_intl.h.