{
zval **error;
const char *buf;
- char *obuf;
if (ZEND_NUM_ARGS() != 1 ||
zend_get_parameters_ex(1, &error) == FAILURE) {
{
zval **iovec_id;
php_iovec_t *vector;
- int pos;
if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &iovec_id) == FAILURE) {
WRONG_PARAM_COUNT;
Creates a pair of indistinguishable sockets and stores them in fds. */
PHP_FUNCTION(socketpair)
{
- zval **domain, **type, **protocol, **fds, **fd;
+ zval **domain, **type, **protocol, **fds;
int ret, fds_ar[2];
- HashTable *fd_ar;
if (ZEND_NUM_ARGS() != 4 ||
zend_get_parameters_ex(4, &domain, &type, &protocol, &fds) == FAILURE) {