Home
last modified time | relevance | path

Searched refs:is_numeric_string (Results 1 – 23 of 23) sorted by relevance

/PHP-8.0/ext/sockets/
H A Dsockaddr_conv.c70 if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { in php_set_inet6_addr()
H A Dconversions.c333 switch (is_numeric_string(Z_STRVAL(lzval), Z_STRLEN(lzval), &lval, &dval, 0)) { in from_zval_integer_common()
/PHP-8.0/ext/intl/common/
H A Dcommon_date.cpp179 type = is_numeric_string(Z_STRVAL_P(z), Z_STRLEN_P(z), &lv, &rv, 0); in intl_zval_to_millis()
/PHP-8.0/ext/standard/
H A Dtype.c348 if (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), NULL, NULL, 0)) { in PHP_FUNCTION()
H A Dbasic_functions.c1170 …if (!(optname_len > 1 && optname[0] == '0') && is_numeric_string(optname, optname_len, NULL, NULL,…
2546 …if (!(Z_STRLEN_P(arg1) > 1 && Z_STRVAL_P(arg1)[0] == '0') && is_numeric_string(Z_STRVAL_P(arg1), Z…
H A Darray.c178 t = is_numeric_string(s->key->val, s->key->len, &l2, &d, 1); in php_array_key_compare_unstable_i()
192 t = is_numeric_string(f->key->val, f->key->len, &l1, &d, 1); in php_array_key_compare_unstable_i()
2752 type1 = is_numeric_string(Z_STRVAL_P(zlow), Z_STRLEN_P(zlow), NULL, NULL, 0);
2753 type2 = is_numeric_string(Z_STRVAL_P(zhigh), Z_STRLEN_P(zhigh), NULL, NULL, 0);
/PHP-8.0/ext/opcache/Optimizer/
H A Dpass1.c115 …if (is_numeric_string(Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline)), NULL… in zend_optimizer_pass1()
125 …&& !is_numeric_string(Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline)), NULL… in zend_optimizer_pass1()
H A Dsccp.c406 if (IS_LONG == is_numeric_string( in zval_to_string_offset()
/PHP-8.0/ext/json/
H A Djson_encoder.c274 if ((type = is_numeric_string(s, len, &p, &d, 0)) != 0) { in php_json_escape_string()
/PHP-8.0/Zend/
H A Dzend_operators.c164 …if ((Z_TYPE_INFO_P(op)=is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), &Z_LVAL_P(op), &Z_DVAL_P(op… in convert_scalar_to_number()
213 …if ((Z_TYPE_INFO_P(holder) = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &Z_LVAL_P(holder), … in _zendi_convert_scalar_to_number_silent()
812 if (0 == (type = is_numeric_string(Z_STRVAL_P(op), Z_STRLEN_P(op), &lval, &dval, true))) { in zval_get_long_func()
2019 zend_uchar type = is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), &str_lval, &str_dval, 0); in compare_long_to_string()
2042 zend_uchar type = is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), &str_lval, &str_dval, 0); in compare_double_to_string()
2986 return is_numeric_string(ZSTR_VAL(str), ZSTR_LEN(str), lval, dval, false);
H A Dzend_operators.h137 static zend_always_inline zend_uchar is_numeric_string(const char *str, size_t length, zend_long *l… in is_numeric_string() function
H A Dzend_compile.c4049 || is_numeric_string(Z_STRVAL_P(val), Z_STRLEN_P(val), NULL, NULL, 0)) { in zend_compile_func_in_array()
5298 && is_numeric_string(Z_STRVAL_P(cond_zv), Z_STRLEN_P(cond_zv), NULL, NULL, 0)) { in determine_switch_jumptable_type()
7898 && !is_numeric_string(Z_STRVAL_P(op1), Z_STRLEN_P(op1), NULL, NULL, 0)) { in zend_binary_op_produces_error()
7903 && !is_numeric_string(Z_STRVAL_P(op2), Z_STRLEN_P(op2), NULL, NULL, 0)) { in zend_binary_op_produces_error()
9907 …} else if (Z_TYPE_P(dim) != IS_STRING || is_numeric_string(Z_STRVAL_P(dim), Z_STRLEN_P(dim), &offs… in zend_eval_const_expr()
H A Dzend_execute.c2635 && IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) { in zend_isset_dim_slow()
2674 && IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, 0))) { in zend_isempty_dim_slow()
/PHP-8.0/ext/intl/timezone/
H A Dtimezone_methods.cpp169 switch (is_numeric_string(Z_STRVAL_P(arg), Z_STRLEN_P(arg), &lval, &dval, 0)) { in PHP_FUNCTION()
/PHP-8.0/ext/pdo/
H A Dpdo_stmt.c2343 if (is_numeric_string(ZSTR_VAL(name), ZSTR_LEN(name), &lval, NULL, 0) == IS_LONG) { in row_prop_read()
2381 && is_numeric_string(Z_STRVAL_P(member), Z_STRLEN_P(member), &lval, NULL, 0) == IS_LONG) { in row_dim_read()
2428 if (is_numeric_string(ZSTR_VAL(name), ZSTR_LEN(name), &lval, NULL, 0) == IS_LONG) { in row_prop_exists()
2463 if (is_numeric_string(Z_STRVAL_P(member), Z_STRLEN_P(member), &lval, NULL, 0) == IS_LONG) { in row_dim_exists()
H A Dpdo_dbh.c305 !is_numeric_string(Z_STRVAL_P(v), Z_STRLEN_P(v), NULL, NULL, 0) && Z_STRLEN_P(v) > 0) { in PHP_METHOD()
/PHP-8.0/ext/filter/
H A Dlogical_filters.c437 switch (is_numeric_string(num, p - num, &lval, &dval, 0)) { in php_filter_float()
/PHP-8.0/ext/pdo_firebird/
H A Dfirebird_statement.c646 switch (is_numeric_string(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), &lval, &dval, 0)) { in firebird_stmt_param_hook()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_helpers.c1019 if (IS_LONG == is_numeric_string(Z_STRVAL_P(dim), Z_STRLEN_P(dim), NULL, NULL, false)) { in zend_jit_fetch_dim_str_is_helper()
1651 && IS_LONG == is_numeric_string(Z_STRVAL_P(offset), Z_STRLEN_P(offset), NULL, NULL, false))) { in zend_jit_isset_dim_helper()
/PHP-8.0/ext/soap/
H A Dphp_http.c439 …if (Z_TYPE_P(tmp) != IS_STRING || !is_numeric_string(Z_STRVAL_P(tmp), Z_STRLEN_P(tmp), &redirect_m… in make_http_soap_request()
H A Dphp_encoding.c989 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_double()
1029 …switch (is_numeric_string((char*)data->children->content, strlen((char*)data->children->content), … in to_zval_long()
/PHP-8.0/ext/pcre/
H A Dphp_pcre.c573 …if (is_numeric_string(ZSTR_VAL(subpat_names[name_idx]), ZSTR_LEN(subpat_names[name_idx]), NULL, NU… in make_subpats_table()
/PHP-8.0/ext/session/
H A Dsession.c658 …if ((!ZSTR_LEN(new_value) || is_numeric_string(ZSTR_VAL(new_value), ZSTR_LEN(new_value), NULL, NUL… in PHP_INI_MH()

Completed in 237 milliseconds