/PHP-7.4/ext/standard/tests/file/ |
H A D | umask_variation1.phpt | 20 // 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 D | 007_variation1.phpt | 7 Prototype: resource fopen(string $filename, string $mode
|
H A D | 007_variation17.phpt | 7 Prototype: resource fopen(string $filename, string $mode
|
H A D | 007_variation9.phpt | 7 Prototype: resource fopen(string $filename, string $mode
|
H A D | fgetss_variation3-win32.phpt | 44 $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 D | fgetss_variation3.phpt | 40 $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 D | fgetcsv_variation8.phpt | 32 $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 D | fgetcsv_variation9.phpt | 32 $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 D | ftruncate_variation4-win32.phpt | 36 $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 D | ftruncate_variation4.phpt | 36 $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 D | file_get_contents_error.phpt | 7 /* Prototype: string file_get_contents( string $filename{, bool $use_include_path[,
|
H A D | rename_variation-win32.phpt | 72 Warning: rename(%s/rename_variation/rename_variation.tmp/,%s/rename_variation2.tmp): The filename, …
|
H A D | stat_variation1-win32-mb.phpt | 13 * Prototype: array stat ( string $filename );
|
H A D | stat_variation1-win32.phpt | 13 * Prototype: array stat ( string $filename );
|
H A D | stat_variation3-win32.phpt | 13 * Prototype: array stat ( string $filename );
|
H A D | stat_variation4-win32.phpt | 13 * Prototype: array stat ( string $filename );
|
/PHP-7.4/ext/openssl/tests/ |
H A D | openssl_pkcs12_export_basic.phpt | 22 …penssl_pkcs12_export($cert_path, $output, $priv_path, $pass)); // read certs from a filename string
|
H A D | openssl_free_key.phpt | 33 die("failed to get a temporary filename!");
|
/PHP-7.4/ext/hash/ |
H A D | hash.c | 488 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 D | xsltprocessor.c | 70 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 D | class_implements_variation1.phpt | 15 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 18 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
|
H A D | class_uses_variation1.phpt | 15 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 D | assert.c | 220 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 D | phpdbg.c | 549 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 D | ffi.c | 3146 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 …]
|