Searched defs:file (Results 1 - 25 of 58) sorted by relevance

123

/PHP_TRUNK/ext/phar/phar/
H A Dphar.php4 /** @file phar.php
35 function command_include($file)
37 $file = 'phar://' . __FILE__ . '/' . $file; variable
38 if (file_exists($file)) {
39 include($file);
/PHP_TRUNK/scripts/dev/
H A Dcheck_parameters.php8 | This source file is subject to version 3.01 of the PHP license, |
9 | that is bundled with this package in the file LICENSE, and is |
295 foreach (scandir($path) as $file) {
296 if ($file == '.' || $file == '..' || $file == 'CVS') continue;
298 $file = "$path/$file"; variable
299 if (is_dir($file)) {
300 recurse($file);
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
24 const char *file; member in struct:__anon176
89 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isinit, const char *file, int line);
/PHP_TRUNK/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h7 | This source file is subject to version 3.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
124 const char *file, *what; member in struct:__anon181
170 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line);
H A Dodbc_driver.c7 | This source file is subject to version 3.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
49 einfo->file, einfo->line);
59 void pdo_odbc_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, PDO_ODBC_HSTMT statement, char *what, const char *file, int line) /* {{{ */ argument
100 einfo->file = file;
210 H->einfo.file = S->einfo.file;
/PHP_TRUNK/ext/pdo_sqlite/
H A Dphp_pdo_sqlite_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
27 const char *file; member in struct:__anon193
73 extern int _pdo_sqlite_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int line);
/PHP_TRUNK/ext/spl/
H A Dspl_directory.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
102 } file; member in union:_spl_filesystem_object::__anon220
/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
54 php_stream *file; member in struct:__anon46
57 int file; member in struct:__anon46
66 php_stream* file = 0; local
69 int file = 0;
78 file = info->fp;
80 file = VCWD_OPEN(info->path, O_RDONLY);
81 if (file < 0) {
82 *error = "Unable to open file";
[all...]
/PHP_TRUNK/ext/standard/
H A Dfile.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
28 PHP_MINIT_FUNCTION(file); variable
29 PHP_MSHUTDOWN_FUNCTION(file); variable
58 PHP_FUNCTION(file); variable
H A Ddl.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
219 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
222 if (php_load_extension(file, type, start_now) == FAILURE) {
237 PHPAPI void php_dl(char *file, int type, zval *return_value, int start_now) argument
239 php_error_docref(NULL, E_WARNING, "Cannot dynamically load %s - dynamic modules are not supported", file);
H A Dhead.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
229 /* {{{ proto bool headers_sent([string &$file [, int &$line]])
234 const char *file=""; local
242 file = php_output_get_start_filename();
251 if (file) {
252 ZVAL_STRING(arg1, file);
H A Dphp_fopen_wrapper.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
182 FILE *file = NULL; local
228 php_error_docref(NULL, E_WARNING, "URL file-access is disabled in the server configuration");
247 php_error_docref(NULL, E_WARNING, "URL file-access is disabled in the server configuration");
258 file = stdin;
274 file = stdout;
290 file = stderr;
306 php_error_docref(NULL, E_WARNING, "Direct access to file descriptors is only available from command-line PHP");
313 php_error_docref(NULL, E_WARNING, "URL file
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
38 void _firebird_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, char const *file, zend_long line) /* {{{ */ argument
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dmagic.c9 * notice immediately at the beginning of the file, without modification,
28 #include "file.h"
166 /* First, try to get user-specific magic file */
180 /* Second, try to get a magic file from Common Files */
186 /* Third, try to get magic file relative to dll location */
206 /* Don't put MAGIC constant - it likely points to a file within MSys
234 unreadable_info(struct magic_set *ms, mode_t md, const char *file) argument
236 if (file) {
238 if (access(file, W_OK) == 0)
241 if (access(file, X_O
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
60 } file; member in struct:_phpdbg_param
75 (v)->file.name = NULL; \
76 (v)->file.line = 0; \
H A Dphpdbg_frame.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
89 zend_string *file = zend_string_init(file_chr, strlen(file_chr), 0); local
90 phpdbg_list_file(file, 3, zend_get_executed_lineno() - 1, zend_get_executed_lineno());
91 efree(file);
191 zval *file = &startfile, *line = &startline; local
219 if (file) { /* userland */
221 phpdbg_xml("<frame %r id=\"%d\" file=\"%s\" line=\"%d\"", i, Z_STRVAL_P(file), Z_LVAL_P(line));
223 phpdbg_out(" at %s:%ld\n", Z_STRVAL_P(file), Z_LVAL_
[all...]
H A Dcreate-test.php10 | This source file is subject to version 3.01 of the PHP license, |
11 | that is bundled with this package in the file LICENSE, and is |
23 ## This is just a helper for intercepting stdin/stdout and the file and create a half-finished test.
24 ## The output still may need adapting to match file names etc.
31 $file = ""; variable
58 $file = realpath($real_argv[0]); variable
63 $proc = proc_open("$phpdbg $pass_options $file -- $cmdargv", [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]], $pipes);
105 print "Specifiy the test file name (leave empty to write to stderr): ";
108 print "That file already exists. Type y or yes to overwrite: ";
116 $output = str_replace("string(".strlen($file)
[all...]
H A Dphpdbg_list.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
58 zend_string *file = zend_string_init(char_file, strlen(char_file), 0); local
59 phpdbg_list_file(file, param->num < 0 ? 1 - param->num : param->num, (param->num < 0 ? param->num : 0) + zend_get_executed_lineno(), 0);
60 efree(file);
64 zend_string *file = zend_string_init(param->file.name, strlen(param->file.name), 0); local
65 phpdbg_list_file(file, param->file
234 phpdbg_compile_file(zend_file_handle *file, int type) argument
294 phpdbg_init_compile_file(zend_file_handle *file, int type) argument
[all...]
/PHP_TRUNK/ext/ftp/
H A Dphp_ftp.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
39 #include "ext/standard/file.h"
219 ZEND_ARG_INFO(0, file)
634 Sets permissions on a file */
778 Retrieves a file from the FTP server and writes it to an open file */
785 char *file; local
789 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rrsl|l", &z_ftp, &z_file, &file, &file_len, &mode, &resumepos) == FAILURE) {
814 if (!ftp_get(ftp, stream, file, xtyp
831 char *file; local
1302 char *file; local
1324 char *file; local
1373 char *file; local
[all...]
/PHP_TRUNK/ext/pdo_pgsql/
H A Dphp_pdo_pgsql_int.h7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
33 const char *file; member in struct:__anon1
82 extern int _pdo_pgsql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, int errcode, const char *sqlstate, const char *msg, const char *file, int line);
/PHP_TRUNK/ext/pcre/
H A Dupgrade-pcre.php9 echo "more than one '$pattern' file. aborting\n";
15 die("need one '$pattern' file. aborting.\n");
26 die("file type not recognized: $newpcre\n");
36 foreach (scandir($path) as $file) {
38 if ($file[0] === '.' ||
39 $file === 'CVS' || variable
40 @substr_compare($file, '.lo', -3, 3) === 0 ||
41 @substr_compare($file, '.loT', -4, 4) === 0 ||
42 @substr_compare($file, '.o', -2, 2) === 0) continue;
44 $file variable
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_source_filep.c5 This file is part of libzip, a library to manipulate ZIP archives.
69 char *fname; /* name of file to read from */
70 FILE *f; /* file to read from */
88 zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) argument
93 return zip_source_filep_create(file, start, len, &za->error);
98 zip_source_filep_create(FILE *file, zip_uint64_t start, zip_int64_t length, zip_error_t *error) argument
100 if (file == NULL || length < -1) {
105 return _zip_source_file_or_p(NULL, file, start, length, NULL, error);
110 _zip_source_file_or_p(const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, const zip_stat_t *st, zip_error_t *error) argument
115 if (file
[all...]
/PHP_TRUNK/ext/interbase/
H A Dibase_blobs.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
534 /* {{{ proto string ibase_blob_import([ resource link_identifier, ] resource file)
535 Create blob, copy file in it, and close it */
538 zval *link = NULL, *file; local
550 (ZEND_NUM_ARGS()-1) ? &link : &file, &file)) {
556 php_stream_from_zval(stream, file);
/PHP_TRUNK/ext/gd/
H A Dgd_ctx.c7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
75 char *file = NULL; local
91 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rp!|ll", &imgind, &file, &file_len, &quality, &basefilter) == FAILURE) {
137 } else if (argc > 1 && file != NULL) {
138 stream = php_stream_open_wrapper(file, "wb", REPORT_ERRORS|IGNORE_PATH|IGNORE_URL_WIN, NULL);
150 /* This is a binary file already: avoid EBCDIC->ASCII conversion */
189 (*func_p)(im, file ? file : "", q, ctx);
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.c7 | This source file is subject to version 3.0 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
37 #include "ext/standard/file.h" /* needed for context stuff */
168 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
287 char *file = NULL; local
295 if (zend_parse_parameters_ex(flags, ZEND_NUM_ARGS(), "|lp", &options, &file, &file_len) == FAILURE) {
312 file = NULL;
313 } else if (file && *file) { /* user specified file, perfor
[all...]

Completed in 55 milliseconds

123