/PHP-5.5/Zend/ |
H A D | zend_language_scanner.l | 271 file_handle->filename = NULL; in zend_destroy_file_handle() 619 if (filename->type != IS_STRING) { in compile_filename() 620 tmp = *filename; in compile_filename() 623 filename = &tmp; in compile_filename() 625 file_handle.filename = filename->value.str.val; in compile_filename() 647 if (filename==&tmp) { in compile_filename() 795 file_handle.filename = filename; in BEGIN_EXTERN_C() 1686 if (!filename) { 1687 filename = ""; 1700 if (!filename) { [all …]
|
/PHP-5.5/ext/session/tests/ |
H A D | session_set_save_handler_iface_002.phpt | 58 foreach (glob($this->path . '*') as $filename) { 59 if (filemtime($filename) + $maxlifetime < time()) { 60 @unlink($filename);
|
/PHP-5.5/ext/phar/tests/tar/ |
H A D | bignames.phpt | 54 tar-based phar "%sbignames.2.tar" cannot be created, filename "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa… 55 tar-based phar "%sbignames.3.tar" cannot be created, filename "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa… 56 tar-based phar "%sbignames.4.tar" cannot be created, filename "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb…
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | is_file_variation4.phpt | 5 /* Prototype: bool is_file ( string $filename ); 6 Description: Tells whether the filename is a regular file 7 Returns TRUE if the filename exists and is a regular file
|
H A D | file_variation3.phpt | 5 /* Prototype : array file(string filename [, int flags[, resource context]]) 14 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 17 echo "Error: $err_no - $err_msg, $filename($linenum)\n"; 23 $filename = __FILE__ . ".tmp"; 24 $fd = fopen($filename, "w+"); 107 var_dump( file($filename, $value, $context) );
|
H A D | rename_error.phpt | 18 $filename = __FILE__; 20 var_dump( rename($filename, $new_filename, $context, "extra_args") );
|
H A D | file_variation4.phpt | 5 /* Prototype : array file(string filename [, int flags[, resource context]]) 14 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 17 echo "Error: $err_no - $err_msg, $filename($linenum)\n"; 23 $filename = __FILE__ . ".tmp"; 24 $fd = fopen($filename, "w+"); 119 var_dump( file($filename, $flags, $value) ); 124 unlink($filename);
|
H A D | fscanf_variation5.phpt | 18 $filename = "$file_path/fscanf_variation5.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 52 $file_handle = fopen($filename, "r"); 54 exit("Error:failed to open file $filename"); 74 $filename = "$file_path/fscanf_variation5.tmp"; 75 unlink($filename);
|
H A D | lstat_stat_basic.phpt | 12 /* Prototype: array lstat ( string $filename ); 15 Prototype: array stat ( string $filename ); 36 $filename = "$dirname/lstat_stat_basic.tmp"; 37 $file_handle = fopen($filename, "w"); 40 $file_stat = stat($filename); 49 symlink($filename, $sym_linkname); 54 $new_file_stat = stat($filename);
|
H A D | fscanf_variation11.phpt | 18 $filename = "$file_path/fscanf_variation11.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 57 $file_handle = fopen($filename, "r"); 59 exit("Error:failed to open file $filename"); 79 $filename = "$file_path/fscanf_variation11.tmp"; 80 unlink($filename);
|
H A D | fscanf_variation30.phpt | 18 $filename = "$file_path/fscanf_variation30.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 57 $file_handle = fopen($filename, "r"); 59 exit("Error:failed to open file $filename"); 79 $filename = "$file_path/fscanf_variation30.tmp"; 80 unlink($filename);
|
H A D | fscanf_variation36.phpt | 18 $filename = "$file_path/fscanf_variation36.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 52 $file_handle = fopen($filename, "r"); 54 exit("Error:failed to open file $filename"); 74 $filename = "$file_path/fscanf_variation36.tmp"; 75 unlink($filename);
|
H A D | fscanf_variation42.phpt | 18 $filename = "$file_path/fscanf_variation42.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 52 $file_handle = fopen($filename, "r"); 54 exit("Error:failed to open file $filename"); 74 $filename = "$file_path/fscanf_variation42.tmp"; 75 unlink($filename);
|
H A D | fscanf_variation48.phpt | 18 $filename = "$file_path/fscanf_variation48.tmp"; 19 $file_handle = fopen($filename, "w"); 21 exit("Error:failed to open file $filename"); 52 $file_handle = fopen($filename, "r"); 54 exit("Error:failed to open file $filename"); 74 $filename = "$file_path/fscanf_variation48.tmp"; 75 unlink($filename);
|
H A D | fwrite_variation4-win32.phpt | 22 // include the file.inc for Function: function delete_file($filename) 41 $filename = dirname(__FILE__)."/fwrite_variation4.tmp"; // this is name of the file 43 $file_handle = fopen($filename, $file_mode); 45 echo "Error: failed to fopen() file: $filename!"; 64 var_dump( filesize($filename) ); 65 var_dump(md5(file_get_contents($filename))); 67 delete_file($filename); // delete file with name fwrite_variation4.tmp
|
H A D | fwrite_variation4.phpt | 22 // include the file.inc for Function: function delete_file($filename) 41 $filename = dirname(__FILE__)."/fwrite_variation4.tmp"; // this is name of the file 43 $file_handle = fopen($filename, $file_mode); 45 echo "Error: failed to fopen() file: $filename!"; 64 var_dump( filesize($filename) ); 65 var_dump(md5(file_get_contents($filename))); 67 delete_file($filename); // delete file with name fwrite_variation4.tmp
|
H A D | readfile_variation4.phpt | 7 /* Prototype : int readfile(string filename [, bool use_include_path[, resource context]]) 16 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 19 echo "Error: $err_no - $err_msg, $filename($linenum)\n"; 25 $filename = 'readFileVar4.tmp'; 27 $h = fopen($filename,'wb'); 119 $h = readfile($filename, $use_include_path, $value); 128 unlink($filename);
|
/PHP-5.5/ext/phar/ |
H A D | dirstream.c | 488 efree(e->filename); in phar_wrapper_mkdir() 524 entry.filename = estrdup(resource->path + 1); in phar_wrapper_mkdir() 540 …if (SUCCESS != zend_hash_add(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, s… in phar_wrapper_mkdir() 543 efree(entry.filename); in phar_wrapper_mkdir() 550 … "phar error: cannot create directory \"%s\" in phar \"%s\", %s", entry.filename, phar->fname, err… in phar_wrapper_mkdir() 551 zend_hash_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir() 556 phar_add_virtual_dirs(phar, entry.filename, entry.filename_len TSRMLS_CC); in phar_wrapper_mkdir() 648 efree(entry->filename); in phar_wrapper_rmdir() 669 efree(entry->filename); in phar_wrapper_rmdir() 681 efree(entry->filename); in phar_wrapper_rmdir() [all …]
|
H A D | phar_object.c | 2309 newentry.filename = estrndup(newentry.filename, newentry.filename_len); in phar_convert_to_other() 3610 efree(entry->filename); in PHP_METHOD() 3632 …sizeof(".phar")-1 && !memcmp(filename, ".phar", sizeof(".phar")-1) && (filename[5] == '/' || filen… in phar_add_file() 4121 char *filename; in phar_extract_file() local 4158 filename[cnt] = '/'; in phar_extract_file() 4237 filename = NULL; in phar_extract_file() 5106 ZEND_ARG_INFO(0, filename) 5125 ZEND_ARG_INFO(0, filename) 5131 ZEND_ARG_INFO(0, filename) 5270 ZEND_ARG_INFO(0, filename) [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_extract3.phpt | 23 foreach ($phar as $filename) { 24 echo "$filename\n";
|
/PHP-5.5/ext/zlib/tests/ |
H A D | gzfile_variation6.phpt | 14 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 17 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
|
H A D | readgzfile_variation6.phpt | 14 function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { 17 echo "Error: $err_no - $err_msg, $filename($linenum)\n";
|
/PHP-5.5/main/ |
H A D | php_ini.c | 360 char *filename = *((char **) arg); in php_load_zend_extension_cb() local 361 int length = strlen(filename); in php_load_zend_extension_cb() 363 if (IS_ABSOLUTE_PATH(filename, length)) { in php_load_zend_extension_cb() 364 zend_load_extension(filename); in php_load_zend_extension_cb() 371 spprintf(&libpath, 0, "%s%s", extension_dir, filename); in php_load_zend_extension_cb() 573 fh.filename = php_ini_opened_path; in php_init_config() 581 fh.filename = php_ini_opened_path; in php_init_config() 601 Z_STRLEN(tmp) = strlen(fh.filename); in php_init_config() 602 Z_STRVAL(tmp) = zend_strndup(fh.filename, Z_STRLEN(tmp)); in php_init_config() 672 fh2.filename = ini_file; in php_init_config() [all …]
|
/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_load_data.phpt | 65 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 67 $filename = MySQLPDOTest::getTempDir() . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 70 $fp = fopen($filename, "w"); 79 …LE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filename))); 94 unlink($filename);
|
/PHP-5.5/ext/fileinfo/tests/ |
H A D | mime_content_type_001.phpt | 28 Warning: mime_content_type(): Empty filename or path in %s on line %d 30 Warning: mime_content_type(): Empty filename or path in %s on line %d
|