/php-src/.github/workflows/ |
H A D | nightly.yml | 682 --with-config-file-scan-dir=/etc/php.d \
|
H A D | push.yml | 261 --with-config-file-scan-dir=/etc/php.d \
|
/php-src/ |
H A D | configure.ac | 942 PHP_ARG_WITH([config-file-scan-dir],, 943 [AS_HELP_STRING([--with-config-file-scan-dir=PATH],
|
H A D | run-tests.php | 734 foreach (['Zend', 'tests', 'ext', 'sapi'] as $dir) { 735 if (is_dir($dir)) { 736 find_files(TEST_PHP_SRCDIR . "/{$dir}", $dir == 'ext'); 740 foreach ($user_tests as $dir) { 741 find_files($dir, $dir == 'ext');
|
H A D | UPGRADING.INTERNALS | 103 - The configure option --with-zlib-dir has been removed. 128 - Added php-config --lib-dir and --lib-embed options for PHP embed SAPI.
|
H A D | php.ini-development | 771 ; https://php.net/user-dir 775 ; https://php.net/extension-dir 858 ; https://php.net/upload-tmp-dir 1027 ; https://php.net/sqlite3.extension-dir 1294 ; You can use the script in the ext/session dir for that purpose. 1675 ; https://php.net/soap.wsdl-cache-dir
|
H A D | php.ini-production | 773 ; https://php.net/user-dir 777 ; https://php.net/extension-dir 860 ; https://php.net/upload-tmp-dir 1029 ; https://php.net/sqlite3.extension-dir 1296 ; You can use the script in the ext/session dir for that purpose. 1677 ; https://php.net/soap.wsdl-cache-dir
|
/php-src/.circleci/ |
H A D | config.yml | 149 --with-config-file-scan-dir=/etc/php.d \
|
/php-src/ext/gettext/ |
H A D | gettext.c | 182 zend_string *domain, *dir = NULL; in PHP_FUNCTION() local 188 Z_PARAM_STR_OR_NULL(dir) in PHP_FUNCTION() 198 if (dir == NULL) { in PHP_FUNCTION() 202 if (ZSTR_LEN(dir) != 0 && !zend_string_equals_literal(dir, "0")) { in PHP_FUNCTION() 203 if (!VCWD_REALPATH(ZSTR_VAL(dir), dir_name)) { in PHP_FUNCTION()
|
/php-src/build/ |
H A D | libtool.m4 | 473 for dir in $PATH /usr/ucb; do 475 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && 476 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && 477 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && 479 echo="$dir/echo" 1332 # and add multilib dir if necessary. 1476 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ 1479 $install_prog $dir/$dlname \$dldir/$dlname~ 1482 dlpath=$dir/\$dldll~
|
H A D | php.m4 | 805 dnl PHP_SHARED_MODULE(module-name, object-var, build-dir, cxx, zend_ext) 808 dnl build-dir.
|
/php-src/sapi/cli/tests/ |
H A D | 017.phpt | 69 $dir = PHP_OS_FAMILY == 'Windows' ? getenv("USERPROFILE") : getenv("HOME"); 70 var_dump(file_exists($dir . '/.php_history'));
|
/php-src/ext/session/ |
H A D | mod_files.c | 282 DIR *dir; in ps_files_cleanup_dir() local 289 dir = opendir(ZSTR_VAL(dirname)); in ps_files_cleanup_dir() 290 if (!dir) { in ps_files_cleanup_dir() 299 closedir(dir); in ps_files_cleanup_dir() 307 while ((entry = readdir(dir))) { in ps_files_cleanup_dir() 330 closedir(dir); in ps_files_cleanup_dir()
|
/php-src/scripts/ |
H A D | php-config.in | 65 --extension-dir) 67 --include-dir) 69 --lib-dir) 79 --man-dir) 83 --ini-dir) 97 --extension-dir [$extension_dir] 98 --include-dir [$include_dir] 99 --lib-dir [$lib_dir] 101 --man-dir [$man_dir] 105 --ini-dir [$ini_dir]
|
/php-src/main/streams/ |
H A D | plain_wrapper.c | 1021 DIR *dir = (DIR*)stream->abstract; in php_plain_files_dirstream_read() local 1029 result = readdir(dir); in php_plain_files_dirstream_read() 1066 DIR *dir = NULL; in php_plain_files_dir_opener() local 1079 dir = VCWD_OPENDIR(path); in php_plain_files_dir_opener() 1082 if (!dir) { in php_plain_files_dir_opener() 1086 if (dir && dir->finished) { in php_plain_files_dir_opener() 1087 closedir(dir); in php_plain_files_dir_opener() 1088 dir = NULL; in php_plain_files_dir_opener() 1091 if (dir) { in php_plain_files_dir_opener() 1094 closedir(dir); in php_plain_files_dir_opener() [all …]
|
/php-src/ext/ftp/ |
H A D | ftp.c | 531 ftp_chdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_chdir() argument 542 if (!ftp_putcmd(ftp, "CWD", sizeof("CWD")-1, dir, dir_len)) { in ftp_chdir() 577 ftp_mkdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_mkdir() argument 585 if (!ftp_putcmd(ftp, "MKD", sizeof("MKD")-1, dir, dir_len)) { in ftp_mkdir() 593 return zend_string_init(dir, dir_len, 0); in ftp_mkdir() 608 ftp_rmdir(ftpbuf_t *ftp, const char *dir, const size_t dir_len) in ftp_rmdir() argument 613 if (!ftp_putcmd(ftp, "RMD", sizeof("RMD")-1, dir, dir_len)) { in ftp_rmdir()
|
H A D | php_ftp.c | 291 char *dir; in PHP_FUNCTION() local 300 if (!ftp_chdir(ftp, dir, dir_len)) { in PHP_FUNCTION() 359 char *dir; in PHP_FUNCTION() local 369 if (NULL == (tmp = ftp_mkdir(ftp, dir, dir_len))) { in PHP_FUNCTION() 385 char *dir; in PHP_FUNCTION() local 394 if (!ftp_rmdir(ftp, dir, dir_len)) { in PHP_FUNCTION() 462 char **nlist, **ptr, *dir; in PHP_FUNCTION() local 471 if (NULL == (nlist = ftp_nlist(ftp, dir, dir_len))) { in PHP_FUNCTION() 488 char **llist, **ptr, *dir; in PHP_FUNCTION() local 515 char **llist, **ptr, *dir; in PHP_FUNCTION() local [all …]
|
/php-src/ext/spl/tests/ |
H A D | spl_autoload_013.phpt | 10 private $dir; 11 public function __construct($dir) { 12 $this->dir = $dir; 15 var_dump("{$this->dir}/$class.php"); 47 ["dir":"Autoloader":private]=> 52 ["dir":"Autoloader":private]=>
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2673 function dir(string $directory, $context = null): Directory|false {}
|
H A D | basic_functions_arginfo.h | 2614 ZEND_FUNCTION(dir); 3250 ZEND_FE(dir, arginfo_dir)
|
/php-src/ext/mysqli/ |
H A D | mysqli_nonapi.c | 967 const char *name = NULL, *collation = NULL, *dir = NULL, *comment = NULL; local 993 add_property_string(return_value, "dir", (dir) ? (char *)dir : "");
|
/php-src/ext/phar/ |
H A D | util.c | 1218 …_entry_info_dir(phar_archive_data *phar, char *path, size_t path_len, char dir, char **error, int … in phar_get_entry_info_dir() argument 1241 if (!path_len && !dir) { in phar_get_entry_info_dir() 1271 if (entry->is_dir && !dir) { in phar_get_entry_info_dir() 1277 if (!entry->is_dir && dir == 2) { in phar_get_entry_info_dir() 1287 if (dir) { in phar_get_entry_info_dir() 1332 if ((ssb.sb.st_mode & S_IFDIR) && !dir) { in phar_get_entry_info_dir() 1340 if ((ssb.sb.st_mode & S_IFDIR) == 0 && dir) { in phar_get_entry_info_dir()
|
/php-src/ext/openssl/tests/ |
H A D | openssl_error_string_basic_openssl3.phpt | 59 // invalid file for is the test dir as writing file to existing dir should always fail
|
H A D | openssl_error_string_basic.phpt | 59 // invalid file for is the test dir as writing file to existing dir should always fail
|
/php-src/sapi/fpm/tests/ |
H A D | tester.inc | 1405 * @param string|null $dir 1410 private function getFile(string $extension, ?string $dir = null, ?string $name = null): string 1414 return is_null($dir) ? $fileName : $dir . '/' . $fileName; 1466 * @param string|null $dir 1474 ?string $dir = null, 1478 $filePath = $this->getFile($extension, $dir, $name);
|