Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 25 of 48) sorted by path

12

/PHP-7.4/
H A DNEWS2728 . Fixed bug #65414 (deal with leading slash when adding files correctly).
/PHP-7.4/Zend/
H A Dzend_constants.c504 char *slash = strrchr(ZSTR_VAL(c->name), '\\'); in zend_register_constant() local
505 if (slash) { in zend_register_constant()
507 zend_str_tolower(ZSTR_VAL(lowercase_name), slash - ZSTR_VAL(c->name)); in zend_register_constant()
H A Dzend_execute_API.c579 char *slash = (char *) zend_memrchr(actual, '\\', actual_len); in zend_use_undefined_constant() local
581 if (slash) { in zend_use_undefined_constant()
582 actual = slash + 1; in zend_use_undefined_constant()
/PHP-7.4/build/
H A Dphp.m4229 dnl ac_srcdir/ac_bdir include trailing slash
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic3125 >8 byte &0x10 slash-switched,
H A Dmagic私はガラスを食べられます3125 >8 byte &0x10 slash-switched,
/PHP-7.4/ext/filter/tests/
H A D004.phpt8 d="quotes"&e=\slash
25 O'Henry<b>Bold</b>"quotes"\slash
26 O'Henry<b>Bold</b>"quotes"\slash
/PHP-7.4/ext/json/tests/
H A Dpass001.1.phpt40 \"slash\": \"/ & \\/\",
128 "slash": "/ & \/",
222 ["slash"]=>
403 ["slash"]=>
531 …one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha"…
533 …one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha"…
588 ["slash"]=>
769 ["slash"]=>
H A Dpass001.1_64bit.phpt41 \"slash\": \"/ & \\/\",
129 "slash": "/ & \/",
223 ["slash"]=>
404 ["slash"]=>
532 …one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha"…
534 …one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha"…
589 ["slash"]=>
770 ["slash"]=>
H A Dpass001.phpt34 \"slash\": \"/ & \\/\",
117 "slash": "/ & \/",
205 ["slash"]=>
343 ["slash"]=>
430 …one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha"…
432 …one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha"…
485 ["slash"]=>
623 ["slash"]=>
/PHP-7.4/ext/phar/
H A Dphar.c1800 char *slash; in phar_analyze_path() local
1809 if (slash) { in phar_analyze_path()
1810 *slash = '\0'; in phar_analyze_path()
1814 if (!slash) { in phar_analyze_path()
1823 if (slash) { in phar_analyze_path()
1825 *slash = '\0'; in phar_analyze_path()
1829 if (slash) { in phar_analyze_path()
1830 *slash = '\0'; in phar_analyze_path()
1921 const char *pos, *slash; in phar_detect_phar_fname_ext() local
2028 if (!slash) { in phar_detect_phar_fname_ext()
[all …]
H A Dphar_object.c4144 const char *slash; in phar_extract_file() local
4231 slash = zend_memrchr(filename, '/', filename_len); in phar_extract_file()
4233 if (slash) { in phar_extract_file()
4234 fullpath[dest_len + (slash - filename) + 1] = '\0'; in phar_extract_file()
4257 if (slash) { in phar_extract_file()
4258 fullpath[dest_len + (slash - filename) + 1] = '/'; in phar_extract_file()
H A Dphar_path_check.re61 *error = "double slash";
73 *error = "back-slash";
/PHP-7.4/ext/phar/tests/
H A Daddfuncs.phpt48 …nd cannot be created: phar error: invalid path "phar://%saddfuncs.phar.php/a" contains double slash
H A Dbug65414.phpt34 …xist and cannot be created: phar error: invalid path "//.phar/injected-3.txt" contains double slash
/PHP-7.4/ext/spl/
H A Dspl_directory.c205 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in spl_filesystem_object_get_file_name() local
227 &intern->file_name, 0, "%s%c%s", path, slash, intern->u.dir.entry.d_name); in spl_filesystem_object_get_file_name()
1531 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in SPL_METHOD() local
1547 … = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.ent… in SPL_METHOD()
1582 char slash = SPL_HAS_FLAG(intern->flags, SPL_FILE_DIR_UNIXPATHS) ? '/' : DEFAULT_SLASH; in SPL_METHOD() local
1589 …RETURN_NEW_STR(strpprintf(0, "%s%c%s", intern->u.dir.sub_path, slash, intern->u.dir.entry.d_name)); in SPL_METHOD()
/PHP-7.4/ext/standard/
H A Dstring.c4289 const __m128i slash = _mm_set1_epi8('\\'); local
4293 __m128i any_slash = _mm_cmpeq_epi8(in, slash);
/PHP-7.4/ext/standard/tests/array/
H A Darray_unshift_variation9.phpt49 // heredoc with quote chars & slash
/PHP-7.4/ext/standard/tests/file/
H A Ddisk_free_space_variation.phpt31 /* Testing a file trailing slash */
H A Ddisk_total_space_variation.phpt33 /* Testing a file trailing slash */
H A Dfilegroup_variation3.phpt24 /* Testing a file trailing slash */
H A Dfileinode_variation3.phpt25 /* Testing a file trailing slash */
H A Dfileowner_variation3.phpt25 /* Testing a file trailing slash */
H A Dfileperms_variation3.phpt24 /* Testing a file trailing slash */
H A Dis_dir_variation4.phpt22 /* Testing a file trailing slash */

Completed in 183 milliseconds

12