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.112
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 /
collator /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:26
collator.c
3.34
KB
-rw-rw-r--
2022-10-31 11:36
collator.h
1.3
KB
-rw-rw-r--
2022-10-31 11:36
collator.lo
333
B
-rw-r--r--
2024-03-12 14:26
collator.o
76.11
KB
-rw-r--r--
2024-03-12 14:26
collator_attr.c
4.27
KB
-rw-rw-r--
2022-10-31 11:36
collator_attr.h
1.29
KB
-rw-rw-r--
2022-10-31 11:36
collator_attr.lo
348
B
-rw-r--r--
2024-03-12 14:26
collator_attr.o
87.55
KB
-rw-r--r--
2024-03-12 14:26
collator_class.c
5.69
KB
-rw-rw-r--
2022-10-31 11:36
collator_class.h
2.9
KB
-rw-rw-r--
2022-10-31 11:36
collator_class.lo
351
B
-rw-r--r--
2024-03-12 14:26
collator_class.o
96.88
KB
-rw-r--r--
2024-03-12 14:26
collator_compare.c
3.59
KB
-rw-rw-r--
2022-10-31 11:36
collator_compare.h
1.18
KB
-rw-rw-r--
2022-10-31 11:36
collator_compare.lo
357
B
-rw-r--r--
2024-03-12 14:26
collator_compare.o
84.27
KB
-rw-r--r--
2024-03-12 14:26
collator_convert.c
10.74
KB
-rw-rw-r--
2022-10-31 11:36
collator_convert.h
1.87
KB
-rw-rw-r--
2022-10-31 11:36
collator_convert.lo
357
B
-rw-r--r--
2024-03-12 14:26
collator_convert.o
105.76
KB
-rw-r--r--
2024-03-12 14:26
collator_create.c
2.87
KB
-rw-rw-r--
2022-10-31 11:36
collator_create.h
1.21
KB
-rw-rw-r--
2022-10-31 11:36
collator_create.lo
354
B
-rw-r--r--
2024-03-12 14:26
collator_create.o
85.7
KB
-rw-r--r--
2024-03-12 14:26
collator_error.c
2.8
KB
-rw-rw-r--
2022-10-31 11:36
collator_error.h
1.22
KB
-rw-rw-r--
2022-10-31 11:36
collator_error.lo
351
B
-rw-r--r--
2024-03-12 14:26
collator_error.o
82.68
KB
-rw-r--r--
2024-03-12 14:26
collator_is_numeric.c
6.69
KB
-rw-rw-r--
2022-10-31 11:36
collator_is_numeric.h
1.29
KB
-rw-rw-r--
2022-10-31 11:36
collator_is_numeric.lo
366
B
-rw-r--r--
2024-03-12 14:26
collator_is_numeric.o
80.18
KB
-rw-r--r--
2024-03-12 14:26
collator_locale.c
2.39
KB
-rw-rw-r--
2022-10-31 11:36
collator_locale.h
1.18
KB
-rw-rw-r--
2022-10-31 11:36
collator_locale.lo
354
B
-rw-r--r--
2024-03-12 14:26
collator_locale.o
84.82
KB
-rw-r--r--
2024-03-12 14:26
collator_sort.c
17.74
KB
-rw-rw-r--
2022-10-31 11:36
collator_sort.h
1.36
KB
-rw-rw-r--
2022-10-31 11:36
collator_sort.lo
348
B
-rw-r--r--
2024-03-12 14:26
collator_sort.o
117.11
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> | +----------------------------------------------------------------------+ */ #include "collator_class.h" #include "php_intl.h" #include "collator_attr.h" #include "collator_compare.h" #include "collator_sort.h" #include "collator_convert.h" #include "collator_locale.h" #include "collator_create.h" #include "collator_error.h" #include "intl_error.h" #include <unicode/ucol.h> zend_class_entry *Collator_ce_ptr = NULL; static zend_object_handlers Collator_handlers; /* * Auxiliary functions needed by objects of 'Collator' class */ /* {{{ Collator_objects_free */ void Collator_objects_free(zend_object *object ) { Collator_object* co = php_intl_collator_fetch_object(object); zend_object_std_dtor(&co->zo ); collator_object_destroy(co ); } /* }}} */ /* {{{ Collator_object_create */ zend_object *Collator_object_create(zend_class_entry *ce ) { Collator_object *intern = zend_object_alloc(sizeof(Collator_object), ce); intl_error_init(COLLATOR_ERROR_P(intern)); zend_object_std_init(&intern->zo, ce ); object_properties_init(&intern->zo, ce); intern->zo.handlers = &Collator_handlers; return &intern->zo; } /* }}} */ /* * 'Collator' class registration structures & functions */ /* {{{ Collator methods arguments info */ /* NOTE: modifying 'collator_XX_args' do not forget to modify approptiate 'collator_XX_args' for the procedural API. */ ZEND_BEGIN_ARG_INFO_EX( collator_0_args, 0, 0, 0 ) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX( collator_1_arg, 0, 0, 1 ) ZEND_ARG_INFO( 0, arg1 ) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX( collator_2_args, 0, 0, 2 ) ZEND_ARG_INFO( 0, arg1 ) ZEND_ARG_INFO( 0, arg2 ) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX( collator_sort_args, 0, 0, 1 ) ZEND_ARG_ARRAY_INFO( 1, arr, 0 ) ZEND_ARG_INFO( 0, flags ) ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX( collator_sort_with_sort_keys_args, 0, 0, 1 ) ZEND_ARG_ARRAY_INFO( 1, arr, 0 ) ZEND_END_ARG_INFO() /* }}} */ /* {{{ Collator_class_functions * Every 'Collator' class method has an entry in this table */ static const zend_function_entry Collator_class_functions[] = { PHP_ME( Collator, __construct, collator_1_arg, ZEND_ACC_PUBLIC ) ZEND_FENTRY( create, ZEND_FN( collator_create ), collator_1_arg, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC ) PHP_NAMED_FE( compare, ZEND_FN( collator_compare ), collator_2_args ) PHP_NAMED_FE( sort, ZEND_FN( collator_sort ), collator_sort_args ) PHP_NAMED_FE( sortWithSortKeys, ZEND_FN( collator_sort_with_sort_keys ), collator_sort_with_sort_keys_args ) PHP_NAMED_FE( asort, ZEND_FN( collator_asort ), collator_sort_args ) PHP_NAMED_FE( getAttribute, ZEND_FN( collator_get_attribute ), collator_1_arg ) PHP_NAMED_FE( setAttribute, ZEND_FN( collator_set_attribute ), collator_2_args ) PHP_NAMED_FE( getStrength, ZEND_FN( collator_get_strength ), collator_0_args ) PHP_NAMED_FE( setStrength, ZEND_FN( collator_set_strength ), collator_1_arg ) PHP_NAMED_FE( getLocale, ZEND_FN( collator_get_locale ), collator_1_arg ) PHP_NAMED_FE( getErrorCode, ZEND_FN( collator_get_error_code ), collator_0_args ) PHP_NAMED_FE( getErrorMessage, ZEND_FN( collator_get_error_message ), collator_0_args ) PHP_NAMED_FE( getSortKey, ZEND_FN( collator_get_sort_key ), collator_1_arg ) PHP_FE_END }; /* }}} */ /* {{{ collator_register_Collator_class * Initialize 'Collator' class */ void collator_register_Collator_class( void ) { zend_class_entry ce; /* Create and register 'Collator' class. */ INIT_CLASS_ENTRY( ce, "Collator", Collator_class_functions ); ce.create_object = Collator_object_create; Collator_ce_ptr = zend_register_internal_class( &ce ); memcpy(&Collator_handlers, &std_object_handlers, sizeof Collator_handlers); /* Collator has no usable clone semantics - ucol_cloneBinary/ucol_openBinary require binary buffer for which we don't have the place to keep */ Collator_handlers.offset = XtOffsetOf(Collator_object, zo); Collator_handlers.clone_obj = NULL; Collator_handlers.free_obj = Collator_objects_free; /* Declare 'Collator' class properties. */ if( !Collator_ce_ptr ) { zend_error( E_ERROR, "Collator: attempt to create properties " "on a non-registered class." ); return; } } /* }}} */ /* {{{ void collator_object_init( Collator_object* co ) * Initialize internals of Collator_object. * Must be called before any other call to 'collator_object_...' functions. */ void collator_object_init( Collator_object* co ) { if( !co ) return; intl_error_init( COLLATOR_ERROR_P( co ) ); } /* }}} */ /* {{{ void collator_object_destroy( Collator_object* co ) * Clean up mem allocted by internals of Collator_object */ void collator_object_destroy( Collator_object* co ) { if( !co ) return; if( co->ucoll ) { ucol_close( co->ucoll ); co->ucoll = NULL; } intl_error_reset( COLLATOR_ERROR_P( co ) ); } /* }}} */