mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Fixed some spaces used instead of tabs
This commit is contained in:
parent
a233bfc766
commit
aff365871a
@ -3156,7 +3156,8 @@ ZEND_API zend_string* ZEND_FASTCALL zend_i64_to_str(int64_t num)
|
||||
}
|
||||
}
|
||||
|
||||
ZEND_API zend_uchar ZEND_FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) /* {{{ */ {
|
||||
ZEND_API zend_uchar ZEND_FASTCALL is_numeric_str_function(const zend_string *str, zend_long *lval, double *dval) /* {{{ */
|
||||
{
|
||||
return is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), lval, dval, false);
|
||||
}
|
||||
/* }}} */
|
||||
|
@ -365,8 +365,7 @@ static inline bool php_converter_set_callbacks(php_converter_object *objval, UCo
|
||||
/* {{{ php_converter_set_encoding */
|
||||
static bool php_converter_set_encoding(php_converter_object *objval,
|
||||
UConverter **pcnv,
|
||||
const char *enc, size_t enc_len
|
||||
) {
|
||||
const char *enc, size_t enc_len) {
|
||||
UErrorCode error = U_ZERO_ERROR;
|
||||
UConverter *cnv = ucnv_open(enc, &error);
|
||||
|
||||
|
@ -317,8 +317,7 @@ int32_t grapheme_get_haystack_offset(UBreakIterator* bi, int32_t offset)
|
||||
/* }}} */
|
||||
|
||||
/* {{{ grapheme_strrpos_ascii: borrowed from the php ext/standard/string.c */
|
||||
zend_long
|
||||
grapheme_strrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_len, int32_t offset)
|
||||
zend_long grapheme_strrpos_ascii(char *haystack, size_t haystack_len, char *needle, size_t needle_len, int32_t offset)
|
||||
{
|
||||
char *p, *e;
|
||||
|
||||
|
@ -659,8 +659,7 @@ PHP_FUNCTION( locale_get_keywords )
|
||||
|
||||
/* Get the keywords */
|
||||
e = uloc_openKeywords( loc_name, &status );
|
||||
if( e != NULL )
|
||||
{
|
||||
if( e != NULL ) {
|
||||
/*
|
||||
ICU expects the buffer to be allocated before calling the function
|
||||
and so the buffer size has been explicitly specified
|
||||
|
@ -1944,7 +1944,6 @@ int check_persistent_script_access(zend_persistent_script *persistent_script)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* zend_compile() replacement */
|
||||
zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user