Home
last modified time | relevance | path

Searched refs:Z_TYPE_P (Results 1 – 25 of 205) sorted by relevance

123456789

/PHP-7.4/ext/opcache/Optimizer/
H A Dzend_inference.h44 …return (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_TRUE || Z_TYPE_P(zv) == IS_FALSE || Z_TYPE_P
60 if (Z_TYPE_P(zv) == IS_LONG) { \
62 } else if (Z_TYPE_P(zv) == IS_TRUE) { \
66 } else if (Z_TYPE_P(zv) == IS_NULL) { \
84 if (Z_TYPE_P(zv) == IS_LONG) { \
86 } else if (Z_TYPE_P(zv) == IS_TRUE) { \
108 …if (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_TRUE || Z_TYPE_P(zv) == IS_FALSE || Z_TYPE_P(zv)…
126 …if (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_TRUE || Z_TYPE_P(zv) == IS_FALSE || Z_TYPE_P(zv)…
162 if (Z_TYPE_P(zv) == IS_CONSTANT_AST) { in DEFINE_SSA_OP_MIN_RANGE()
164 } else if (Z_TYPE_P(zv) == IS_ARRAY) { in DEFINE_SSA_OP_MIN_RANGE()
[all …]
H A Dsccp.c175 if (Z_TYPE_P(value) != Z_TYPE_P(new) in set_value()
394 switch (Z_TYPE_P(op)) { in zval_to_string_offset()
410 switch (Z_TYPE_P(op2)) { in fetch_array_elem()
765 if (Z_TYPE_P(op1) != IS_STRING && Z_TYPE_P(op1) != IS_LONG && Z_TYPE_P(op1) != IS_NULL) { in ct_eval_array_key_exists()
863 if (Z_TYPE_P(entry) != IS_LONG && Z_TYPE_P(entry) != IS_STRING) { in ct_eval_func_call()
948 if ((Z_TYPE_P(args[0]) != IS_STRING || Z_TYPE_P(args[1]) != IS_ARRAY) in ct_eval_func_call()
949 && (Z_TYPE_P(args[0]) != IS_ARRAY || Z_TYPE_P(args[1]) != IS_STRING)) { in ct_eval_func_call()
981 if ((Z_TYPE_P(args[0]) != IS_LONG && Z_TYPE_P(args[0]) != IS_DOUBLE) in ct_eval_func_call()
982 || (Z_TYPE_P(args[1]) != IS_LONG && Z_TYPE_P(args[1]) != IS_DOUBLE)) { in ct_eval_func_call()
1147 if (Z_TYPE_P(op1) == IS_NULL || Z_TYPE_P(op1) == IS_FALSE) { in sccp_visit_instr()
[all …]
/PHP-7.4/ext/standard/
H A Dphp_mail.h32 if (Z_TYPE_P(val) == IS_STRING) { \
34 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
48 if (Z_TYPE_P(val) == IS_STRING) { \
50 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
H A Dhttp.c58 if (Z_TYPE_P(zdata) == IS_INDIRECT) { in php_url_encode_hash_ex()
90 if (Z_TYPE_P(zdata) == IS_ARRAY || Z_TYPE_P(zdata) == IS_OBJECT) { in php_url_encode_hash_ex()
154 …(HASH_OF(zdata), formstr, NULL, 0, newprefix, newprefix_len, "%5D", 3, (Z_TYPE_P(zdata) == IS_OBJE… in php_url_encode_hash_ex()
159 } else if (Z_TYPE_P(zdata) == IS_NULL || Z_TYPE_P(zdata) == IS_RESOURCE) { in php_url_encode_hash_ex()
190 switch (Z_TYPE_P(zdata)) { in php_url_encode_hash_ex()
251 …_ex(HASH_OF(formdata), &formstr, prefix, prefix_len, NULL, 0, NULL, 0, (Z_TYPE_P(formdata) == IS_O… in PHP_FUNCTION()
H A Dtype.c114 if (Z_TYPE_P(num) != IS_STRING || base == 10) { in PHP_FUNCTION()
211 if (Z_TYPE_P(arg) == type) { in php_is_type()
254 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION()
313 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION()
344 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION()
H A Darray.c776 switch (Z_TYPE_P(array)) { in PHP_FUNCTION()
1384 if (Z_TYPE_P(zv) == IS_UNDEF) { in php_array_walk()
1390 if (Z_TYPE_P(zv) != IS_REFERENCE && Z_TYPE_P(array) == IS_OBJECT) { in php_array_walk()
2849 } else if (Z_TYPE_P(zlow) == IS_DOUBLE || Z_TYPE_P(zhigh) == IS_DOUBLE || is_step_double) {
3252 if (Z_TYPE_P(val) != IS_UNDEF) {
3301 if (Z_TYPE_P(val) != IS_UNDEF) {
4157 switch (Z_TYPE_P(param)) {
4269 switch (Z_TYPE_P(keyval)) {
5965 if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) {
5994 if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) {
[all …]
H A Dvar.c78 if (Z_TYPE_P(zv) == IS_UNDEF) { in php_object_property_dump()
107 switch (Z_TYPE_P(struc)) { in php_var_dump()
176 if (Z_TYPE_P(val) == IS_INDIRECT) { in php_var_dump()
296 switch (Z_TYPE_P(struc)) { in php_debug_zval_dump()
490 switch (Z_TYPE_P(struc)) { in php_var_export_ex()
777 if (Z_TYPE_P(retval) != IS_ARRAY) { in php_var_serialize_call_magic_serialize()
795 if (Z_TYPE_P(val) == IS_INDIRECT) { in php_var_serialize_try_add_sleep_prop()
797 if (Z_TYPE_P(val) == IS_UNDEF) { in php_var_serialize_try_add_sleep_prop()
917 if (Z_TYPE_P(data) == IS_ARRAY) { in php_var_serialize_nested_data()
980 switch (Z_TYPE_P(struc)) { in php_var_serialize_intern()
[all …]
H A Dmath.c298 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION()
300 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION()
323 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION()
325 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION()
344 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION()
346 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION()
383 switch (Z_TYPE_P(value)) { in PHP_FUNCTION()
811 if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) { in _php_math_basetolong()
939 if (Z_TYPE_P(arg) != IS_LONG || base < 2 || base > 36) { in _php_math_longtobase()
967 if ((Z_TYPE_P(arg) != IS_LONG && Z_TYPE_P(arg) != IS_DOUBLE) || base < 2 || base > 36) { in _php_math_zvaltobase()
[all …]
/PHP-7.4/Zend/
H A Dzend_operators.c271 ((Z_TYPE_P(op) == IS_LONG || Z_TYPE_P(op) == IS_DOUBLE) ? (op) : \
952 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in add_function_fast()
1026 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in sub_function_fast()
1103 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in mul_function()
1164 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in pow_function()
1284 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function()
1597 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1675 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
2033 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in compare_function()
2124 if (Z_TYPE_P(op1) == IS_OBJECT && Z_TYPE_P(op2) == IS_OBJECT) { in compare_function()
[all …]
H A Dzend_operators.h276 if (EXPECTED(Z_TYPE_P(op) == IS_STRING)) { in zval_get_tmp_string()
291 if (EXPECTED(Z_TYPE_P(op) == IS_STRING)) { in zval_try_get_string()
316 if (Z_TYPE_P(op) == IS_STRING) { in try_convert_to_string()
345 switch (Z_TYPE_P(op)) { in i_zend_is_true()
430 if (Z_TYPE_P(pzv)!=upper_type) { \
465 if (Z_TYPE_P(pzv) != str_type) { \
484 if (Z_TYPE_P(pzv)!=IS_LONG && Z_TYPE_P(pzv)!=IS_DOUBLE) { \
889 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function()
891 } else if (Z_TYPE_P(op1) <= IS_TRUE) { in fast_is_identical_function()
899 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function()
[all …]
H A Dzend_execute.c387 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_BP_VAR_W()
1055 EXPECTED(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE)) { in zend_check_type()
1397 switch(Z_TYPE_P(dim)) { in zend_check_string_offset()
1703 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) { in zend_incdec_typed_ref()
1731 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) { in zend_incdec_typed_prop()
2087 switch (Z_TYPE_P(dim)) { in slow_index_convert()
2409 switch (Z_TYPE_P(dim)) { in zend_fetch_dimension_address_read()
2687 return Z_TYPE_P(val) <= IS_FALSE in promotes_to_array()
2693 return Z_TYPE_P(val) <= IS_FALSE in promotes_to_object()
3428 if (Z_TYPE_P(pz) > 10) { in zend_check_symbol()
[all …]
H A Dzend_vm_execute.h2366 if (Z_TYPE_P(ptr) == IS_LONG) { in ZEND_EXIT_SPEC_HANDLER()
3328 if (Z_TYPE_P(z) == IS_STRING) { in ZEND_ECHO_SPEC_CONST_HANDLER()
4356 if (Z_TYPE_P(value) > IS_NULL) { in ZEND_COALESCE_SPEC_CONST_HANDLER()
4445 if (Z_TYPE_P(val) == IS_ARRAY) { in ZEND_YIELD_FROM_SPEC_CONST_HANDLER()
6641 if (Z_TYPE_P(op) != IS_LONG) { in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER()
6643 if (Z_TYPE_P(op) != IS_LONG) { in ZEND_SWITCH_LONG_SPEC_CONST_CONST_HANDLER()
6670 if (Z_TYPE_P(op) != IS_STRING) { in ZEND_SWITCH_STRING_SPEC_CONST_CONST_HANDLER()
11821 if (Z_TYPE_P(op) != IS_LONG) { in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER()
11823 if (Z_TYPE_P(op) != IS_LONG) { in ZEND_SWITCH_LONG_SPEC_TMPVARCV_CONST_HANDLER()
13384 if (Z_TYPE_P(z) == IS_STRING) { in ZEND_ECHO_SPEC_TMPVAR_HANDLER()
[all …]
H A Dzend_vm_def.h1749 if (Z_TYPE_P(z) == IS_STRING) {
6798 if (Z_TYPE_P(value) > IS_NULL &&
7066 if (Z_TYPE_P(ptr) == IS_LONG) {
7195 if (Z_TYPE_P(value) > IS_NULL) {
7405 if (Z_TYPE_P(expr) == IS_OBJECT) {
7858 if (Z_TYPE_P(val) == IS_ARRAY) {
8557 if (Z_TYPE_P(op) != IS_LONG) {
8559 if (Z_TYPE_P(op) != IS_LONG) {
8586 if (Z_TYPE_P(op) != IS_STRING) {
8592 if (Z_TYPE_P(op) != IS_STRING) {
[all …]
H A Dzend_variables.c94 if (Z_TYPE_P(zval_ptr) == IS_STRING) { in zval_internal_ptr_dtor()
126 if (EXPECTED(Z_TYPE_P(zvalue) == IS_ARRAY)) { in zval_copy_ctor_func()
128 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_STRING)) { in zval_copy_ctor_func()
H A Dzend_variables.h53 if (Z_TYPE_P(zvalue) == IS_ARRAY) { in zval_copy_ctor()
72 ZEND_ASSERT(Z_TYPE_P(zval_ptr) == IS_STRING); in zval_ptr_dtor_str()
H A Dzend_exceptions.c97 while (Z_TYPE_P(ancestor) == IS_OBJECT) { in zend_exception_set_previous()
106 if (Z_TYPE_P(previous) == IS_NULL) { in zend_exception_set_previous()
320 if (Z_TYPE_P(pvalue) != IS_NULL && Z_TYPE_P(pvalue) != type) { \
335 if (pvalue && Z_TYPE_P(pvalue) != IS_NULL && (Z_TYPE_P(pvalue) != IS_OBJECT || in ZEND_METHOD()
515 switch (Z_TYPE_P(arg)) { in _build_trace_args()
573 if (Z_TYPE_P(file) != IS_STRING) { in _build_trace_string()
580 if (Z_TYPE_P(tmp) == IS_LONG) { in _build_trace_string()
603 if (Z_TYPE_P(tmp) == IS_ARRAY) { in _build_trace_string()
639 if (Z_TYPE_P(trace) != IS_ARRAY) { in ZEND_METHOD()
643 if (Z_TYPE_P(frame) != IS_ARRAY) { in ZEND_METHOD()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_wait.c142 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("GLOBALS"))) && Z_TYPE_P(zvp) == IS_ARRAY) { in phpdbg_webdata_decompress()
173 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("input"))) && Z_TYPE_P(zvp) == IS_STRING) { in phpdbg_webdata_decompress()
182 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("cwd"))) && Z_TYPE_P(zvp) == IS_STRING) { in phpdbg_webdata_decompress()
195 …vp = zend_hash_str_find(ht, ZEND_STRL("sapi_name"))) && (Z_TYPE_P(zvp) == IS_STRING || Z_TYPE_P(zv… in phpdbg_webdata_decompress()
199 if (Z_TYPE_P(zvp) == IS_STRING) { in phpdbg_webdata_decompress()
206 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("modules"))) && Z_TYPE_P(zvp) == IS_ARRAY) { in phpdbg_webdata_decompress()
293 if (Z_TYPE_P(name) == IS_STRING) { in phpdbg_webdata_decompress()
301 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("systemini"))) && Z_TYPE_P(zvp) == IS_ARRAY) { in phpdbg_webdata_decompress()
307 if (key && Z_TYPE_P(ini_entry) == IS_STRING) { in phpdbg_webdata_decompress()
321 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("userini"))) && Z_TYPE_P(zvp) == IS_ARRAY) { in phpdbg_webdata_decompress()
[all …]
/PHP-7.4/ext/soap/
H A Dphp_http.c40 Z_TYPE_P(login) == IS_STRING) { in proxy_authentication()
68 Z_TYPE_P(login) == IS_STRING && in basic_authentication()
198 Z_TYPE_P(tmp) == IS_LONG) { in http_connect()
286 Z_TYPE_P(tmp) == IS_LONG) { in http_connect()
441 if (Z_TYPE_P(tmp) == IS_LONG) in make_http_soap_request()
548 Z_TYPE_P(tmp) == IS_DOUBLE && in make_http_soap_request()
589 (Z_TYPE_P(tmp) == IS_FALSE || (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) == 0)))) { in make_http_soap_request()
624 Z_TYPE_P(tmp) == IS_STRING && in make_http_soap_request()
641 Z_TYPE_P(tmp) == IS_STRING && in make_http_soap_request()
873 (Z_TYPE_P(trace) == IS_TRUE || (Z_TYPE_P(trace) == IS_LONG && Z_LVAL_P(trace) != 0))) { in make_http_soap_request()
[all …]
H A Dsoap.c878 if (t_ns && t_code && Z_TYPE_P(t_ns) == IS_STRING && Z_TYPE_P(t_code) == IS_STRING) { in PHP_METHOD()
1122 if (Z_TYPE_P(wsdl) != IS_STRING && Z_TYPE_P(wsdl) != IS_NULL) { in PHP_METHOD()
1170 Z_TYPE_P(tmp) == IS_ARRAY) { in PHP_METHOD()
1175 Z_TYPE_P(tmp) == IS_ARRAY && in PHP_METHOD()
1181 Z_TYPE_P(tmp) == IS_LONG) { in PHP_METHOD()
2293 if (Z_TYPE_P(wsdl) != IS_STRING && Z_TYPE_P(wsdl) != IS_NULL) {
2423 Z_TYPE_P(tmp) == IS_ARRAY) {
2428 Z_TYPE_P(tmp) == IS_ARRAY &&
2434 Z_TYPE_P(tmp) == IS_LONG) {
2469 Z_TYPE_P(tmp) == IS_LONG) {
[all …]
/PHP-7.4/ext/filter/
H A Dfilter.c389 if (Z_TYPE_P(value) == IS_OBJECT) { in php_zval_filter()
503 if (Z_TYPE_P(value) == IS_ARRAY) { in php_zval_filter_recursive()
513 if (Z_TYPE_P(element) == IS_ARRAY) { in php_zval_filter_recursive()
630 if (Z_TYPE_P(option) == IS_ARRAY) { in php_filter_call()
640 if (Z_TYPE_P(filtered) == IS_ARRAY) { in php_filter_call()
681 } else if (Z_TYPE_P(op) == IS_LONG) { in php_filter_array_handler()
684 } else if (Z_TYPE_P(op) == IS_ARRAY) { in php_filter_array_handler()
747 Z_TYPE_P(opt) == IS_ARRAY && in PHP_FUNCTION()
807 …if (op && (Z_TYPE_P(op) != IS_ARRAY) && !(Z_TYPE_P(op) == IS_LONG && PHP_FILTER_ID_EXISTS(Z_LVAL_P… in PHP_FUNCTION()
817 if (Z_TYPE_P(op) == IS_LONG) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/intl/collator/
H A Dcollator_convert.c48 if( Z_TYPE_P( hashData ) != IS_STRING ) in collator_convert_hash_item_from_utf8_to_utf16()
88 if( Z_TYPE_P( hashData ) != IS_STRING ) in collator_convert_hash_item_from_utf16_to_utf8()
223 if( Z_TYPE_P( obj ) != IS_OBJECT ) in collator_convert_object_to_string()
233 switch( Z_TYPE_P( zstr ) ) in collator_convert_object_to_string()
328 if( Z_TYPE_P(num) == IS_LONG ) in collator_convert_string_to_double()
352 if( Z_TYPE_P( str ) != IS_STRING ) in collator_convert_string_to_number_if_possible()
387 if( Z_TYPE_P(arg) != IS_STRING ) in collator_make_printable_zval()
424 if( Z_TYPE_P( arg ) != IS_STRING ) in collator_normalize_sort_argument()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_format_object.cpp55 if (Z_TYPE_P(z) == IS_LONG) { in valid_format()
91 if (format == NULL || Z_TYPE_P(format) == IS_NULL) { in PHP_FUNCTION()
93 } else if (Z_TYPE_P(format) == IS_ARRAY) { in PHP_FUNCTION()
108 if (Z_TYPE_P(z) != IS_UNDEF) { in PHP_FUNCTION()
124 if (Z_TYPE_P(z) != IS_UNDEF) { in PHP_FUNCTION()
136 } else if (Z_TYPE_P(format) == IS_LONG) { in PHP_FUNCTION()
H A Ddateformat_helpers.cpp44 if (calendar_zv == NULL || Z_TYPE_P(calendar_zv) == IS_NULL) { in datefmt_process_calendar_arg()
52 } else if (Z_TYPE_P(calendar_zv) == IS_LONG) { in datefmt_process_calendar_arg()
73 } else if (Z_TYPE_P(calendar_zv) == IS_OBJECT && in datefmt_process_calendar_arg()
/PHP-7.4/ext/spl/
H A Dspl_array.c307 switch (Z_TYPE_P(offset)) { in spl_array_get_dimension_ptr()
483 switch (Z_TYPE_P(offset)) { in spl_array_write_dimension_ex()
544 switch (Z_TYPE_P(offset)) { in spl_array_unset_dimension_ex()
638 switch (Z_TYPE_P(offset)) { in spl_array_has_dimension_ex()
1093 if (Z_TYPE_P(array) != IS_OBJECT && Z_TYPE_P(array) != IS_ARRAY) { in spl_array_set_array()
1098 if (Z_TYPE_P(array) == IS_ARRAY) { in spl_array_set_array()
1532 if (Z_TYPE_P(entry) == IS_UNDEF) { in SPL_ARRAY_METHOD()
1638 if (Z_TYPE_P(entry) == IS_OBJECT) { in SPL_METHOD()
1768 || (Z_TYPE_P(array) != IS_ARRAY && Z_TYPE_P(array) != IS_OBJECT)) { in SPL_METHOD()
1775 if (Z_TYPE_P(array) == IS_ARRAY) { in SPL_METHOD()
[all …]
/PHP-7.4/ext/intl/formatter/
H A Dformatter_format.c56 if(Z_TYPE_P(number) != IS_ARRAY) { in PHP_FUNCTION()
63 switch(Z_TYPE_P(number)) { in PHP_FUNCTION()
94 int64_t value = (Z_TYPE_P(number) == IS_DOUBLE)?(int64_t)Z_DVAL_P(number):Z_LVAL_P(number); in PHP_FUNCTION()

Completed in 264 milliseconds

123456789