Home
last modified time | relevance | path

Searched refs:context (Results 76 – 100 of 449) sorted by relevance

12345678910>>...18

/php-src/ext/libxml/tests/
H A Dbug54440.phpt2 Bug #54440: libxml extension ignores default context
12 if ($this->context)
13 print_r(stream_context_get_options($this->context));
/php-src/ext/dom/lexbor/lexbor/css/
H A Dparser.h133 void *context; member
182 void *context; member
209 void *context, bool stop);
373 return parser->context; in lxb_css_parser_context()
377 lxb_css_parser_context_set(lxb_css_parser_t *parser, void *context) in lxb_css_parser_context_set() argument
379 parser->context = context; in lxb_css_parser_context_set()
421 rules->context = entry->context; in lxb_css_parser_states_set_back()
447 lxb_css_parser_state_f state, void *context) in lxb_css_parser_states_set() argument
450 states->context = context; in lxb_css_parser_states_set()
/php-src/ext/standard/tests/streams/
H A Dbug61371.phpt16 $context = stream_context_create(array());
17 …= stream_socket_client('udp://127.0.0.1:80', $errno, $errstr, 10, STREAM_CLIENT_CONNECT, $context);
19 unset($context);
H A Dbug61371-unix.phpt22 $context = stream_context_create(array());
23 …m = stream_socket_client('udp://0.0.0.0:80', $errno, $errstr, 10, STREAM_CLIENT_CONNECT, $context);
25 unset($context);
H A Dbug64433.phpt29 $context = stream_context_create($arr);
31 …le_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1", false, $context);
39 $context = stream_context_create($arr);
41 …le_get_contents("http://".PHP_CLI_SERVER_ADDRESS."/index.php?status=$code&loc=1", false, $context);
H A Dstream_context_set_options_error.phpt21 stream_context_set_options(): Argument #1 ($context) must be a valid stream/context
/php-src/Zend/asm/
H A Djump_ppc64_sysv_xcoff_gas.S114 # store RSP (pointing to context-data) in R6
117 # restore RSP (pointing to context-data) from R4
156 # zero in r3 indicates first jump to context-function
164 # jump to context
172 # jump to context
H A Djump_ppc32_sysv_xcoff_gas.S131 # store RSP (pointing to context-data) in R6
134 # restore RSP (pointing to context-data) from R4
199 # zero in r3 indicates first jump to context-function
207 # jump to context
215 # jump to context
/php-src/Zend/tests/
H A Dbreak_error_003.phpt2 'break' error (not in the loop context)
10 Fatal error: 'break' not in the 'loop' or 'switch' context in %sbreak_error_003.php on line 3
H A Dbuiltin_in_write_context_error1.phpt2 Cannot use built-in functions in write context (assignment)
10 Fatal error: Cannot use result of built-in function in write context in %s on line %d
H A Dbuiltin_in_write_context_error2.phpt2 Cannot use built-in functions in write context (reference)
10 Fatal error: Cannot use result of built-in function in write context in %s on line %d
H A Derrmsg_004.phpt2 errmsg: can't use function return value in write context
15 Fatal error: Can't use function return value in write context in %s on line %d
H A Dobjects_026.phpt2 Using $this when out of context
13 Fatal error: Uncaught Error: Using $this when not in object context in %s:%d
/php-src/tests/basic/
H A Dbug67198.phpt34 $context = stream_context_create($opts);
40 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
41 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
/php-src/ext/openssl/tests/
H A Dbug72333.phpt14 $context = stream_context_create(['ssl' => ['local_cert' => '%s']]);
17 $fp = stream_socket_server("ssl://127.0.0.1:10011", $errornum, $errorstr, $flags, $context);
41 $context = stream_context_create(['ssl' => ['verify_peer' => false, 'peer_name' => '%s']]);
44 …ocket_client("ssl://127.0.0.1:10011", $errornum, $errorstr, 3000, STREAM_CLIENT_CONNECT, $context);
/php-src/ext/standard/tests/http/
H A Dbug60570.phpt2 Bug #60570 (Stream context leaks when http request fails)
25 $context = stream_context_create(array('http'=>array('timeout'=>1)));
26 file_get_contents($uri, 0, $context);
27 unset($context);
/php-src/sapi/cli/tests/
H A Dbug69953.phpt13 $context = stream_context_create(['http' => ['method' => 'MKCALENDAR']]);
14 var_dump(file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS, false, $context));
/php-src/ext/standard/
H A Dphp_fopen_wrappers.h22 … const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC);
23 … const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC);
/php-src/ext/hash/tests/
H A Dreuse.phpt2 Hash: Attempt to reuse a closed hash context
17 hash_update(): Argument #1 ($context) must be a valid, non-finalized HashContext
H A Dgh12186_1.phpt2 Hash: bug #12186 - segfault in hash_copy() on a finalized context
17 hash_copy(): Argument #1 ($context) must be a valid, non-finalized HashContext
/php-src/ext/standard/tests/file/
H A Dmkdir_rmdir_variation2.phpt13 $context = stream_context_create();
17 echo "\n*** Testing mkdir() and rmdir() by giving stream context as fourth argument ***\n";
18 var_dump( mkdir("$file_path/mkdir_variation2/test/", 0777, true, $context) );
19 var_dump( rmdir("$file_path/mkdir_variation2/test/", $context) );
52 *** Testing mkdir() and rmdir() by giving stream context as fourth argument ***
/php-src/Zend/
H A Dzend_signal.c64 static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context);
84 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context) in zend_signal_handler_defer() argument
95 zend_signal_handler(signo, siginfo, context); in zend_signal_handler_defer()
107 zend_signal_handler(signo, siginfo, context); in zend_signal_handler_defer()
113 …d_signal_handler(queue->zend_signal.signo, queue->zend_signal.siginfo, queue->zend_signal.context); in zend_signal_handler_defer()
129 queue->zend_signal.context = context; in zend_signal_handler_defer()
147 zend_signal_handler(signo, siginfo, context); in zend_signal_handler_defer()
169 zend_signal_handler_defer(zend_signal.signo, zend_signal.siginfo, zend_signal.context); in zend_signal_handler_unblock()
178 static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context) in zend_signal_handler() argument
219 (*(void (*)(int, siginfo_t*, void*))p_sig.handler)(signo, siginfo, context); in zend_signal_handler()
/php-src/ext/pcre/tests/
H A Dbug40909.phpt8 $context = "<simpletag an_attribute=\"simpleValueInside\">";
12 if ($result =preg_match_all($pattern, $context, $match))
/php-src/ext/standard/tests/network/
H A Dgh12190.phpt10 $context = stream_context_create(['socket' => ['bindto' => '0:0']]);
11 var_dump(file_get_contents('https://httpbin.org/get', false, $context) !== false);
/php-src/sapi/phpdbg/tests/
H A Dgh12675.phpt20 prompt> [Set execution context: %sgh12675_1.tmp]
22 prompt> [Execution context not changed]
27 prompt> Do you really want to stop execution to set a new execution context? (type y or n): prompt>

Completed in 29 milliseconds

12345678910>>...18