Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 31) sorted by relevance

12

/PHP-5.4/ext/standard/tests/file/
H A Dbasename_variation2-win32.phpt42 foreach ($suffixes as $suffix) {
43 echo "basename for path $path, supplying suffix $suffix is:\n";
44 var_dump(basename($path, $suffix));
52 basename for path foo, supplying suffix .bar is:
54 basename for path foo, supplying suffix .b is:
56 basename for path foo, supplying suffix . is:
58 basename for path foo, supplying suffix is:
60 basename for path foo, supplying suffix foo is:
68 basename for path foo, supplying suffix / is:
70 basename for path foo, supplying suffix \ is:
[all …]
H A Dbasename_variation2.phpt42 foreach ($suffixes as $suffix) {
43 echo "basename for path $path, supplying suffix $suffix is:\n";
44 var_dump(basename($path, $suffix));
52 basename for path foo, supplying suffix .bar is:
54 basename for path foo, supplying suffix .b is:
56 basename for path foo, supplying suffix . is:
58 basename for path foo, supplying suffix is:
60 basename for path foo, supplying suffix foo is:
68 basename for path foo, supplying suffix / is:
70 basename for path foo, supplying suffix \ is:
[all …]
H A Dbasename-win32.phpt14 * proto string basename(string path [, string suffix])
31 /* paths with suffix removal */
38 /* paths with suffix and trailing slashes with suffix removal*/
45 /* paths with basename only suffix, with suffix removal*/
50 /* paths with basename only suffix & trailing slashes, with suffix removal*/
57 /* paths with shortcut home dir char, with suffix variation */
82 /* paths and suffix given as same */
104 if( 1 == count($path) ) { // no suffix provided
106 } else { // path as well as suffix provided,
115 echo "\n*** Testing possible variations in path and suffix ***\n";
[all …]
H A Dbasename.phpt8 * proto string basename(string path [, string suffix])
25 /* paths with suffix removal */
32 /* paths with suffix and trailing slashes with suffix removal*/
39 /* paths with basename only suffix, with suffix removal*/
44 /* paths with basename only suffix & trailing slashes, with suffix removal*/
60 /* paths with shortcut home dir char, with suffix variation */
73 /* paths with hostname:dir notation, with suffix variation */
103 /* paths and suffix given as same */
125 if( 1 == count($path) ) { // no suffix provided
127 } else { // path as well as suffix provided,
[all …]
H A Dbasename_error.phpt5 /* Prototype : string basename(string path [, string suffix])
20 $suffix = 'string_val';
22 var_dump( basename($path, $suffix, $extra_arg) );
H A Dbasename_variation4.phpt5 /* Prototype : string basename(string path [, string suffix])
97 // loop through each element of the array for suffix
H A Dfile.inc159 $name_suffix = suffix to end the common name given in name_prefix to create
204 $name_prefix = prefix to be used for names, name is suffix with a
206 $name_suffix = suffix to be used for the name, default = 1
247 //ensure that suffix is a +ve integer
326 $link_name_prefix = prefix to be used for names, name is suffix with a
328 $link_name_suffix = suffix to be used for the name, default = 1
454 numeric starting from suffix upto count
456 $name_suffix = first numeric suffix in the name
499 $link_name_suffix = first numeric suffix in the name
H A Dbasename_variation3.phpt5 /* Prototype : string basename(string path [, string suffix])
/PHP-5.4/ext/standard/tests/strings/
H A Dbasename_basic.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
8 If the filename ends in suffix this will also be cut off.
24 /* paths with suffix removal */
31 /* paths with suffix and trailing slashes with suffix removal*/
38 /* paths with basename only suffix, with suffix removal*/
43 /* paths with basename only suffix & trailing slashes, with suffix removal*/
62 if( 1 == count($path) ) { // no suffix provided
64 } else { // path as well as suffix provided,
H A Dbasename_variation.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
8 If the filename ends in suffix this will also be cut off.
11 /* paths with shortcut home dir char, with suffix variation */
24 /* paths with hostname:dir notation, with suffix variation */
54 /* paths and suffix given as same */
76 if( 1 == count($path) ) { // no suffix provided
78 } else { // path as well as suffix provided,
84 echo "*** Testing possible variations in path and suffix ***\n";
90 *** Testing possible variations in path and suffix ***
H A Dbasename.phpt15 // suffix removal checks
20 // suffix removal checks with trailing slashes
25 // suffix removal checks
H A Dbasename_error.phpt5 /* Prototype: string basename ( string $path [, string $suffix] );
8 If the filename ends in suffix this will also be cut off.
/PHP-5.4/ext/phar/tests/zip/
H A Dbug48791.phpt14suffix="." text:bullet-char="•"><style:list-level-properties text:list-level-position-and-space-mo…
/PHP-5.4/ext/date/tests/
H A Dgmdate_variation4.phpt25 echo "\n-- Testing gmdate() function with English ordinal suffix --\n";
42 -- Testing gmdate() function with English ordinal suffix --
H A Dbug35414.phpt2 Bug #35414 (strtotime() no longer works with ordinal suffix)
/PHP-5.4/ext/ldap/tests/
H A DREADME22 suffix "dc=my-domain,dc=com"
/PHP-5.4/sapi/apache_hooks/
H A DapMakefile.tmpl44 # the suffix feature of Make really wants just .x, so we use
/PHP-5.4/sapi/apache/
H A DapMakefile.tmpl44 # the suffix feature of Make really wants just .x, so we use
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_conf.c281 char suffix; in fpm_conf_set_time() local
287 suffix = val[len-1]; in fpm_conf_set_time()
288 switch (suffix) { in fpm_conf_set_time()
303 suffix = '0'; in fpm_conf_set_time()
305 if (suffix < '0' || suffix > '9') { in fpm_conf_set_time()
/PHP-5.4/ext/snmp/tests/
H A Dsnmp-object.phpt79 echo "WALK multiple on single OID with OID suffix as keys\n";
199 WALK multiple on single OID with OID suffix as keys
/PHP-5.4/ext/standard/
H A Dphp_string.h128 PHPAPI void php_basename(const char *s, size_t len, char *suffix, size_t sufflen, char **p_ret, siz…
/PHP-5.4/
H A Dacinclude.m4247 dnl remove the suffix
842 suffix=so
846 suffix=nlm
850 suffix=la
856 PHP_ZEND_EX="$PHP_ZEND_EX \$(phplibdir)/$1.$suffix"
858 PHP_MODULES="$PHP_MODULES \$(phplibdir)/$1.$suffix"
862 \$(phplibdir)/$1.$suffix: $3/$1.$suffix
863 \$(LIBTOOL) --mode=install cp $3/$1.$suffix \$(phplibdir)
1983 dnl Determines link library suffix SHLIB_SUFFIX_NAME
1986 dnl Determines shared library suffix SHLIB_DL_SUFFIX_NAME
[all …]
/PHP-5.4/ext/spl/
H A Dspl_directory.c997 char *fname, *suffix = 0; in SPL_METHOD() local
1001 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { in SPL_METHOD()
1015 php_basename(fname, flen, suffix, slen, &fname, &flen TSRMLS_CC); in SPL_METHOD()
1026 char *suffix = 0, *fname; in SPL_METHOD() local
1030 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &suffix, &slen) == FAILURE) { in SPL_METHOD()
1034 …php_basename(intern->u.dir.entry.d_name, strlen(intern->u.dir.entry.d_name), suffix, slen, &fname,… in SPL_METHOD()
1944 ZEND_ARG_INFO(0, suffix)
/PHP-5.4/ext/oci8/
H A Dconfig.m483 …dnl There is no case for Oracle 9.2. Oracle 9.2 libraries have a 9.0 suffix for drop-in compatibil…
/PHP-5.4/sapi/litespeed/
H A DREADME97 configuration: set 'suffix' to 'php', 'Handler Type' to 'LiteSpeed

Completed in 55 milliseconds

12