/PHP-7.2/ext/opcache/Optimizer/ |
H A D | zend_inference.h | 44 …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) { in DEFINE_SSA_OP_MIN_RANGE() 166 } else if (Z_TYPE_P(zv) == IS_ARRAY) { in DEFINE_SSA_OP_MIN_RANGE() [all …]
|
H A D | sccp.c | 361 switch (Z_TYPE_P(op)) { in zval_to_string_offset() 377 switch (Z_TYPE_P(op2)) { in fetch_array_elem() 402 if (Z_TYPE_P(op1) == IS_ARRAY) { in ct_eval_fetch_dim() 452 switch (Z_TYPE_P(key)) { in ct_eval_add_array_elem() 481 switch (Z_TYPE_P(result)) { in ct_eval_assign_dim() 540 ZVAL_BOOL(result, Z_TYPE_P(op1) == IS_TRUE || Z_TYPE_P(op1) == IS_FALSE); in ct_eval_type_check() 666 if (Z_TYPE_P(entry) != IS_LONG && Z_TYPE_P(entry) != IS_STRING) { in ct_eval_func_call() 751 if ((Z_TYPE_P(args[0]) != IS_STRING || Z_TYPE_P(args[1]) != IS_ARRAY) in ct_eval_func_call() 752 && (Z_TYPE_P(args[0]) != IS_ARRAY || Z_TYPE_P(args[1]) != IS_STRING)) { in ct_eval_func_call() 784 if ((Z_TYPE_P(args[0]) != IS_LONG && Z_TYPE_P(args[0]) != IS_DOUBLE) in ct_eval_func_call() [all …]
|
/PHP-7.2/Zend/ |
H A D | zend_operators.c | 903 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in add_function() 964 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in sub_function() 1014 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in mul_function() 1069 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in pow_function() 1179 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in div_function() 1485 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function() 1563 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function() 1921 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in compare_function() 2012 if (Z_TYPE_P(op1) == IS_OBJECT && Z_TYPE_P(op2) == IS_OBJECT) { in compare_function() 2065 if (Z_TYPE_P(op1) == IS_NULL || Z_TYPE_P(op1) == IS_FALSE) { in compare_function() [all …]
|
H A D | zend_operators.h | 295 switch (Z_TYPE_P(op)) { in i_zend_is_true() 375 if (Z_TYPE_P(pzv)!=upper_type) { \ 410 if (Z_TYPE_P(pzv) != str_type) { \ 423 if (Z_TYPE_P(pzv)!=IS_LONG && Z_TYPE_P(pzv)!=IS_DOUBLE) { \ 633 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_add_function() 744 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_equal_check_function() 778 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long() 807 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function() 809 } else if (Z_TYPE_P(op1) <= IS_TRUE) { in fast_is_identical_function() 817 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function() [all …]
|
H A D | zend_variables.c | 80 switch (Z_TYPE_P(zvalue)) { in _zval_internal_dtor() 111 switch (Z_TYPE_P(zvalue)) { in _zval_internal_dtor_for_ptr() 168 if (EXPECTED(Z_TYPE_P(zvalue) == IS_ARRAY)) { in _zval_copy_ctor_func() 170 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_STRING)) { in _zval_copy_ctor_func() 173 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_CONSTANT)) { in _zval_copy_ctor_func() 176 } else if (EXPECTED(Z_TYPE_P(zvalue) == IS_CONSTANT_AST)) { in _zval_copy_ctor_func()
|
H A D | zend_vm_execute.h | 2682 if (Z_TYPE_P(z) == IS_STRING) { 3832 if (Z_TYPE_P(value) > IS_NULL) { 3914 if (Z_TYPE_P(val) == IS_ARRAY) { 4068 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 6409 if (Z_TYPE_P(op) != IS_LONG) { 6411 if (Z_TYPE_P(op) != IS_LONG) { 13446 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 17428 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 34519 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 38865 if (Z_TYPE_P(op) != IS_LONG) { [all …]
|
H A D | zend_execute.c | 407 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_BP_VAR_W() 432 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_deref_BP_VAR_W() 862 EXPECTED(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE)) { in zend_check_type() 1092 switch(Z_TYPE_P(dim)) { in zend_check_string_offset() 1261 if (Z_TYPE_P(value) != IS_STRING) { in zend_assign_to_string_offset() 1570 switch (Z_TYPE_P(dim)) { in zend_fetch_dimension_address_inner() 1765 switch (Z_TYPE_P(dim)) { in zend_fetch_dimension_address_read() 2057 if (Z_TYPE_P(pz) == IS_INDIRECT) { in zend_check_symbol() 2060 if (Z_TYPE_P(pz) > 10) { in zend_check_symbol() 2688 if (UNEXPECTED(Z_TYPE_P(obj) != IS_STRING) && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT)) { in zend_init_dynamic_call_array() [all …]
|
H A D | zend_vm_def.h | 1366 if (Z_TYPE_P(z) == IS_STRING) { 6212 Z_TYPE_P(value) > IS_NULL && 6543 if (Z_TYPE_P(ptr) == IS_LONG) { 6673 if (Z_TYPE_P(value) > IS_NULL) { 7382 if (Z_TYPE_P(val) == IS_ARRAY) { 7684 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 8051 if (Z_TYPE_P(op) != IS_LONG) { 8053 if (Z_TYPE_P(op) != IS_LONG) { 8080 if (Z_TYPE_P(op) != IS_STRING) { 8082 if (Z_TYPE_P(op) != IS_STRING) { [all …]
|
H A D | zend_exceptions.c | 92 while (Z_TYPE_P(ancestor) == IS_OBJECT) { in zend_exception_set_previous() 101 if (Z_TYPE_P(previous) == IS_NULL) { in zend_exception_set_previous() 310 if (Z_TYPE_P(pvalue) != IS_NULL && Z_TYPE_P(pvalue) != type) { \ 325 if (pvalue && Z_TYPE_P(pvalue) != IS_NULL && (Z_TYPE_P(pvalue) != IS_OBJECT || in ZEND_METHOD() 506 switch (Z_TYPE_P(arg)) { in _build_trace_args() 564 if (Z_TYPE_P(file) != IS_STRING) { in _build_trace_string() 571 if (Z_TYPE_P(tmp) == IS_LONG) { in _build_trace_string() 594 if (Z_TYPE_P(tmp) == IS_ARRAY) { in _build_trace_string() 630 if (Z_TYPE_P(trace) != IS_ARRAY) { in ZEND_METHOD() 634 if (Z_TYPE_P(frame) != IS_ARRAY) { in ZEND_METHOD() [all …]
|
H A D | zend_gc.c | 446 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black() 456 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black() 469 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black() 556 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey() 566 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey() 578 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey() 691 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan() 808 if (Z_TYPE_P(zv) != IS_UNDEF) { 869 if (Z_TYPE_P(zv) != IS_UNDEF) { 890 if (Z_TYPE_P(zv) == IS_INDIRECT) { [all …]
|
/PHP-7.2/ext/standard/ |
H A D | php_mail.h | 34 if (Z_TYPE_P(val) == IS_STRING) { \ 36 } else if (Z_TYPE_P(val) == IS_ARRAY) { \ 50 if (Z_TYPE_P(val) == IS_STRING) { \ 52 } else if (Z_TYPE_P(val) == IS_ARRAY) { \
|
H A D | http.c | 80 if (Z_TYPE_P(zdata) == IS_ARRAY || Z_TYPE_P(zdata) == IS_OBJECT) { in php_url_encode_hash_ex() 142 …(HASH_OF(zdata), formstr, NULL, 0, newprefix, newprefix_len, "%5D", 3, (Z_TYPE_P(zdata) == IS_OBJE… in php_url_encode_hash_ex() 147 } else if (Z_TYPE_P(zdata) == IS_NULL || Z_TYPE_P(zdata) == IS_RESOURCE) { in php_url_encode_hash_ex() 174 switch (Z_TYPE_P(zdata)) { in php_url_encode_hash_ex() 234 if (Z_TYPE_P(formdata) != IS_ARRAY && Z_TYPE_P(formdata) != IS_OBJECT) { in PHP_FUNCTION() 239 …_ex(HASH_OF(formdata), &formstr, prefix, prefix_len, NULL, 0, NULL, 0, (Z_TYPE_P(formdata) == IS_O… in PHP_FUNCTION()
|
H A D | type.c | 104 if (Z_TYPE_P(num) != IS_STRING || base == 10) { in PHP_FUNCTION() 201 if (Z_TYPE_P(arg) == type) { in php_is_type() 244 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION() 303 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION() 334 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION()
|
H A D | var.c | 99 switch (Z_TYPE_P(struc)) { in php_var_dump() 269 switch (Z_TYPE_P(struc)) { in php_debug_zval_dump() 451 switch (Z_TYPE_P(struc)) { in php_var_export_ex() 714 if (Z_TYPE_P(val) != IS_STRING) { in php_var_serialize_collect_names() 753 if (Z_TYPE_P(val) == IS_INDIRECT) { in php_var_serialize_class() 755 if (Z_TYPE_P(val) == IS_UNDEF) { in php_var_serialize_class() 790 if (Z_TYPE_P(val) == IS_UNDEF) { in php_var_serialize_class() 839 switch (Z_TYPE_P(struc)) { in php_var_serialize_intern() 922 if (Z_TYPE_P(struc) == IS_ARRAY) { in php_var_serialize_intern() 961 … if ((Z_TYPE_P(data) == IS_ARRAY && Z_TYPE_P(struc) == IS_ARRAY && Z_ARR_P(data) == Z_ARR_P(struc)) in php_var_serialize_intern() [all …]
|
H A D | array.c | 751 if (Z_TYPE_P(array) == IS_ARRAY) { in php_count_recursive() 791 switch (Z_TYPE_P(array)) { in PHP_FUNCTION() 1405 if (Z_TYPE_P(zv) == IS_UNDEF) { in php_array_walk() 2840 } else if (Z_TYPE_P(zlow) == IS_DOUBLE || Z_TYPE_P(zhigh) == IS_DOUBLE || is_step_double) { 3250 if (Z_TYPE_P(val) != IS_UNDEF) { 3304 if (Z_TYPE_P(val) != IS_UNDEF) { 4105 switch (Z_TYPE_P(param)) { 4215 switch (Z_TYPE_P(zkeyval)) { 5861 if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) { 5890 if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) { [all …]
|
H A D | math.c | 300 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION() 302 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION() 325 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION() 327 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION() 346 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION() 348 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION() 385 switch (Z_TYPE_P(value)) { in PHP_FUNCTION() 813 if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) { in _php_math_basetolong() 922 if (Z_TYPE_P(arg) != IS_LONG || base < 2 || base > 36) { in _php_math_longtobase() 949 if ((Z_TYPE_P(arg) != IS_LONG && Z_TYPE_P(arg) != IS_DOUBLE) || base < 2 || base > 36) { in _php_math_zvaltobase() [all …]
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_wait.c | 142 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() 291 if (Z_TYPE_P(name) == IS_STRING) { in phpdbg_webdata_decompress() 299 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("systemini"))) && Z_TYPE_P(zvp) == IS_ARRAY) { in phpdbg_webdata_decompress() 305 if (key && Z_TYPE_P(ini_entry) == IS_STRING) { in phpdbg_webdata_decompress() 319 if ((zvp = zend_hash_str_find(ht, ZEND_STRL("userini"))) && Z_TYPE_P(zvp) == IS_ARRAY) { in phpdbg_webdata_decompress() [all …]
|
/PHP-7.2/ext/soap/ |
H A D | php_http.c | 40 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() 440 if (Z_TYPE_P(tmp) == IS_LONG) in make_http_soap_request() 547 Z_TYPE_P(tmp) == IS_DOUBLE && in make_http_soap_request() 588 (Z_TYPE_P(tmp) == IS_FALSE || (Z_TYPE_P(tmp) == IS_LONG && Z_LVAL_P(tmp) == 0)))) { in make_http_soap_request() 623 Z_TYPE_P(tmp) == IS_STRING && in make_http_soap_request() 640 Z_TYPE_P(tmp) == IS_STRING && in make_http_soap_request() 880 (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 D | soap.c | 896 if (t_ns && t_code && Z_TYPE_P(t_ns) == IS_STRING && Z_TYPE_P(t_code) == IS_STRING) { in PHP_METHOD() 1141 if (Z_TYPE_P(wsdl) != IS_STRING && Z_TYPE_P(wsdl) != IS_NULL) { in PHP_METHOD() 1189 Z_TYPE_P(tmp) == IS_ARRAY) { in PHP_METHOD() 1194 Z_TYPE_P(tmp) == IS_ARRAY && in PHP_METHOD() 1200 Z_TYPE_P(tmp) == IS_LONG) { in PHP_METHOD() 2295 if (Z_TYPE_P(wsdl) != IS_STRING && Z_TYPE_P(wsdl) != IS_NULL) { 2425 Z_TYPE_P(tmp) == IS_ARRAY) { 2430 Z_TYPE_P(tmp) == IS_ARRAY && 2436 Z_TYPE_P(tmp) == IS_LONG) { 2471 Z_TYPE_P(tmp) == IS_LONG) { [all …]
|
/PHP-7.2/ext/intl/formatter/ |
H A D | formatter_format.c | 57 if(Z_TYPE_P(number) == IS_STRING) { in PHP_FUNCTION() 61 if(Z_TYPE_P(number) == IS_LONG) { in PHP_FUNCTION() 64 } else if(Z_TYPE_P(number) == IS_DOUBLE) { in PHP_FUNCTION() 71 if(Z_TYPE_P(number) != IS_DOUBLE && Z_TYPE_P(number) != IS_LONG) { 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()
|
/PHP-7.2/ext/filter/ |
H A D | filter.c | 388 if (Z_TYPE_P(value) == IS_OBJECT) { in php_zval_filter() 410 if (options && (Z_TYPE_P(options) == IS_ARRAY || Z_TYPE_P(options) == 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() 628 if (Z_TYPE_P(option) == IS_ARRAY) { in php_filter_call() 638 if (Z_TYPE_P(filtered) == IS_ARRAY) { in php_filter_call() 686 } else if (Z_TYPE_P(op) == IS_LONG) { in php_filter_array_handler() 690 } else if (Z_TYPE_P(op) == IS_ARRAY) { in php_filter_array_handler() 753 Z_TYPE_P(opt) == IS_ARRAY && in PHP_FUNCTION() 813 …if (op && (Z_TYPE_P(op) != IS_ARRAY) && !(Z_TYPE_P(op) == IS_LONG && PHP_FILTER_ID_EXISTS(Z_LVAL_P… in PHP_FUNCTION() [all …]
|
/PHP-7.2/ext/intl/collator/ |
H A D | collator_convert.c | 48 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() 388 if( Z_TYPE_P(arg) != IS_STRING ) in collator_make_printable_zval() 425 if( Z_TYPE_P( arg ) != IS_STRING ) in collator_normalize_sort_argument()
|
/PHP-7.2/ext/intl/dateformat/ |
H A D | dateformat_format_object.cpp | 49 if (Z_TYPE_P(z) == IS_LONG) { in valid_format() 85 if (format == NULL || Z_TYPE_P(format) == IS_NULL) { in PHP_FUNCTION() 87 } else if (Z_TYPE_P(format) == IS_ARRAY) { in PHP_FUNCTION() 102 if (Z_TYPE_P(z) != IS_UNDEF) { in PHP_FUNCTION() 118 if (Z_TYPE_P(z) != IS_UNDEF) { in PHP_FUNCTION() 130 } else if (Z_TYPE_P(format) == IS_LONG) { in PHP_FUNCTION()
|
H A D | dateformat_helpers.cpp | 42 if (calendar_zv == NULL || Z_TYPE_P(calendar_zv) == IS_NULL) { in datefmt_process_calendar_arg() 50 } else if (Z_TYPE_P(calendar_zv) == IS_LONG) { in datefmt_process_calendar_arg() 71 } else if (Z_TYPE_P(calendar_zv) == IS_OBJECT && in datefmt_process_calendar_arg()
|
/PHP-7.2/ext/ctype/ |
H A D | ctype.c | 150 if (Z_TYPE_P(c) == IS_LONG) { \ 165 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 170 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 174 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \
|