/PHP-7.1/ext/opcache/Optimizer/ |
H A D | zend_inference.h | 41 …return (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_TRUE || Z_TYPE_P(zv) == IS_FALSE || Z_TYPE_P… 57 if (Z_TYPE_P(zv) == IS_LONG) { \ 59 } else if (Z_TYPE_P(zv) == IS_TRUE) { \ 63 } else if (Z_TYPE_P(zv) == IS_NULL) { \ 81 if (Z_TYPE_P(zv) == IS_LONG) { \ 83 } else if (Z_TYPE_P(zv) == IS_TRUE) { \ 105 …if (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_TRUE || Z_TYPE_P(zv) == IS_FALSE || Z_TYPE_P(zv)… 123 …if (Z_TYPE_P(zv) == IS_LONG || Z_TYPE_P(zv) == IS_TRUE || Z_TYPE_P(zv) == IS_FALSE || Z_TYPE_P(zv)… 159 if (Z_TYPE_P(zv) == IS_CONSTANT) { in DEFINE_SSA_OP_MIN_RANGE() 163 } else if (Z_TYPE_P(zv) == IS_ARRAY) { in DEFINE_SSA_OP_MIN_RANGE() [all …]
|
/PHP-7.1/Zend/ |
H A D | zend_operators.c | 921 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in add_function() 979 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in sub_function() 1026 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in mul_function() 1078 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in pow_function() 1176 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in div_function() 1478 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function() 1554 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function() 1904 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in compare_function() 1995 if (Z_TYPE_P(op1) == IS_OBJECT && Z_TYPE_P(op2) == IS_OBJECT) { in compare_function() 2048 if (Z_TYPE_P(op1) == IS_NULL || Z_TYPE_P(op1) == IS_FALSE) { in compare_function() [all …]
|
H A D | zend_operators.h | 298 switch (Z_TYPE_P(op)) { in i_zend_is_true() 378 if (Z_TYPE_P(pzv)!=upper_type) { \ 413 if (Z_TYPE_P(pzv) != str_type) { \ 426 if (Z_TYPE_P(pzv)!=IS_LONG && Z_TYPE_P(pzv)!=IS_DOUBLE) { \ 590 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_add_function() 687 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG)) { in fast_equal_check_function() 721 if (EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in fast_equal_check_long() 750 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_identical_function() 752 } else if (Z_TYPE_P(op1) <= IS_TRUE) { in fast_is_identical_function() 760 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in fast_is_not_identical_function() [all …]
|
H A D | zend_vm_execute.h | 2661 if (Z_TYPE_P(z) == IS_STRING) { 3785 if (Z_TYPE_P(ptr) == IS_LONG) { 3860 if (Z_TYPE_P(value) > IS_NULL) { 3940 if (Z_TYPE_P(val) == IS_ARRAY) { 4090 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 7930 Z_TYPE_P(value) > IS_NULL && 13212 if (Z_TYPE_P(value) > IS_NULL) { 13401 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 17348 EXPECTED(Z_TYPE_P(value) == IS_TRUE || Z_TYPE_P(value) == IS_FALSE)) { 34707 if (Z_TYPE_P(z) == IS_STRING) { [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_execute.c | 375 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_BP_VAR_W() 400 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_deref_BP_VAR_W() 836 EXPECTED(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE)) { in zend_check_internal_type() 934 EXPECTED(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE)) { in zend_check_type() 1144 switch(Z_TYPE_P(dim)) { in zend_check_string_offset() 1619 switch (Z_TYPE_P(dim)) { in zend_fetch_dimension_address_inner() 1814 switch (Z_TYPE_P(dim)) { in zend_fetch_dimension_address_read() 2020 if (Z_TYPE_P(pz) == IS_INDIRECT) { in zend_check_symbol() 2023 if (Z_TYPE_P(pz) > 10) { in zend_check_symbol() 2701 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 | 1486 if (Z_TYPE_P(z) == IS_STRING) { 1591 if (Z_TYPE_P(retval) == IS_UNDEF) { 5420 if (Z_TYPE_P(expr) != IS_NULL) { 5434 if (Z_TYPE_P(expr) != IS_ARRAY) { 6430 Z_TYPE_P(value) > IS_NULL && 6751 if (Z_TYPE_P(ptr) == IS_LONG) { 6756 if (Z_TYPE_P(ptr) == IS_LONG) { 6870 if (Z_TYPE_P(value) > IS_NULL) { 7078 if (Z_TYPE_P(expr) == IS_OBJECT) { 7557 if (Z_TYPE_P(val) == IS_ARRAY) { [all …]
|
H A D | zend_gc.c | 443 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black() 453 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black() 466 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_scan_black() 552 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey() 562 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey() 566 if (Z_TYPE_P(zv) == IS_OBJECT && in gc_mark_grey() 578 if (Z_TYPE_P(zv) == IS_INDIRECT) { in gc_mark_grey() 581 if (Z_TYPE_P(zv) == IS_OBJECT && in gc_mark_grey() 867 if (Z_TYPE_P(zv) != IS_UNDEF) { 888 if (Z_TYPE_P(zv) == IS_INDIRECT) { [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() 494 switch (Z_TYPE_P(arg)) { in _build_trace_args() 556 if (Z_TYPE_P(file) != IS_STRING) { in _build_trace_string() 563 if (Z_TYPE_P(tmp) == IS_LONG) { in _build_trace_string() 586 if (Z_TYPE_P(tmp) == IS_ARRAY) { in _build_trace_string() 622 if (Z_TYPE_P(trace) != IS_ARRAY) { in ZEND_METHOD() 626 if (Z_TYPE_P(frame) != IS_ARRAY) { in ZEND_METHOD() [all …]
|
H A D | zend_object_handlers.c | 532 if (EXPECTED(Z_TYPE_P(zv) == IS_STRING)) { in zend_get_property_guard() 561 ZEND_ASSERT(Z_TYPE_P(zv) == IS_UNDEF); in zend_get_property_guard() 657 if (Z_TYPE_P(rv) != IS_UNDEF) { in zend_std_read_property() 716 if (Z_TYPE_P(variable_ptr) != IS_UNDEF) { in zend_std_write_property() 989 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property() 1504 if (Z_TYPE_P(p1) != IS_UNDEF) { in zend_std_compare_objects() 1505 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects() 1524 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects() 1570 if (Z_TYPE_P(value) != IS_UNDEF) { in zend_std_has_property() 1579 result = (Z_TYPE_P(value) != IS_NULL); in zend_std_has_property() [all …]
|
/PHP-7.1/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.1/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() 596 Z_TYPE_P(tmp) == IS_STRING) { in make_http_soap_request() 782 Z_TYPE_P(tmp) == IS_STRING) { in make_http_soap_request() 861 (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 | 907 if (Z_TYPE_P(t_ns) == IS_STRING && Z_TYPE_P(t_code) == IS_STRING) { in PHP_METHOD() 1152 if (Z_TYPE_P(wsdl) != IS_STRING && Z_TYPE_P(wsdl) != IS_NULL) { in PHP_METHOD() 1200 Z_TYPE_P(tmp) == IS_ARRAY) { in PHP_METHOD() 1205 Z_TYPE_P(tmp) == IS_ARRAY && in PHP_METHOD() 1211 Z_TYPE_P(tmp) == IS_LONG) { in PHP_METHOD() 2316 if (Z_TYPE_P(wsdl) != IS_STRING && Z_TYPE_P(wsdl) != IS_NULL) { 2446 Z_TYPE_P(tmp) == IS_ARRAY) { 2451 Z_TYPE_P(tmp) == IS_ARRAY && 2457 Z_TYPE_P(tmp) == IS_LONG) { 2492 Z_TYPE_P(tmp) == IS_LONG) { [all …]
|
/PHP-7.1/ext/standard/ |
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() 239 if (Z_TYPE_P(formdata) != IS_ARRAY && Z_TYPE_P(formdata) != IS_OBJECT) { in PHP_FUNCTION() 244 …_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 | 34 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION() 151 if (Z_TYPE_P(num) != IS_STRING || base == 10) { in PHP_FUNCTION() 248 if (Z_TYPE_P(arg) == type) { in php_is_type() 298 RETURN_BOOL(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE); in PHP_FUNCTION() 357 switch (Z_TYPE_P(arg)) { in PHP_FUNCTION() 388 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() 683 if (Z_TYPE_P(val) != IS_STRING) { in php_var_serialize_collect_names() 742 if (Z_TYPE_P(d) == IS_INDIRECT) { in php_var_serialize_class() 744 if (Z_TYPE_P(d) == IS_UNDEF) { in php_var_serialize_class() 776 if (Z_TYPE_P(d) == IS_UNDEF) { in php_var_serialize_class() 832 switch (Z_TYPE_P(struc)) { in php_var_serialize_intern() 931 if (Z_TYPE_P(struc) == IS_ARRAY) { in php_var_serialize_intern() 970 … 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 | math.c | 299 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION() 301 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION() 324 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION() 326 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION() 345 if (Z_TYPE_P(value) == IS_DOUBLE) { in PHP_FUNCTION() 347 } else if (Z_TYPE_P(value) == IS_LONG) { in PHP_FUNCTION() 381 switch (Z_TYPE_P(value)) { in PHP_FUNCTION() 808 if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) { in _php_math_basetolong() 917 if (Z_TYPE_P(arg) != IS_LONG || base < 2 || base > 36) { in _php_math_longtobase() 944 if ((Z_TYPE_P(arg) != IS_LONG && Z_TYPE_P(arg) != IS_DOUBLE) || base < 2 || base > 36) { in _php_math_zvaltobase() [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() 1392 if (Z_TYPE_P(zv) == IS_UNDEF) { in php_array_walk() 2192 } else if (Z_TYPE_P(zlow) == IS_DOUBLE || Z_TYPE_P(zhigh) == IS_DOUBLE || is_step_double) { 2601 if (Z_TYPE_P(val) != IS_UNDEF) { 2655 if (Z_TYPE_P(val) != IS_UNDEF) { 3422 switch (Z_TYPE_P(param)) { 3529 switch (Z_TYPE_P(zkeyval)) { 5145 if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) { 5174 if (Z_TYPE_P(entry) == IS_ARRAY || Z_TYPE_P(entry) == IS_OBJECT) { [all …]
|
/PHP-7.1/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.1/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.1/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.1/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.1/ext/ctype/ |
H A D | ctype.c | 149 if (Z_TYPE_P(c) == IS_LONG) { \ 164 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 169 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \ 173 if (Z_TYPE_P(c) == IS_LONG) zval_dtor(&tmp); \
|
/PHP-7.1/ext/mcrypt/ |
H A D | mcrypt_filter.c | 174 if (!filterparams || Z_TYPE_P(filterparams) != IS_ARRAY) { in php_mcrypt_filter_create() 180 if (Z_TYPE_P(tmpzval) == IS_STRING) { in php_mcrypt_filter_create() 188 if (Z_TYPE_P(tmpzval) == IS_STRING) { in php_mcrypt_filter_create() 196 if (Z_TYPE_P(tmpzval) == IS_STRING) { in php_mcrypt_filter_create() 204 Z_TYPE_P(tmpzval) == IS_STRING) { in php_mcrypt_filter_create() 224 Z_TYPE_P(tmpzval) != IS_STRING) { in php_mcrypt_filter_create()
|