/PHP-5.5/ext/standard/tests/file/ |
H A D | file_put_contents.phpt | 12 $context = stream_context_create(); 14 var_dump(file_put_contents($file, $context));
|
H A D | file_put_contents_variation3.phpt | 2 Test file_put_contents() function : usage variation - different types for context. 7 /* Prototype : int file_put_contents(string file, mixed data [, int flags [, resource context]]) 110 //non context resource 113 //valid stream context 114 'stream context' => $strContext, 117 // loop through each element of the array for context 248 --stream context--
|
H A D | file_get_contents_variation4.phpt | 2 Test file_get_contents() function : usage variation - different types for context. 7 …g file_get_contents(string filename [, bool use_include_path [, resource context [, long offset [,… 111 //non context resource 114 //valid stream context 115 'stream context' => $strContext, 118 // loop through each element of the array for context 249 --stream context--
|
H A D | fopen_variation6.phpt | 2 Test fopen() function : variation: use include path and stream context relative/absolute file 7 …type : resource fopen(string filename, string mode [, bool use_include_path [, resource context]])
|
H A D | file_get_contents_file_put_contents_basic.phpt | 7 * resource $context[, int $offset[, int $maxlen]]]] ) 11 …rototype: int file_put_contents( string $filename, mixed $data[, int $flags[, resource $context]] )
|
/PHP-5.5/ext/libxml/tests/ |
H A D | libxml_set_external_entity_loader_basic.phpt | 17 function ($public, $system, $context) use($dtd){ 20 var_dump($context);
|
H A D | libxml_set_external_entity_loader_variation1.phpt | 26 function ($public, $system, $context) use($dtd,$entity){ 30 var_dump($context);
|
/PHP-5.5/ext/standard/ |
H A D | dir.c | 219 php_stream_context *context = NULL; in _php_do_opendir() local 226 context = php_stream_context_from_zval(zcontext, 0); in _php_do_opendir() 228 dirp = php_stream_opendir(dirname, REPORT_ERRORS, context); in _php_do_opendir() 560 php_stream_context *context = NULL; in PHP_FUNCTION() local 572 context = php_stream_context_from_zval(zcontext, 0); in PHP_FUNCTION() 576 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); in PHP_FUNCTION() 578 n = php_stream_scandir(dirn, &namelist, context, NULL); in PHP_FUNCTION() 580 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); in PHP_FUNCTION()
|
H A D | file.c | 152 if (context->options) { in ZEND_RSRC_DTOR_FUNC() 153 zval_ptr_dtor(&context->options); in ZEND_RSRC_DTOR_FUNC() 154 context->options = NULL; in ZEND_RSRC_DTOR_FUNC() 156 php_stream_context_free(context); in ZEND_RSRC_DTOR_FUNC() 526 php_stream_context *context = NULL; in PHP_FUNCTION() local 542 NULL, context); in PHP_FUNCTION() 580 php_stream_context *context = NULL; in PHP_FUNCTION() local 1325 php_stream_context *context; in PHP_FUNCTION() local 1344 php_stream_context *context; in PHP_FUNCTION() local 1439 php_stream_context *context; in PHP_FUNCTION() local [all …]
|
/PHP-5.5/main/streams/ |
H A D | userspace.c | 293 if (context) { in user_stream_create_object() 294 add_property_resource(object, "context", context->rsrc_id); in user_stream_create_object() 295 zend_list_addref(context->rsrc_id); in user_stream_create_object() 366 us->object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_opener() 460 us->object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_opendir() 1174 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_unlink() 1221 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_rename() 1273 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_mkdir() 1331 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_rmdir() 1409 object = user_stream_create_object(uwrap, context TSRMLS_CC); in user_wrapper_metadata() [all …]
|
/PHP-5.5/Zend/tests/ |
H A D | bug36214.phpt | 7 class context { 19 $ctx = new context;
|
/PHP-5.5/ext/dom/tests/ |
H A D | canonicalization.phpt | 24 /* inclusive/without comments first child element of doc element is context. */ 27 /* exclusive/without comments first child element of doc element is context. */ 30 /* inclusive/with comments first child element of doc element is context. */ 33 /* exclusive/with comments first child element of doc element is context. */ 39 /* exclusive/without comments first child element of doc element is context. 47 /* exclusive/without comments first child element of doc element is context.
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_auth.c | 330 PHP_SHA1_CTX context; in php_mysqlnd_scramble() local 335 PHP_SHA1Init(&context); in php_mysqlnd_scramble() 336 PHP_SHA1Update(&context, password, password_len); in php_mysqlnd_scramble() 337 PHP_SHA1Final(sha1, &context); in php_mysqlnd_scramble() 340 PHP_SHA1Init(&context); in php_mysqlnd_scramble() 341 PHP_SHA1Update(&context, (zend_uchar*)sha1, SHA1_MAX_LENGTH); in php_mysqlnd_scramble() 342 PHP_SHA1Final(sha2, &context); in php_mysqlnd_scramble() 345 PHP_SHA1Init(&context); in php_mysqlnd_scramble() 346 PHP_SHA1Update(&context, scramble, SCRAMBLE_LENGTH); in php_mysqlnd_scramble() 347 PHP_SHA1Update(&context, (zend_uchar*)sha2, SHA1_MAX_LENGTH); in php_mysqlnd_scramble() [all …]
|
/PHP-5.5/ext/openssl/tests/ |
H A D | bug46127.phpt | 20 $context = stream_context_create(array('ssl' => $ssl)); 21 …er('ssl://127.0.0.1:'.$port, $errno, $errstr, STREAM_SERVER_BIND | STREAM_SERVER_LISTEN, $context);
|
/PHP-5.5/ext/fileinfo/ |
H A D | fileinfo.c | 141 ZEND_ARG_INFO(0, context) 147 ZEND_ARG_INFO(0, context) 154 ZEND_ARG_INFO(0, context) 160 ZEND_ARG_INFO(0, context) 519 php_stream_context *context = php_stream_context_from_zval(zcontext, 0); local 522 if (php_stream_stat_path_ex(buffer, 0, &ssb, context) == SUCCESS) { 531 …tream = php_stream_open_wrapper_ex(buffer, "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context); 533 stream = php_stream_open_wrapper_ex(buffer, "rb", REPORT_ERRORS, NULL, context);
|
/PHP-5.5/ext/openssl/ |
H A D | xp_ssl.c | 525 stream->context, "ssl", "no_ticket", &val) && in php_openssl_setup_crypto() 537 stream->context, "ssl", "disable_compression", &val) && in php_openssl_setup_crypto() 664 if (stream->context) { in php_openssl_enable_crypto() 668 stream->context, "ssl", in php_openssl_enable_crypto() 674 php_stream_context_set_option(stream->context, in php_openssl_enable_crypto() 682 stream->context, "ssl", in php_openssl_enable_crypto() 710 php_stream_context_set_option(stream->context, in php_openssl_enable_crypto() 770 xparam->outputs.client->context = stream->context; in php_openssl_tcp_sockop_accept() 771 if (stream->context) { in php_openssl_tcp_sockop_accept() 772 zend_list_addref(stream->context->rsrc_id); in php_openssl_tcp_sockop_accept() [all …]
|
/PHP-5.5/ext/phar/ |
H A D | util.c | 1658 PHP_SHA512_CTX context; local 1691 PHP_SHA256_CTX context; local 1732 PHP_SHA1_CTX context; local 1734 PHP_SHA1Init(&context); 1765 PHP_MD5_CTX context; local 1767 PHP_MD5Init(&context); 1822 PHP_SHA512_CTX context; local 1939 PHP_SHA1_CTX context; local 1941 PHP_SHA1Init(&context); 1954 PHP_MD5_CTX context; local [all …]
|
/PHP-5.5/Zend/ |
H A D | zend_signal.h | 47 void* context; member 85 void zend_signal_handler_defer(int signo, siginfo_t *siginfo, void *context);
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_ctx_001.phpt | 2 Phar context 31 $context = stream_context_create(array('phar'=> array('compress'=>Phar::GZ, 'metadata' => array(2, … 35 file_put_contents($pname . '/b', b'new b', 0, $context);
|
H A D | opendir_edgecases.phpt | 34 $context = stream_context_create(); 35 $a = opendir(".", $context);
|
/PHP-5.5/ext/standard/tests/http/ |
H A D | bug48929.phpt | 13 $context = stream_context_create(array('http' => $context_options)); 23 $fd = fopen('http://127.0.0.1:12342/', 'rb', false, $context);
|
/PHP-5.5/ext/reflection/tests/ |
H A D | bug38465.phpt | 31 echo "\nFrom class context:\n"; 58 From class context:
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_io_ss.c | 86 res = ((lctx->src->source) (lctx->src->context, buf, size)); in sourceGetbuf() 123 res = (lctx->snk->sink) (lctx->snk->context, buf, size); in sinkPutbuf()
|
/PHP-5.5/ext/interbase/tests/ |
H A D | 005.phpt | 42 /* in default transaction context */ 67 parameters run in this context 82 /* specify transaction context... */ 119 /* insert in first transaction context... */ 122 /* specify context */
|
/PHP-5.5/ |
H A D | README.NEW-OUTPUT-API | 21 Starting an internal handler whithout context: 25 Starting an internal handler with context: 92 Facilitating a context from within an output handler callable with ob_start(): 118 context: 121 pointer to the opaque field of the output handler context
|