Home
last modified time | relevance | path

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

/php-src/ext/sockets/
H A Dsockets.c516 static int php_sock_array_to_fd_set(uint32_t arg_num, zval *sock_array, fd_set *fds, PHP_SOCKET *ma… argument
522 if (Z_TYPE_P(sock_array) != IS_ARRAY) return 0;
524 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(sock_array), element) {
549 static void php_sock_array_from_fd_set(zval *sock_array, fd_set *fds) /* {{{ */ argument
558 ZEND_ASSERT(Z_TYPE_P(sock_array) == IS_ARRAY);
561 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(sock_array), num_key, key, element) {
582 zval_ptr_dtor(sock_array);
584 ZVAL_COPY_VALUE(sock_array, &new_hash);

Completed in 8 milliseconds