Home
last modified time | relevance | path

Searched refs:filename (Results 751 – 775 of 980) sorted by relevance

1...<<31323334353637383940

/PHP-7.4/ext/standard/tests/file/
H A Dumask_variation1.phpt20 // temp filename used
21 $filename = "$file_path/umask_variation1.tmp";
34 $fp = fopen($filename, "w");
38 echo substr(sprintf('%o', fileperms($filename)), -3);
41 chmod($filename, 0777);
43 unlink($filename);
H A D007_variation1.phpt7 Prototype: resource fopen(string $filename, string $mode
H A D007_variation17.phpt7 Prototype: resource fopen(string $filename, string $mode
H A D007_variation9.phpt7 Prototype: resource fopen(string $filename, string $mode
H A Dfgetss_variation3-win32.phpt44 $filename = __DIR__."/fgetss_variation3.tmp";
53 $file_handle = fopen($filename, $file_modes[$mode_counter]);
56 echo "Error: failed to open file $filename!\n";
63 var_dump( filesize($filename) );
80 unlink($filename);
H A Dfgetss_variation3.phpt40 $filename = __DIR__."/fgetss_variation3.tmp";
49 $file_handle = fopen($filename, $file_modes[$mode_counter]);
52 echo "Error: failed to open file $filename!\n";
59 var_dump( filesize($filename) );
76 unlink($filename);
H A Dfgetcsv_variation8.phpt32 $filename = __DIR__ . '/fgetcsv_variation8.tmp';
33 @unlink($filename);
45 $file_handle = fopen($filename, "w");
47 $file_handle = fopen($filename, $file_modes[$mode_counter] );
50 echo "Error: failed to create file $filename!\n";
68 $file_handle = fopen($filename, $file_modes[$mode_counter]);
90 unlink($filename);
H A Dfgetcsv_variation9.phpt32 $filename = __DIR__ . '/fgetcsv_variation9.tmp';
33 @unlink($filename);
45 $file_handle = fopen($filename, "w");
47 $file_handle = fopen($filename, $file_modes[$mode_counter] );
50 echo "Error: failed to create file $filename!\n";
67 $file_handle = fopen($filename, $file_modes[$mode_counter]);
88 unlink($filename);
H A Dftruncate_variation4-win32.phpt36 $filename = __DIR__."/ftruncate_variation4.tmp";
39 $file_handle = fopen($filename, $file_modes[$mode_counter]);
44 $file_handle = fopen($filename, $file_modes[$mode_counter]);
47 echo "Error: failed to open file $filename!\n";
57 var_dump( filesize($filename) ); // current filesize
64 var_dump( filesize($filename) ); // new file size = actual size, no change
67 delete_file( $filename );
H A Dftruncate_variation4.phpt36 $filename = __DIR__."/ftruncate_variation4.tmp";
39 $file_handle = fopen($filename, $file_modes[$mode_counter]);
44 $file_handle = fopen($filename, $file_modes[$mode_counter]);
47 echo "Error: failed to open file $filename!\n";
57 var_dump( filesize($filename) ); // current filesize
64 var_dump( filesize($filename) ); // new file size = actual size, no change
67 delete_file( $filename );
H A Dfile_get_contents_error.phpt7 /* Prototype: string file_get_contents( string $filename{, bool $use_include_path[,
H A Drename_variation-win32.phpt72 Warning: rename(%s/rename_variation/rename_variation.tmp/,%s/rename_variation2.tmp): The filename, …
H A Dstat_variation1-win32-mb.phpt13 * Prototype: array stat ( string $filename );
H A Dstat_variation1-win32.phpt13 * Prototype: array stat ( string $filename );
H A Dstat_variation3-win32.phpt13 * Prototype: array stat ( string $filename );
H A Dstat_variation4-win32.phpt13 * Prototype: array stat ( string $filename );
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_pkcs12_export_basic.phpt22 …penssl_pkcs12_export($cert_path, $output, $priv_path, $pass)); // read certs from a filename string
H A Dopenssl_free_key.phpt33 die("failed to get a temporary filename!");
/PHP-7.4/ext/hash/
H A Dhash.c488 zend_string *filename; in PHP_FUNCTION() local
492 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "OP|r", &zhash, php_hashcontext_ce, &filename, &zcontex… in PHP_FUNCTION()
500 stream = php_stream_open_wrapper_ex(ZSTR_VAL(filename), "rb", REPORT_ERRORS, NULL, context); in PHP_FUNCTION()
1313 ZEND_ARG_INFO(0, filename)
1325 ZEND_ARG_INFO(0, filename)
1338 ZEND_ARG_INFO(0, filename)
1351 ZEND_ARG_INFO(0, filename)
1375 ZEND_ARG_INFO(0, filename)
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c70 ZEND_ARG_INFO(0, filename)
883 char *filename = NULL; in PHP_FUNCTION() local
887 …if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "p!", &filename, &filename_… in PHP_FUNCTION()
892 if (filename != NULL) { in PHP_FUNCTION()
893 intern->profiling = estrndup(filename, filename_len); in PHP_FUNCTION()
/PHP-7.4/ext/spl/tests/
H A Dclass_implements_variation1.phpt15 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
18 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
H A Dclass_uses_variation1.phpt15 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
18 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
/PHP-7.4/ext/standard/
H A Dassert.c220 const char *filename = zend_get_executed_filename(); in PHP_FUNCTION() local
222 ZVAL_STRING(&args[0], SAFE_STRING(filename)); in PHP_FUNCTION()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.c549 zval *filename; in PHP_FUNCTION() local
554 ZEND_HASH_FOREACH_VAL(Z_ARR_P(option_buffer), filename) { in PHP_FUNCTION()
555 zend_hash_add_empty_element(files, zval_get_string(filename)); in PHP_FUNCTION()
568 if (zend_hash_exists(files, func->op_array.filename)) { in PHP_FUNCTION()
569 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION()
582 if (zend_hash_exists(files, ce->info.user.filename)) { in PHP_FUNCTION()
584 if (func->type == ZEND_USER_FUNCTION && zend_hash_exists(files, func->op_array.filename)) { in PHP_FUNCTION()
585 insert_ht = phpdbg_add_empty_array(Z_ARR_P(return_value), func->op_array.filename); in PHP_FUNCTION()
605 phpdbg_add_empty_array(Z_ARR_P(return_value), source->op_array.filename), in PHP_FUNCTION()
666 if (cur->filename != last_file) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/ffi/
H A Dffi.c3146 if (stat(filename, &buf) != 0) { in zend_ffi_load()
3166 fd = open(filename, O_RDONLY, 0); in zend_ffi_load()
4473 ZEND_ARG_INFO(0, filename)
4935 char *s = NULL, *e, *filename; local
4943 filename = estrndup(s, e-s);
4947 efree(filename);
4955 efree(filename);
4977 filename = estrndup(s, e-s);
4979 ffi = zend_ffi_load(filename, 1);
4980 efree(filename);
[all …]

Completed in 100 milliseconds

1...<<31323334353637383940