/php-src/ext/phar/tests/ |
H A D | phar_oo_compressed_002.phpt | 2 Phar: context/compress=GZ 31 $context = stream_context_create(array('phar'=>array('compress'=>Phar::GZ))); 34 file_put_contents($pname . '/c', 'new c', 0, $context); 36 file_put_contents($pname . '/e', 'new e', 0, $context);
|
H A D | phar_oo_compressed_002b.phpt | 2 Phar: context/compress=BZip2 31 $context = stream_context_create(array('phar'=>array('compress'=>Phar::BZ2))); 34 file_put_contents($pname . '/c', 'new c', 0, $context); 36 file_put_contents($pname . '/e', 'new e', 0, $context);
|
/php-src/ext/libxml/tests/ |
H A D | bug63389.phpt | 2 Bug #63389 (Missing context check on libxml_set_streams_context() causes memleak) 17 libxml_set_streams_context(): Argument #1 ($context) must be of type resource, string given
|
H A D | null_returned_by_resolver.phpt | 9 libxml_set_external_entity_loader(function ($public_id, $system_id, $context) { 10 var_dump($public_id, $system_id, $context);
|
/php-src/ext/standard/tests/file/ |
H A D | proc_open_with_wrong_resource_type.phpt | 5 $context = stream_context_create(); 7 proc_open('not_a_real_command_but_I_dont_care', array(0 => $context), $pipes);
|
/php-src/Zend/tests/ |
H A D | errmsg_005.phpt | 2 errmsg: can't use method return value in write context 18 Fatal error: Can't use method return value in write context in %s on line %d
|
H A D | bug77877.phpt | 22 Using $this when not in object context 23 Using $this when not in object context
|
H A D | gh12102_1.phpt | 2 GH-12102: Incorrect "Cannot use temporary expression in write context" error for BP_VAR_FUNC_ARG 30 Cannot use temporary expression in write context
|
H A D | gh12102_3.phpt | 2 GH-12102: Incorrect "Cannot use temporary expression in write context" error for BP_VAR_FUNC_ARG 32 Cannot use temporary expression in write context
|
H A D | exception_016.phpt | 14 Exception: Using $this when not in object context in %sexception_016.php on line %d 16 Fatal error: Uncaught Error: Using $this when not in object context in %sexception_016.php:%d
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 333 agg_context = sqlite3_aggregate_context(context, sizeof(aggregate_context)); in do_callback() 387 sqlite3_result_int(context, Z_LVAL(retval)); in do_callback() 391 sqlite3_result_null(context); in do_callback() 395 sqlite3_result_double(context, Z_DVAL(retval)); in do_callback() 407 sqlite3_result_error(context, "failed to invoke callback", 0); in do_callback() 435 struct pdo_sqlite_func *func = (struct pdo_sqlite_func*)sqlite3_user_data(context); in php_sqlite3_func_step_callback() 437 do_callback(&func->step, argc, argv, context, 1); in php_sqlite3_func_step_callback() 440 static void php_sqlite3_func_final_callback(sqlite3_context *context) in php_sqlite3_func_final_callback() argument 444 do_callback(&func->fini, 0, NULL, context, 1); in php_sqlite3_func_final_callback() 452 struct pdo_sqlite_collation *collation = (struct pdo_sqlite_collation*) context; in php_sqlite3_collation_callback() [all …]
|
/php-src/Zend/asm/ |
H A D | jump_ppc64_sysv_elf_gas.S | 136 # store RSP (pointing to context-data) in R6 140 # restore RSP (pointing to context-data) from R3 143 # restore RSP (pointing to context-data) from R4 190 # jump to context 194 # zero in r3 indicates first jump to context-function 202 # jump to context 210 # jump to context
|
H A D | jump_arm_aapcs_elf_gas.S | 60 @ store RSP (pointing to context-data) in A1 63 @ restore RSP (pointing to context-data) from A2 79 @ pass transfer_t as first arg in context function
|
H A D | jump_arm_aapcs_macho_gas.S | 66 @ store RSP (pointing to context-data) in A1 69 @ restore RSP (pointing to context-data) from A2 90 @ pass transfer_t as first arg in context function
|
H A D | jump_ppc64_sysv_macho_gas.S | 106 ; store RSP (pointing to context-data) in R6 109 ; restore RSP (pointing to context-data) from R4 147 ; zero in r3 indicates first jump to context-function 155 ; jump to context 163 ; jump to context
|
H A D | jump_arm64_aapcs_macho_gas.S | 78 ; store RSP (pointing to context-data) in X0 81 ; restore RSP (pointing to context-data) from X1 99 ; pass transfer_t as first arg in context function
|
/php-src/ext/standard/tests/streams/ |
H A D | gh10031.phpt | 34 $context = stream_context_create(['http' => ['ignore_errors' => true,]]); 36 stream_context_set_params($context, ['notification' => function ($code, $s, $m, $mc, $bytes_transfe… 43 $get = file_get_contents("http://".PHP_CLI_SERVER_ADDRESS, false, $context);
|
/php-src/ext/standard/tests/network/ |
H A D | bug80067.phpt | 10 $context = stream_context_create([ 14 var_dump(file_get_contents('https://httpbin.org/get', false, $context) !== false);
|
/php-src/ext/gd/libgd/ |
H A D | gdtest.c | 16 static int freadWrapper (void *context, char *buf, int len); 17 static int fwriteWrapper (void *context, const char *buffer, int len); 164 imgsrc.context = in; in main() 186 imgsnk.context = out; in main() 399 freadWrapper (void *context, char *buf, int len) in freadWrapper() argument 401 int got = fread (buf, 1, len, (FILE *) context); in freadWrapper() 406 fwriteWrapper (void *context, const char *buffer, int len) in fwriteWrapper() argument 408 return fwrite (buffer, 1, len, (FILE *) context); in fwriteWrapper()
|
/php-src/ext/dom/lexbor/lexbor/html/interfaces/ |
H A D | document.c | 648 context.doc = doc; in lxb_html_document_style_remove_by_rule_cb() 649 context.list = style->declarations; in lxb_html_document_style_remove_by_rule_cb() 663 if (context->list == NULL) { in lxb_html_document_style_remove_avl_cb() 1080 lxb_html_document_event_ctx_t context; 1110 context.doc = doc; 1111 context.all = false; 1124 if (context->all) { 1140 lxb_html_document_event_ctx_t context; 1157 context.doc = doc; 1218 context.doc = doc; [all …]
|
/php-src/ext/fileinfo/ |
H A D | fileinfo_arginfo.h | 22 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null") 29 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null") 44 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null") 50 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, context, "null")
|
/php-src/ext/standard/ |
H A D | dir.c | 134 php_stream_context *context = NULL; in _php_do_opendir() local 143 context = php_stream_context_from_zval(zcontext, 0); in _php_do_opendir() 145 dirp = php_stream_opendir(dirname, REPORT_ERRORS, context); in _php_do_opendir() 461 php_stream_context *context = NULL; in PHP_FUNCTION() local 476 context = php_stream_context_from_zval(zcontext, 0); in PHP_FUNCTION() 480 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION() 482 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION() 484 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
|
/php-src/main/streams/ |
H A D | streams.c | 370 php_stream_context *context; in _php_stream_free() local 531 if (context) { in _php_stream_free() 2147 context STREAMS_REL_CC); 2338 if (context) { 2340 GC_ADDREF(context->res); 2354 if (context && context->notifier) 2364 if (context->notifier) { 2366 context->notifier = NULL; 2368 efree(context); 2378 context->res = zend_register_resource(context, php_le_stream_context()); [all …]
|
/php-src/ext/standard/tests/http/ |
H A D | bug78719.phpt | 17 $context = stream_context_create(['http' => ['follow_location' => 0]]); 18 $stream = fopen($uri, 'r', false, $context);
|
/php-src/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 109 zend_string **opened_path, php_stream_context *context STREAMS_DC) in php_stream_gzopen() 128 …m_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context); in php_stream_gzopen() 139 zval *zlevel = context ? php_stream_context_get_option(context, "zlib", "level") : NULL; in php_stream_gzopen()
|