/PHP-5.3/ext/zlib/tests/ |
H A D | gzwrite_variation1.phpt | 12 $filename = dirname(__FILE__)."/004.txt.gz"; 13 $h = gzopen($filename, 'r');
|
H A D | gzfile_error.phpt | 11 $filename = dirname(__FILE__)."/004.txt.gz"; 15 var_dump(gzfile( $filename, $use_include_path, $extra_arg ) );
|
H A D | readgzfile_error.phpt | 11 $filename = dirname(__FILE__)."/004.txt.gz"; 15 var_dump(readgzfile( $filename, $use_include_path, $extra_arg ) );
|
/PHP-5.3/sapi/tests/ |
H A D | test005.phpt | 9 QUERY_STRING=$filename 15 QUERY_STRING=$filename
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | is_file_error.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_exists_variation1.phpt | 7 /* Prototype : proto bool file_exists(string filename) 8 * Description: Returns true if filename exists
|
H A D | parse_ini_file_variation6.phpt | 7 /* Prototype : array parse_ini_file(string filename [, bool process_sections]) 42 $filename = 'ParseIniFileVar6.ini'; 44 $absFile = $absSubDir.'/'.$filename; 53 var_dump(parse_ini_file($dir."/".$filename));
|
H A D | readfile_error.phpt | 5 /* Prototype: int readfile ( string $filename [, bool $use_include_path [, resource $context]] ); 18 var_dump( readfile(NULL) ); // NULL as $filename 19 var_dump( readfile('') ); // empty string as $filename 20 var_dump( readfile(false) ); // boolean false as $filename
|
H A D | fgetcsv_variation14.phpt | 15 $filename = dirname(__FILE__) . '/fgetcsv_variation14.tmp'; 16 @unlink($filename); 27 $file_handle = fopen($filename, "w"); 29 $file_handle = fopen($filename, $file_modes[$mode_counter] ); 32 echo "Error: failed to create file $filename!\n"; 42 $file_handle = fopen($filename, $file_modes[$mode_counter]); 67 unlink($filename);
|
H A D | fgetss_variation4.phpt | 33 $filename = dirname(__FILE__)."/fgetss_variation4.tmp"; 42 create_file ($filename); //create an empty file 43 file_put_contents($filename, $string_with_tags); 44 $file_handle = fopen($filename, $file_modes[$mode_counter]); 46 echo "Error: failed to open file $filename!\n"; 51 var_dump( filesize($filename) ); 71 delete_file($filename);
|
H A D | file_get_contents_variation7.phpt | 7 /* Prototype : string file_get_contents(string filename [, bool use_include_path [, resource conte… 42 $filename = 'FileGetContentsVar7.tmp'; 43 $absFile = $absSubDir.'/'.$filename; 52 var_dump(file_get_contents($dir."/".$filename));
|
H A D | file_variation8.phpt | 7 /* Prototype : array file(string filename [, int flags[, resource context]]) 42 $filename = 'FileGetContentsVar7.tmp'; 43 $absFile = $absSubDir.'/'.$filename; 52 var_dump(file($dir."/".$filename));
|
H A D | is_executable_error.phpt | 5 /* Prototype: bool is_executable ( string $filename ); 6 Description: Tells whether the filename is executable
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | bug44394_2.phpt | 30 foreach (glob(__DIR__ . '/sess_*') as $filename) { 31 unlink($filename);
|
/PHP-5.3/sapi/isapi/stresstest/ |
H A D | stresstest.cpp | 87 int stress_main(const char *filename, 161 fprintf(stderr, "test %s\n",filename); in CompareStringWithFile() 162 if ((fp=fopen(filename, "rb"))==NULL) { in CompareStringWithFile() 299 char filename[MAX_PATH]; in ParseTestFile() local 300 _snprintf(filename, sizeof(filename)-1, "%s\\%s", path, fn); in ParseTestFile() 304 printf("Reading %s\r\n", filename); in ParseTestFile() 308 FILE *fp = fopen(filename, "rb"); in ParseTestFile() 632 BOOL stress_main(const char *filename, in stress_main() argument 669 context.env["PATH_TRANSLATED"]= filename; in stress_main() 670 context.env["SCRIPT_MAP"]= filename; in stress_main() [all …]
|
/PHP-5.3/Zend/ |
H A D | zend_language_scanner.l | 244 file_handle->filename = NULL; in zend_destroy_file_handle() 395 if (filename->type != IS_STRING) { in compile_filename() 396 tmp = *filename; in compile_filename() 399 filename = &tmp; in compile_filename() 401 file_handle.filename = filename->value.str.val; in compile_filename() 423 if (filename==&tmp) { in compile_filename() 564 file_handle.filename = filename; in BEGIN_EXTERN_C() 1465 if (!filename) { in lex_scan() 1466 filename = ""; in lex_scan() 1479 if (!filename) { in lex_scan() [all …]
|
H A D | zend_stream.c | 129 ZEND_API int zend_stream_open(const char *filename, zend_file_handle *handle TSRMLS_DC) /* {{{ */ in zend_stream_open() argument 132 return zend_stream_open_function(filename, handle TSRMLS_CC); in zend_stream_open() 136 handle->handle.fp = zend_fopen(filename, &handle->opened_path TSRMLS_CC); in zend_stream_open() 137 handle->filename = (char *)filename; in zend_stream_open() 187 if (zend_stream_open(file_handle->filename, file_handle TSRMLS_CC) == FAILURE) { 330 if (fh->free_filename && fh->filename) { 331 efree(fh->filename); 332 fh->filename = NULL;
|
H A D | zend_stream.h | 64 char *filename; member 75 ZEND_API int zend_stream_open(const char *filename, zend_file_handle *handle TSRMLS_DC);
|
/PHP-5.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_exec_load_data.phpt | 62 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 64 $filename = MySQLPDOTest::getTempDir() . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv"; 67 $fp = fopen($filename, "w"); 72 …ILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n'", $db->quote($filename)); 91 unlink($filename);
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | highlight_file.phpt | 15 $filename = dirname(__FILE__)."/highlight_file.dat"; 18 var_dump(highlight_file($filename)); 33 file_put_contents($filename, $data); 34 var_dump(highlight_file($filename)); 37 @unlink($filename);
|
/PHP-5.3/ext/zip/tests/ |
H A D | bug38944.phpt | 15 var_dump($foo->filename); 35 ["filename"]=>
|
/PHP-5.3/ext/curl/tests/ |
H A D | bug27023.phpt | 28 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt'); 32 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;type=text/plain;filename=foo.txt'); 36 $params = array('file' => '@' . __DIR__ . '/curl_testdata1.txt;filename=foo.txt;type=text/plain');
|
/PHP-5.3/ext/standard/ |
H A D | file.c | 372 char *filename; in PHP_FUNCTION() local 390 if (strlen(filename) != filename_len) { in PHP_FUNCTION() 531 char *filename; in PHP_FUNCTION() local 593 char *filename; in PHP_FUNCTION() local 621 if (php_memnstr(filename, "://", sizeof("://") - 1, filename + filename_len)) { in PHP_FUNCTION() 737 char *filename; in PHP_FUNCTION() local 912 char *filename, *mode; in PHP_NAMED_FUNCTION() local 1467 char *filename; in PHP_FUNCTION() local 1591 char *filename; in PHP_FUNCTION() local 2429 char *filename; in PHP_FUNCTION() local [all …]
|
/PHP-5.3/ext/gd/ |
H A D | php_gd.h | 36 #define PHP_GD_CHECK_OPEN_BASEDIR(filename, errormsg) \ argument 37 if (!filename || php_check_open_basedir(filename TSRMLS_CC) || \ 38 (PG(safe_mode) && !php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR)) \
|
/PHP-5.3/sapi/cli/tests/ |
H A D | 014.phpt | 10 $filename = dirname(__FILE__)."/014.test.php"; 28 file_put_contents($filename, $code); 30 var_dump(`"$php" -n -s $filename`); 33 @unlink($filename);
|