Lines Matching refs:UNEXPECTED
61 if (UNEXPECTED(func->type == ZEND_INTERNAL_FUNCTION)) { in zend_duplicate_function()
62 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in zend_duplicate_function()
143 …if (ce->parent->constructor && UNEXPECTED(ce->parent->constructor->common.fn_flags & ZEND_ACC_FINA… in do_inherit_parent_constructor()
532 if (UNEXPECTED(parent_flags & ZEND_ACC_FINAL)) { in do_inheritance_check_on_method()
539 if (UNEXPECTED((child_flags & ZEND_ACC_STATIC) != (parent_flags & ZEND_ACC_STATIC))) { in do_inheritance_check_on_method()
548 if (UNEXPECTED((child_flags & ZEND_ACC_ABSTRACT) > (parent_flags & ZEND_ACC_ABSTRACT))) { in do_inheritance_check_on_method()
557 if (UNEXPECTED((child_flags & ZEND_ACC_PPP_MASK) > (parent_flags & ZEND_ACC_PPP_MASK))) { in do_inheritance_check_on_method()
580 if (UNEXPECTED(!zend_do_perform_implementation_check(child, parent))) { in do_inheritance_check_on_method()
642 if (UNEXPECTED(child)) { in do_inherit_property()
644 if (UNEXPECTED(parent_info->flags & (ZEND_ACC_PRIVATE|ZEND_ACC_SHADOW))) { in do_inherit_property()
647 … if (UNEXPECTED((parent_info->flags & ZEND_ACC_STATIC) != (child_info->flags & ZEND_ACC_STATIC))) { in do_inherit_property()
657 …if (UNEXPECTED((child_info->flags & ZEND_ACC_PPP_MASK) > (parent_info->flags & ZEND_ACC_PPP_MASK))… in do_inherit_property()
671 if (UNEXPECTED(parent_info->flags & (ZEND_ACC_PRIVATE|ZEND_ACC_SHADOW))) { in do_inherit_property()
672 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in do_inherit_property()
680 if (UNEXPECTED(ce->type & ZEND_INTERNAL_CLASS)) { in do_inherit_property()
696 if (UNEXPECTED(ce == iface)) { in do_implement_interface()
765 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_INTERFACE)) { in zend_do_inheritance()
767 if (UNEXPECTED(!(parent_ce->ce_flags & ZEND_ACC_INTERFACE))) { in zend_do_inheritance()
770 } else if (UNEXPECTED(parent_ce->ce_flags & (ZEND_ACC_INTERFACE|ZEND_ACC_TRAIT|ZEND_ACC_FINAL))) { in zend_do_inheritance()
1124 if (UNEXPECTED(!zend_traits_method_compatibility_check(fn, existing_fn))) { in zend_add_trait_method()
1131 if (UNEXPECTED(!zend_traits_method_compatibility_check(existing_fn, fn))) { in zend_add_trait_method()
1148 if (UNEXPECTED(!zend_traits_method_compatibility_check(fn, existing_fn))) { in zend_add_trait_method()
1155 if (UNEXPECTED(!zend_traits_method_compatibility_check(existing_fn, fn))) { in zend_add_trait_method()
1161 } else if (UNEXPECTED(existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_add_trait_method()
1281 if (UNEXPECTED((trait->ce_flags & ZEND_ACC_TRAIT) != ZEND_ACC_TRAIT)) { in zend_check_trait_usage()