Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 25 of 51) sorted by path

123

/PHP-7.4/
H A D.gdbinit436 printf " %s", $ce->interfaces[$tmp]->name->val
450 set $ce = $ce->interfaces[0]
H A DREADME.REDIST.BINS158 and crypt(3) interfaces added, but optimizations specific to password
H A DUPGRADING.INTERNALS163 about interfaces and traits is kept in zend_class_entry structure and
/PHP-7.4/Zend/tests/
H A Dbug30922.phpt2 Bug #30922 (reflective functions crash PHP when interfaces extend themselves)
H A Dbug53727.phpt2 Bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
H A Dbug71428.2.phpt2 bug #71428.2: inheritance of ye olde dynamic interfaces
H A Dns_054.phpt2 054: namespace and interfaces
/PHP-7.4/Zend/tests/traits/
H A Dbug60145.phpt2 Bug #60145 (Usage of trait's use statement inside interfaces not properly checked.)
17 Fatal error: Cannot use traits inside of interfaces. foo is used in MyInterface in %s on line %d
/PHP-7.4/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload4.phpt6 // Same as autoload3 test case, but with X, Y being interfaces.
/PHP-7.4/Zend/
H A Dzend.h166 zend_class_entry **interfaces; member
H A Dzend_API.h221 class_container.interfaces = NULL; \
H A Dzend_compile.c1689 ce->interfaces = NULL; in zend_initialize_class_data()
H A Dzend_inheritance.c1035 entry = iface->interfaces[if_num]; in zend_do_inherit_interfaces()
1037 if (ce->interfaces[i] == entry) { in zend_do_inherit_interfaces()
1415 if (ce->interfaces[i] == NULL) { in zend_do_implement_interface()
1461 efree(interfaces); in zend_do_implement_interfaces()
1466 if (interfaces[j] == iface) { in zend_do_implement_interfaces()
1468 efree(interfaces); in zend_do_implement_interfaces()
1482 interfaces[num_interfaces] = iface; in zend_do_implement_interfaces()
1494 ce->interfaces = interfaces; in zend_do_implement_interfaces()
2479 interfaces = emalloc( in zend_do_link_class()
2482 memcpy(interfaces, parent->interfaces, in zend_do_link_class()
[all …]
H A Dzend_interfaces.c297 …if (class_type->interfaces[i] == zend_ce_aggregate || class_type->interfaces[i] == zend_ce_iterato… in zend_implement_traversable()
327 if (class_type->interfaces[i] == zend_ce_iterator) { in zend_implement_aggregate()
334 if (class_type->interfaces[i] == zend_ce_traversable) { in zend_implement_aggregate()
H A Dzend_opcode.c336 efree(ce->interfaces); in destroy_zend_class()
401 free(ce->interfaces); in destroy_zend_class()
H A Dzend_operators.c2334 if (instance_ce->interfaces[i] == ce) { in instanceof_interface()
/PHP-7.4/ext/bcmath/libbcmath/
H A DLICENSE410 certain countries either by patents or by copyrighted interfaces, the
/PHP-7.4/ext/com_dotnet/
H A Dcom_typeinfo.c183 int i, j, interfaces; in php_com_import_typelib() local
198 interfaces = ITypeLib_GetTypeInfoCount(TL); in php_com_import_typelib()
199 for (i = 0; i < interfaces; i++) { in php_com_import_typelib()
/PHP-7.4/ext/gd/tests/
H A DRochester-Regular.otf.LICENSE.txt46 separable from, or merely link (or bind by name) to the interfaces of,
/PHP-7.4/ext/mbstring/libmbfl/
H A DLICENSE406 certain countries either by patents or by copyrighted interfaces, the
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c3387 p = ce->interfaces[i]; in preload_sort_classes()
H A Dzend_accelerator_util_funcs.c333 zend_class_entry **interfaces = emalloc(sizeof(zend_class_entry*) * ce->num_interfaces); in zend_class_copy_ctor() local
337 if (IN_ARENA(ce->interfaces[i])) { in zend_class_copy_ctor()
338 interfaces[i] = ARENA_REALLOC(ce->interfaces[i]); in zend_class_copy_ctor()
340 interfaces[i] = ce->interfaces[i]; in zend_class_copy_ctor()
343 ce->interfaces = interfaces; in zend_class_copy_ctor()
H A Dzend_persist.c907 …ce->interfaces = zend_shared_memdup_free(ce->interfaces, sizeof(zend_class_entry*) * ce->num_inter… in zend_update_parent_ce()
909 if (ce->interfaces[i]->type == ZEND_USER_CLASS) { in zend_update_parent_ce()
910 zend_class_entry *tmp = zend_shared_alloc_get_xlat_entry(ce->interfaces[i]); in zend_update_parent_ce()
912 ce->interfaces[i] = tmp; in zend_update_parent_ce()
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c349 smart_str_append_printf(str, " extends %s", ZSTR_VAL(ce->interfaces[0]->name)); in _class_string()
351 smart_str_append_printf(str, " implements %s", ZSTR_VAL(ce->interfaces[0]->name)); in _class_string()
354 smart_str_append_printf(str, ", %s", ZSTR_VAL(ce->interfaces[i]->name)); in _class_string()
4865 zend_reflection_class_factory(ce->interfaces[i], &interface); in ZEND_METHOD()
4866 zend_hash_update(Z_ARRVAL_P(return_value), ce->interfaces[i]->name, &interface); in ZEND_METHOD()
4896 add_next_index_str(return_value, zend_string_copy(ce->interfaces[i]->name)); in ZEND_METHOD()
/PHP-7.4/ext/reflection/tests/
H A DReflectionClass_getInterfaces_001.phpt38 $interfaces = $rc->getInterfaces();
39 // Sort interfaces so that tests do not fail because of wrong order.
40 ksort($interfaces);
41 print_r($interfaces);

Completed in 134 milliseconds

123