Home
last modified time | relevance | path

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

/PHP-7.0/ext/sockets/
H A Dsockets.c785 static int php_sock_array_to_fd_set(zval *sock_array, fd_set *fds, PHP_SOCKET *max_fd) /* {{{ */ argument
791 if (Z_TYPE_P(sock_array) != IS_ARRAY) return 0;
793 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(sock_array), element) {
808 static int php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
818 if (Z_TYPE_P(sock_array) != IS_ARRAY) return 0;
821 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(sock_array), num_key, key, element) {
840 zval_ptr_dtor(sock_array);
842 ZVAL_COPY_VALUE(sock_array, &new_hash);

Completed in 25 milliseconds