Home
last modified time | relevance | path

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

/PHP-8.0/ext/sockets/
H A Dsockets.c647 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
653 if (Z_TYPE_P(sock_array) != IS_ARRAY) return 0;
655 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(sock_array), element) {
680 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
690 ZEND_ASSERT(Z_TYPE_P(sock_array) == IS_ARRAY);
693 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(sock_array), num_key, key, element) {
715 zval_ptr_dtor(sock_array);
717 ZVAL_COPY_VALUE(sock_array, &new_hash);

Completed in 8 milliseconds