Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
intl /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:27
breakiterator
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
calendar
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
collator
[ DIR ]
drwxrwxr-x
2024-03-12 14:26
common
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
converter
[ DIR ]
drwxrwxr-x
2024-03-12 14:26
dateformat
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
formatter
[ DIR ]
drwxrwxr-x
2024-03-12 14:26
grapheme
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
idn
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
locale
[ DIR ]
drwxrwxr-x
2024-03-12 14:26
msgformat
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
normalizer
[ DIR ]
drwxrwxr-x
2024-03-12 14:26
resourcebundle
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
spoofchecker
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
timezone
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
transliterator
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
uchar
[ DIR ]
drwxrwxr-x
2024-03-12 14:27
CREDITS
119
B
-rw-rw-r--
2022-10-31 11:36
ERROR_CONVENTIONS.md
4.95
KB
-rw-rw-r--
2022-10-31 11:36
config.m4
4.05
KB
-rw-rw-r--
2022-10-31 11:36
config.w32
4.08
KB
-rw-rw-r--
2022-10-31 11:36
intl_common.h
1.83
KB
-rw-rw-r--
2022-10-31 11:36
intl_convert.c
4.94
KB
-rw-rw-r--
2022-10-31 11:36
intl_convert.h
1.38
KB
-rw-rw-r--
2022-10-31 11:36
intl_convert.lo
336
B
-rw-r--r--
2024-03-12 14:26
intl_convert.o
82.13
KB
-rw-r--r--
2024-03-12 14:26
intl_convertcpp.cpp
2.69
KB
-rw-rw-r--
2022-10-31 11:36
intl_convertcpp.h
1.37
KB
-rw-rw-r--
2022-10-31 11:36
intl_convertcpp.lo
345
B
-rw-r--r--
2024-03-12 14:27
intl_convertcpp.o
105.45
KB
-rw-r--r--
2024-03-12 14:27
intl_cppshims.h
1.3
KB
-rw-rw-r--
2022-10-31 11:36
intl_data.h
5.05
KB
-rw-rw-r--
2022-10-31 11:36
intl_error.c
7.81
KB
-rw-rw-r--
2022-10-31 11:36
intl_error.h
2.48
KB
-rw-rw-r--
2022-10-31 11:36
intl_error.lo
330
B
-rw-r--r--
2024-03-12 14:26
intl_error.o
122.49
KB
-rw-r--r--
2024-03-12 14:26
php_intl.c
34.19
KB
-rw-rw-r--
2022-10-31 11:36
php_intl.h
2.56
KB
-rw-rw-r--
2022-10-31 11:36
php_intl.lo
324
B
-rw-r--r--
2024-03-12 14:26
php_intl.o
167.44
KB
-rw-r--r--
2024-03-12 14:26
Save
Rename
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Vadim Savchuk <vsavchuk@productengine.com> | | Dmitry Lakhtyuk <dlakhtyuk@productengine.com> | | Stanislav Malyshev <stas@zend.com> | +----------------------------------------------------------------------+ */ #ifndef INTL_DATA_H #define INTL_DATA_H #include <unicode/utypes.h> #include "intl_error.h" /* Mock object to generalize error handling in sub-modules. Sub-module data structures should always have error as first element for this to work! */ typedef struct _intl_data { intl_error error; zend_object zo; } intl_object; #define INTL_METHOD_INIT_VARS(oclass, obj) \ zval* object = NULL; \ oclass##_object* obj = NULL; \ intl_error_reset( NULL ); #define INTL_DATA_ERROR(obj) (((intl_object *)(obj))->error) #define INTL_DATA_ERROR_P(obj) (&(INTL_DATA_ERROR((obj)))) #define INTL_DATA_ERROR_CODE(obj) INTL_ERROR_CODE(INTL_DATA_ERROR((obj))) #define INTL_METHOD_FETCH_OBJECT(oclass, obj) \ obj = Z_##oclass##_P( object ); \ intl_error_reset( INTL_DATA_ERROR_P(obj) ); \ /* Check status by error code, if error return false */ #define INTL_CHECK_STATUS(err, msg) \ intl_error_set_code( NULL, (err) ); \ if( U_FAILURE((err)) ) \ { \ intl_error_set_custom_msg( NULL, msg, 0 ); \ RETURN_FALSE; \ } /* Check status by error code, if error return null */ #define INTL_CHECK_STATUS_OR_NULL(err, msg) \ intl_error_set_code( NULL, (err) ); \ if( U_FAILURE((err)) ) \ { \ intl_error_set_custom_msg( NULL, msg, 0 ); \ RETURN_NULL(); \ } /* Check status in object, if error return false */ #define INTL_METHOD_CHECK_STATUS(obj, msg) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ RETURN_FALSE; \ } /* Check status in object, if error return null */ #define INTL_METHOD_CHECK_STATUS_OR_NULL(obj, msg) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ zval_ptr_dtor(return_value); \ RETURN_NULL(); \ } /* Check status in object, if error return FAILURE */ #define INTL_CTOR_CHECK_STATUS(obj, msg) \ intl_error_set_code( NULL, INTL_DATA_ERROR_CODE((obj)) ); \ if( U_FAILURE( INTL_DATA_ERROR_CODE((obj)) ) ) \ { \ intl_errors_set_custom_msg( INTL_DATA_ERROR_P((obj)), msg, 0 ); \ return FAILURE; \ } #define INTL_METHOD_RETVAL_UTF8(obj, ustring, ulen, free_it) \ { \ zend_string *u8str; \ u8str = intl_convert_utf16_to_utf8(ustring, ulen, &INTL_DATA_ERROR_CODE((obj))); \ if((free_it)) { \ efree(ustring); \ } \ INTL_METHOD_CHECK_STATUS((obj), "Error converting value to UTF-8"); \ RETVAL_NEW_STR(u8str); \ } #define INTL_MAX_LOCALE_LEN (ULOC_FULLNAME_CAPACITY-1) #define INTL_CHECK_LOCALE_LEN(locale_len) \ if((locale_len) > INTL_MAX_LOCALE_LEN) { \ char *_msg; \ spprintf(&_msg, 0, "Locale string too long, should be no longer than %d characters", INTL_MAX_LOCALE_LEN); \ intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, _msg, 1); \ efree(_msg); \ RETURN_NULL(); \ } #define INTL_CHECK_LOCALE_LEN_OR_FAILURE(locale_len) \ if((locale_len) > INTL_MAX_LOCALE_LEN) { \ char *_msg; \ spprintf(&_msg, 0, "Locale string too long, should be no longer than %d characters", INTL_MAX_LOCALE_LEN); \ intl_error_set( NULL, U_ILLEGAL_ARGUMENT_ERROR, _msg, 1); \ efree(_msg); \ return FAILURE; \ } #endif // INTL_DATA_H