Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 10 of 10) sorted by relevance

/PHP-7.3/ext/reflection/tests/
H A DReflectionClass_isInstantiable_basic.phpt8 interface iface {
12 class ifaceImpl implements iface {
25 $classes = array("C", "iface", "ifaceImpl", "abstractClass", "D");
37 Is iface instantiable? bool(false)
H A DReflectionObject_isInstantiable_basic.phpt8 interface iface {
12 class ifaceImpl implements iface {
/PHP-7.3/ext/standard/
H A Dnet.c187 zval iface, unicast; in PHP_FUNCTION() local
193 array_init(&iface); in PHP_FUNCTION()
199 add_assoc_string(&iface, "description", tmp); in PHP_FUNCTION()
211 add_assoc_str(&iface, "mac", mac); in PHP_FUNCTION()
218 add_assoc_long(&iface, "mtu", p->Mtu); in PHP_FUNCTION()
253 add_assoc_zval(&iface, "unicast", &unicast); in PHP_FUNCTION()
255 add_assoc_zval(return_value, p->AdapterName, &iface); in PHP_FUNCTION()
273 zval *iface = zend_hash_str_find(Z_ARR_P(return_value), p->ifa_name, strlen(p->ifa_name)); in PHP_FUNCTION()
276 if (!iface) { in PHP_FUNCTION()
282 unicast = zend_hash_str_find(Z_ARR_P(iface), "unicast", sizeof("unicast") - 1); in PHP_FUNCTION()
[all …]
/PHP-7.3/Zend/
H A Dzend_inheritance.h27 ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, const zend_class_entry *iface);
28 ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface);
H A Dzend_inheritance.c725 …ce->ce_flags & ZEND_ACC_INTERFACE) && iface->interface_gets_implemented && iface->interface_gets_i… in do_implement_interface()
728 if (UNEXPECTED(ce == iface)) { in do_implement_interface()
737 uint32_t i, ce_num, if_num = iface->num_interfaces; in zend_do_inherit_interfaces()
753 entry = iface->interfaces[if_num]; in zend_do_inherit_interfaces()
1049 } else if (ce->interfaces[i] == iface) { in zend_do_implement_interface()
1060 do_inherit_constant_check(&iface->constants_table, c, key, iface); in zend_do_implement_interface()
1070 ce->interfaces[ce->num_interfaces++] = iface; in zend_do_implement_interface()
1072 ZEND_HASH_FOREACH_STR_KEY_PTR(&iface->constants_table, key, c) { in zend_do_implement_interface()
1073 do_inherit_iface_constant(key, c, ce, iface); in zend_do_implement_interface()
1084 do_implement_interface(ce, iface); in zend_do_implement_interface()
[all …]
H A Dzend.h146 …int (*interface_gets_implemented)(zend_class_entry *iface, zend_class_entry *class_type); /* a cla…
H A Dzend_vm_def.h6853 zend_class_entry *iface; variable
6856iface = zend_fetch_class_by_name(Z_STR_P(RT_CONSTANT(opline, opline->op2)), RT_CONSTANT(opline, op…
6857 if (UNEXPECTED(iface == NULL)) {
6862 if (UNEXPECTED((iface->ce_flags & ZEND_ACC_INTERFACE) == 0)) {
6863 …ROR, "%s cannot implement %s - it is not an interface", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name));
6865 zend_do_implement_interface(ce, iface);
H A Dzend_vm_execute.h2266 zend_class_entry *iface; local
2269iface = zend_fetch_class_by_name(Z_STR_P(RT_CONSTANT(opline, opline->op2)), RT_CONSTANT(opline, op…
2270 if (UNEXPECTED(iface == NULL)) {
2275 if (UNEXPECTED((iface->ce_flags & ZEND_ACC_INTERFACE) == 0)) {
2276 …ROR, "%s cannot implement %s - it is not an interface", ZSTR_VAL(ce->name), ZSTR_VAL(iface->name));
2278 zend_do_implement_interface(ce, iface);
/PHP-7.3/ext/standard/tests/network/
H A Dnet_get_interfaces_001.phpt15 foreach ($ifaces as $iface) {
16 foreach ($iface['unicast'] as $unicast) {
/PHP-7.3/
H A Dltmain.sh3359 iface=`expr $revision - $loop`
3361 verstring="$verstring_prefix$major.$iface:$verstring"
3382 iface=`expr $current - $loop`
3384 verstring="$verstring:${iface}.0"

Completed in 153 milliseconds