/php-src/ext/zend_test/tests/ |
H A D | observer_retval_05.phpt | 2 Observer: Retvals are observable that are: IS_CV, IS_UNDEF 13 return $i_do_not_exist; // IS_CV && IS_UNDEF
|
/php-src/ext/standard/ |
H A D | assert.c | 51 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_INI_MH() 55 if (new_value && (Z_TYPE(ASSERTG(callback)) != IS_UNDEF || ZSTR_LEN(new_value))) { in PHP_INI_MH() 159 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION() 201 if (Z_TYPE(ASSERTG(callback)) == IS_UNDEF && ASSERTG(cb)) { in PHP_FUNCTION() 205 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION() 314 if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) { in PHP_FUNCTION()
|
H A D | array.c | 679 if (Z_TYPE(retval) != IS_UNDEF) { in PHP_FUNCTION() 1498 if (Z_TYPE_P(zv) == IS_UNDEF) { in php_array_walk() 1562 if (Z_TYPE(args[1]) != IS_UNDEF) { in php_array_walk() 1871 if (Z_TYPE_P(orig_var) == IS_UNDEF) { 3565 if (Z_TYPE_P(val) != IS_UNDEF) { 3589 if (Z_TYPE_P(val) != IS_UNDEF) { 3632 if (Z_TYPE_P(val) != IS_UNDEF) { 3686 if (Z_TYPE_P(val) != IS_UNDEF) { 5334 if (Z_TYPE(p->val) == IS_UNDEF) { 7002 if (Z_TYPE(chunk) == IS_UNDEF) { [all …]
|
/php-src/Zend/ |
H A D | zend_hash.c | 852 if (Z_TYPE_P(data) != IS_UNDEF) { in _zend_hash_add_or_update_i() 931 if (Z_TYPE_P(data) != IS_UNDEF) { in _zend_hash_str_add_or_update_i() 1101 if (Z_TYPE_P(zv) != IS_UNDEF) { in _zend_hash_index_add_or_update_i() 1705 if (Z_TYPE_P(zv) != IS_UNDEF) { in zend_hash_index_del() 2578 if (UNEXPECTED(Z_TYPE_P(s) == IS_UNDEF)) { in zend_hash_merge() 2614 if (UNEXPECTED(Z_TYPE_P(s) == IS_UNDEF)) { in zend_hash_merge() 2711 if (Z_TYPE_P(zv) != IS_UNDEF) { in zend_hash_index_find() 3092 if (Z_TYPE_P(pData1) == IS_UNDEF) continue; in zend_hash_compare_impl() 3154 if (Z_TYPE_P(pData1) == IS_UNDEF) { in zend_hash_compare_impl() 3155 if (Z_TYPE_P(pData2) != IS_UNDEF) { in zend_hash_compare_impl() [all …]
|
H A D | zend_enum.c | 69 ce->enum_backing_type != IS_UNDEF in zend_verify_enum_properties() 149 if (class_type->enum_backing_type == IS_UNDEF) { in zend_implement_backed_enum() 177 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_add_interfaces() 188 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_add_interfaces() 202 ZEND_ASSERT(backing_type != IS_UNDEF); in zend_enum_build_backed_enum_table() 448 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_register_funcs() 480 if (ce->enum_backing_type != IS_UNDEF) { in zend_enum_register_props() 503 ZEND_ASSERT(type == IS_UNDEF || type == IS_LONG || type == IS_STRING); in zend_register_internal_enum() 511 if (type != IS_UNDEF) { in zend_register_internal_enum() 518 if (type == IS_UNDEF) { in zend_register_internal_enum() [all …]
|
H A D | zend_property_hooks.c | 76 if (UNEXPECTED(Z_TYPE_P(OBJ_PROP(zobj, prop_info->offset)) == IS_UNDEF)) { in zho_build_properties_ex() 145 if (Z_TYPE_P(property) == IS_UNDEF) { in zho_declared_it_fetch_current() 173 ZEND_ASSERT(Z_TYPE(bucket->val) != IS_UNDEF); in zho_dynamic_it_fetch_current() 188 if (Z_TYPE(hooked_iter->current_data) != IS_UNDEF) { in zho_it_fetch_current() 200 if (Z_TYPE(hooked_iter->current_data) != IS_UNDEF || EG(exception)) { in zho_it_fetch_current() 223 return Z_TYPE(hooked_iter->current_data) != IS_UNDEF ? SUCCESS : FAILURE; in zho_it_valid()
|
H A D | zend_object_handlers.c | 630 ZEND_ASSERT(Z_TYPE_P(zv) == IS_UNDEF); in zend_get_property_guard() 838 if (Z_TYPE_P(rv) != IS_UNDEF) { in zend_std_read_property() 898 if (Z_TYPE_P(rv) != IS_UNDEF) { in zend_std_read_property() 982 && Z_TYPE_P(variable_ptr) != IS_UNDEF in zend_std_write_property() 996 if (Z_TYPE_P(variable_ptr) != IS_UNDEF) { in zend_std_write_property() 1426 && Z_TYPE_P(slot) != IS_UNDEF in zend_std_unset_property() 1438 if (Z_TYPE_P(slot) != IS_UNDEF) { in zend_std_unset_property() 2115 if (Z_TYPE_P(p1) != IS_UNDEF) { in zend_std_compare_objects() 2116 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects() 2129 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects() [all …]
|
H A D | zend_vm_def.h | 31 if (UNEXPECTED(Z_TYPE_INFO_P(op_1) == IS_UNDEF)) { in ZEND_VM_HELPER() 34 if (UNEXPECTED(Z_TYPE_INFO_P(op_2) == IS_UNDEF)) { in ZEND_VM_HELPER() 1761 if (Z_TYPE_P(retval) == IS_UNDEF) { 5655 if (Z_TYPE_P(cache_val) != IS_UNDEF) { 6991 if (EXPECTED(value_type != IS_UNDEF)) { in ZEND_VM_HELPER() 6995 if (EXPECTED(value_type != IS_UNDEF) in ZEND_VM_HELPER() 7105 if (EXPECTED(value_type != IS_UNDEF)) { 7129 if (EXPECTED(value_type != IS_UNDEF)) { 7242 if (EXPECTED(value_type != IS_UNDEF) 10322 if (EXPECTED(value_type != IS_UNDEF)) { [all …]
|
H A D | zend_enum.h | 58 ZEND_ASSERT(zobj->ce->enum_backing_type != IS_UNDEF); in zend_enum_fetch_case_value()
|
H A D | zend_type_info.h | 24 #define MAY_BE_UNDEF (1 << IS_UNDEF)
|
H A D | zend_hash.h | 200 if (UNEXPECTED(Z_TYPE_P(_ret) == IS_UNDEF)) { \ 223 if (EXPECTED(Z_TYPE_P(_ret) != IS_UNDEF)) { \ 442 Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF); in zend_hash_exists_ind() 462 Z_TYPE_P(Z_INDIRECT_P(zv)) != IS_UNDEF); in zend_hash_str_exists_ind() 1008 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; 1017 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; 1043 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; 1072 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; 1246 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; 1262 if (UNEXPECTED(Z_TYPE_P(_z) == IS_UNDEF)) continue; [all …]
|
H A D | zend_variables.c | 40 [IS_UNDEF] = (zend_rc_dtor_func_t)zend_empty_destroy,
|
H A D | zend_builtin_functions.c | 288 if (EXPECTED(Z_TYPE_INFO_P(q) != IS_UNDEF)) { in ZEND_FUNCTION() 305 if (EXPECTED(Z_TYPE_INFO_P(q) != IS_UNDEF)) { in ZEND_FUNCTION() 1280 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION() 1302 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION() 1336 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION() 1356 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION() 1641 if (Z_TYPE(modules[module_number]) == IS_UNDEF) { in ZEND_FUNCTION() 1731 if (EXPECTED(Z_TYPE_INFO_P(p) != IS_UNDEF)) { in debug_backtrace_get_args() 1771 if (EXPECTED(Z_TYPE_INFO_P(p) != IS_UNDEF)) { in debug_backtrace_get_args() 1917 if (Z_TYPE_P(arg) == IS_UNDEF) goto not_frameless_call; in zend_fetch_debug_backtrace() [all …]
|
H A D | zend_highlight.c | 121 if (Z_TYPE(token) == IS_UNDEF) { in zend_highlight()
|
H A D | zend_vm_execute.h | 739 if (UNEXPECTED(Z_TYPE_P(op_1) == IS_UNDEF)) { in zend_bw_not_helper_SPEC() 2918 if (EXPECTED(value_type != IS_UNDEF)) { in zend_fe_fetch_object_helper_SPEC() 2922 if (EXPECTED(value_type != IS_UNDEF) in zend_fe_fetch_object_helper_SPEC() 4076 if (Z_TYPE_P(cache_val) != IS_UNDEF) { in ZEND_RECV_INIT_SPEC_CONST_HANDLER() 5662 && UNEXPECTED(Z_TYPE_P(val) == IS_UNDEF) in ZEND_JMP_NULL_SPEC_CONST_HANDLER() 10472 if (Z_TYPE_P(retval) == IS_UNDEF) { in zend_fetch_var_address_helper_SPEC_CONST_UNUSED() 18504 if (Z_TYPE_P(retval) == IS_UNDEF) { in zend_fetch_var_address_helper_SPEC_TMPVAR_UNUSED() 22935 if (EXPECTED(value_type != IS_UNDEF)) { in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER() 22959 if (EXPECTED(value_type != IS_UNDEF)) { in ZEND_FE_FETCH_R_SPEC_VAR_HANDLER() 23072 if (EXPECTED(value_type != IS_UNDEF) in ZEND_FE_FETCH_RW_SPEC_VAR_HANDLER() [all …]
|
H A D | zend_execute.c | 321 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv() 335 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_deref() 351 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_BP_VAR_R() 391 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_BP_VAR_W() 1749 case IS_UNDEF: in zend_check_string_offset() 2532 case IS_UNDEF: { in slow_index_convert() 2600 case IS_UNDEF: { in slow_index_convert_w() 2968 case IS_UNDEF: in zend_fetch_dimension_address_read() 3256 if (Z_TYPE_P(key) == IS_UNDEF) { in zend_array_key_exists_error() 3259 if (Z_TYPE_P(subject) == IS_UNDEF) { in zend_array_key_exists_error() [all …]
|
H A D | zend_generators.c | 280 if (UNEXPECTED(Z_TYPE(generator->values) != IS_UNDEF)) { in zend_generator_dtor_storage() 530 if (UNEXPECTED(Z_TYPE(generator->values) != IS_UNDEF)) { in zend_generator_throw_exception() 890 …if (UNEXPECTED(Z_TYPE(generator->value) == IS_UNDEF) && EXPECTED(generator->execute_data) && EXPEC… in zend_generator_ensure_initialized() 949 if (EXPECTED(generator->execute_data != NULL && Z_TYPE(root->value) != IS_UNDEF)) { in ZEND_METHOD() 967 if (EXPECTED(generator->execute_data != NULL && Z_TYPE(root->key) != IS_UNDEF)) { in ZEND_METHOD() 1151 if (EXPECTED(Z_TYPE(root->key) != IS_UNDEF)) { in zend_generator_iterator_get_key()
|
/php-src/win32/ |
H A D | signal.c | 31 if (IS_UNDEF != Z_TYPE(ctrl_handler)) { in php_win32_signal_ctrl_interrupt_function() 152 if (IS_UNDEF != Z_TYPE(ctrl_handler)) { in PHP_FUNCTION()
|
/php-src/main/streams/ |
H A D | userspace.c | 328 if (Z_TYPE(us->object) == IS_UNDEF) { in user_wrapper_opener() 417 if (Z_TYPE(us->object) == IS_UNDEF) { in user_wrapper_opendir() 586 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in php_userstreamop_write() 726 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF && zval_is_true(&retval)) in php_userstreamop_flush() 947 if (call_result == SUCCESS && Z_TYPE(retval) != IS_UNDEF) { in php_userstreamop_set_option() 1043 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_unlink() 1082 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_rename() 1123 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_mkdir() 1166 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_rmdir() 1231 if (Z_TYPE(object) == IS_UNDEF) { in user_wrapper_metadata() [all …]
|
/php-src/ext/readline/ |
H A D | readline.c | 101 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_RSHUTDOWN_FUNCTION() 538 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION() 558 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION() 571 if (Z_TYPE(_prepped_callback) != IS_UNDEF) { in PHP_FUNCTION()
|
/php-src/ext/spl/ |
H A D | spl_iterators.c | 303 if (Z_TYPE(retval) != IS_UNDEF) { in spl_recursive_it_move_forward_ex() 799 if (Z_TYPE_P(zobject) == IS_UNDEF) { in PHP_METHOD() 803 if (Z_TYPE_P(return_value) == IS_UNDEF) { in PHP_METHOD() 821 if (Z_TYPE_P(zobject) == IS_UNDEF) { in PHP_METHOD() 825 if (Z_TYPE_P(return_value) == IS_UNDEF) { in PHP_METHOD() 1004 if (Z_TYPE(has_next) != IS_UNDEF) { in spl_recursive_tree_iterator_get_prefix() 1014 if (Z_TYPE(has_next) != IS_UNDEF) { in spl_recursive_tree_iterator_get_prefix() 1599 if (Z_TYPE(retval) != IS_UNDEF) { in spl_filter_it_fetch() 1684 if (Z_TYPE(childrens) == IS_UNDEF) { in PHP_METHOD() 1706 if (Z_TYPE(params[0]) == IS_UNDEF) { in PHP_METHOD() [all …]
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 394 case IS_UNDEF: in zend_jit_fetch_dim_r_helper() 536 case IS_UNDEF: in zend_jit_fetch_dim_is_helper() 676 case IS_UNDEF: in zend_jit_fetch_dim_isset_helper() 782 case IS_UNDEF: in zend_jit_fetch_dim_rw_helper() 914 case IS_UNDEF: in zend_jit_fetch_dim_w_helper() 1051 case IS_UNDEF: in zend_check_string_offset() 1131 case IS_UNDEF: in zend_jit_fetch_dim_str_is_helper() 1176 if (UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_fetch_dim_obj_r_helper() 1203 if (UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_jit_fetch_dim_obj_is_helper() 2108 if (Z_TYPE_P(ptr) == IS_UNDEF) { in zend_handle_fetch_obj_flags() [all …]
|
/php-src/ext/com_dotnet/ |
H A D | com_iterator.c | 56 if (Z_TYPE(I->zdata) != IS_UNDEF) { in com_iter_valid() 90 if (Z_TYPE(I->zdata) != IS_UNDEF) { in com_iter_move_forwards()
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 106 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_move_user_functions() 137 if (UNEXPECTED(Z_TYPE(p->val) == IS_UNDEF)) continue; in zend_accel_move_user_classes() 158 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in _zend_accel_function_hash_copy() 209 ZEND_ASSERT(Z_TYPE(p->val) != IS_UNDEF); in _zend_accel_class_hash_copy()
|
/php-src/ext/json/ |
H A D | json_encoder.c | 158 if (Z_TYPE_P(prop) == IS_UNDEF) { in php_json_encode_array() 587 …FAILURE == call_user_function(NULL, val, &fname, &retval, 0, NULL) || Z_TYPE(retval) == IS_UNDEF) { in php_json_encode_serializable_object() 633 if (ce->enum_backing_type == IS_UNDEF) { in php_json_encode_serializable_enum()
|