Lines Matching refs:errstr
98 char *errstr = NULL; in PHP_FUNCTION() local
134 hashkey, &tv, context, &errstr, &err); in PHP_FUNCTION()
141 …E_WARNING, "unable to connect to %s (%s)", quoted_host, errstr == NULL ? "Unknown error" : errstr); in PHP_FUNCTION()
154 if (zerrstr && errstr) { in PHP_FUNCTION()
157 ZVAL_STRING(zerrstr, errstr, 0); in PHP_FUNCTION()
158 } else if (errstr) { in PHP_FUNCTION()
159 efree(errstr); in PHP_FUNCTION()
164 if (errstr) { in PHP_FUNCTION()
165 efree(errstr); in PHP_FUNCTION()
183 char *errstr = NULL; in PHP_FUNCTION() local
209 NULL, NULL, context, &errstr, &err); in PHP_FUNCTION()
212 …LS_CC, E_WARNING, "unable to connect to %s (%s)", host, errstr == NULL ? "Unknown error" : errstr); in PHP_FUNCTION()
220 if (zerrstr && errstr) { in PHP_FUNCTION()
223 ZVAL_STRING(zerrstr, errstr, 0); in PHP_FUNCTION()
224 } else if (errstr) { in PHP_FUNCTION()
225 efree(errstr); in PHP_FUNCTION()
230 if (errstr) { in PHP_FUNCTION()
231 efree(errstr); in PHP_FUNCTION()
251 char *errstr = NULL; in PHP_FUNCTION() local
277 &tv, &errstr in PHP_FUNCTION()
285 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "accept failed: %s", errstr ? errstr : "Unknown error"… in PHP_FUNCTION()
289 if (errstr) { in PHP_FUNCTION()
290 efree(errstr); in PHP_FUNCTION()