Searched defs:optionname (Results 1 - 2 of 2) sorted by relevance

H A Dstreams.c2222 const char *wrappername, const char *optionname)
2229 return zend_hash_str_find(Z_ARRVAL_P(wrapperhash), optionname, strlen(optionname));
2233 const char *wrappername, const char *optionname, zval *optionvalue)
2248 return zend_hash_str_update(Z_ARRVAL_P(wrapperhash), optionname, strlen(optionname), &copied_val) ? SUCCESS : FAILURE;
2221 php_stream_context_get_option(php_stream_context *context, const char *wrappername, const char *optionname) argument
2232 php_stream_context_set_option(php_stream_context *context, const char *wrappername, const char *optionname, zval *optionvalue) argument
H A Dstreamsfuncs.c893 php_error_docref(NULL, E_WARNING, "options should have the form [\"wrappername\"][\"optionname\"] = $value");
985 /* {{{ proto bool stream_context_set_option(resource context|resource stream, string wrappername, string optionname, mixed value)
1015 char *wrappername, *optionname; local
1019 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rssz", &zcontext, &wrappername, &wrapperlen, &optionname, &optionlen, &zvalue) == FAILURE) {
1026 Z_PARAM_STRING(optionname, optionlen)
1037 RETURN_BOOL(php_stream_context_set_option(context, wrappername, optionname, zvalue) == SUCCESS);

Completed in 8 milliseconds