Home
last modified time | relevance | path

Searched refs:mode (Results 176 – 200 of 750) sorted by relevance

12345678910>>...30

/PHP-5.5/ext/standard/tests/general_functions/
H A Dphp_uname_basic.phpt5 /* Prototype: string php_uname ([ string $mode ] )
13 echo "\n-- Try all the defined mode's --\n";
28 -- Try all the defined mode's --
H A Dphp_uname_error.phpt5 /* Prototype: string php_uname ([ string $mode ] )
14 echo "\n-- Testing php_uname() function with invalid mode --\n";
15 // am invalid mode shoudl result in same o/p as mode 'a'
40 -- Testing php_uname() function with invalid mode --
/PHP-5.5/ext/spl/internal/
H A Drecursiveregexiterator.inc28 * @param mode operation mode (one of self::MATCH, self::GET_MATCH,
34 function __construct(RecursiveIterator $it, $regex, $mode = 0, $flags = 0, $preg_flags = 0) {
35 parent::__construct($it, $regex, $mode, $flags, $preg_flags);
/PHP-5.5/ext/spl/
H A Dspl_directory.h128 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument
134 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
/PHP-5.5/ext/mysql/tests/
H A Dmysql_sql_safe_mode.phpt22 printf("[001] Safe mode not working properly?\n");
27 printf("[002] Safe mode not working properly?\n");
33 Notice: mysql_connect(): SQL safe mode in effect - ignoring host/user/password information in %s on…
37 Notice: mysql_pconnect(): SQL safe mode in effect - ignoring host/user/password information in %s o…
/PHP-5.5/ext/standard/tests/file/
H A Dfgetc_variation4.phpt22 echo "-- File opened in mode : $file_mode --\n";
56 -- File opened in mode : a+ --
82 -- File opened in mode : a+b --
108 -- File opened in mode : a+t --
134 -- File opened in mode : x+ --
160 -- File opened in mode : x+b --
186 -- File opened in mode : x+t --
212 -- File opened in mode : w+ --
238 -- File opened in mode : w+b --
264 -- File opened in mode : w+t --
H A Dfread_variation1.phpt111 -- File opened in mode a+ --
126 -- File opened in mode a+b --
141 -- File opened in mode a+t --
156 -- File opened in mode w+ --
171 -- File opened in mode w+b --
186 -- File opened in mode w+t --
201 -- File opened in mode x+ --
248 -- File opened in mode a+ --
293 -- File opened in mode w+ --
338 -- File opened in mode x+ --
[all …]
H A Dchmod_error.phpt5 /* Prototype : bool chmod(string filename, int mode)
6 * Description: Change file mode
17 $mode = 10;
19 var_dump( chmod($filename, $mode, $extra_arg) );
H A Dstat_variation5-win32.phpt2 Test stat() functions: usage variations - file opened in read/write mode
17 /* test the stats of file opened in write mode and then same in read mode */
36 // opening file again in read mode
H A Dfscanf_variation51.phpt2 Test fscanf() function: usage variations - file opened in write only mode
11 /* Test fscanf() to scan a file for read when file is opened inwrite only mode */
15 echo "*** Test fscanf(): to read from a file opened in write only mode ***\n";
41 foreach($modes as $mode) {
43 $file_handle = fopen($filename, $mode);
69 *** Test fscanf(): to read from a file opened in write only mode ***
H A Dfgetss_variation1-win32.phpt49 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
83 -- Testing fgetss() with file opened using w mode --
93 -- Testing fgetss() with file opened using wb mode --
103 -- Testing fgetss() with file opened using wt mode --
113 -- Testing fgetss() with file opened using a mode --
123 -- Testing fgetss() with file opened using ab mode --
133 -- Testing fgetss() with file opened using at mode --
143 -- Testing fgetss() with file opened using x mode --
153 -- Testing fgetss() with file opened using xb mode --
163 -- Testing fgetss() with file opened using xt mode --
H A Dfgetss_variation1.phpt45 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
79 -- Testing fgetss() with file opened using w mode --
89 -- Testing fgetss() with file opened using wb mode --
99 -- Testing fgetss() with file opened using wt mode --
109 -- Testing fgetss() with file opened using a mode --
119 -- Testing fgetss() with file opened using ab mode --
129 -- Testing fgetss() with file opened using at mode --
139 -- Testing fgetss() with file opened using x mode --
149 -- Testing fgetss() with file opened using xb mode --
159 -- Testing fgetss() with file opened using xt mode --
H A Dinclude_streams.phpt14 public $mode;
28 function stream_open($path, $mode, $options, &$opened_path)
31 $this->mode = $mode;
42 if (strchr($mode, 'a'))
H A Dfread_basic.phpt106 -- File opened in mode r --
128 -- File opened in mode rb --
150 -- File opened in mode rt --
172 -- File opened in mode r+ --
240 -- File opened in mode r --
262 -- File opened in mode rb --
284 -- File opened in mode rt --
306 -- File opened in mode r+ --
374 -- File opened in mode r --
396 -- File opened in mode rb --
[all …]
/PHP-5.5/ext/standard/tests/streams/
H A Dbug44818.phpt5 function test($url, $mode) {
6 echo "$url, $mode\n";
7 $fd = fopen($url, $mode);
/PHP-5.5/ext/dba/
H A Ddba_dbm.c45 #define TRUNC_IT(extension, mode) \ argument
48 if((fd = VCWD_OPEN_MODE(buf, O_CREAT | mode | O_WRONLY, filemode)) == -1) \
67 if(info->mode == DBA_TRUNC) { in DBA_OPEN_FUNC()
75 if(info->mode == DBA_CREAT) { in DBA_OPEN_FUNC()
117 if (mode == 1) { /* insert */ in DBA_UPDATE_FUNC()
/PHP-5.5/ext/zlib/
H A Dzlib_fopen_wrapper.c109 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, char *path, char *mode, int options, in php_stream_gzopen() argument
116 if (strchr(mode, '+')) { in php_stream_gzopen()
129 …innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST… in php_stream_gzopen()
137 self->gz_file = gzdopen(dup(fd), mode); in php_stream_gzopen()
140 stream = php_stream_alloc_rel(&php_stream_gzio_ops, self, 0, mode); in php_stream_gzopen()
/PHP-5.5/ext/zlib/tests/
H A Dgzopen_basic.phpt11 /* Prototype : resource gzopen(string filename, string mode [, int use_include_path])
22 $mode = 'r';
26 $h = gzopen($filename, $mode, $use_include_path);
31 $h = gzopen($filename, $mode);
/PHP-5.5/ext/iconv/tests/
H A Diconv_mime_decode.phpt17 global $mode;
19 $result = iconv_mime_decode($header, $mode, "UTF-8");
59 $mode = 0;
61 $mode = ICONV_MIME_DECODE_STRICT;
63 $mode = ICONV_MIME_DECODE_CONTINUE_ON_ERROR;
65 $mode = ICONV_MIME_DECODE_STRICT | ICONV_MIME_DECODE_CONTINUE_ON_ERROR;
/PHP-5.5/ext/standard/
H A Dphp_fopen_wrappers.h26 php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, char *mode, int optio…
27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, char *mode, int option…
/PHP-5.5/ext/spl/tests/
H A DSplFileObject_fputcsv_variation14.phpt7 of two chars is provided and file is opened in read only mode */
9 echo "*** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode
25 *** Testing fputcsv() : with enclosure & delimiter of two chars and file opened in read mode ***
/PHP-5.5/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc49 'mode' => 0x8000 + 0644,
59 if ($stat['mode'] & 0xA000 && $corrupt === 'symlink') {
64 } else if ($stat['mode'] & 0xA000) {
69 } else if ($stat['mode'] & 0x4000) {
71 } else if ($stat['mode'] & 0x8000) {
89 decoct($stat['mode']),
161 'mode' => 0x4000 + 0644,
/PHP-5.5/ext/pdo/tests/
H A Dbug_44173.phpt61 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode doesn't allow any extra arguments…
64 Warning: PDO::query(): SQLSTATE[HY000]: General error: mode must be an integer in %s
70 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the object parameter in …
73 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the colno argument in %s
76 Warning: PDO::query(): SQLSTATE[HY000]: General error: fetch mode requires the classname argument i…
/PHP-5.5/Zend/tests/
H A Dbug61087.phpt2 Bug #61087 (Memory leak in parse_ini_file when specifying invalid scanner mode)
10 Warning: Invalid scanner mode in %s on line %d
/PHP-5.5/ext/standard/tests/strings/
H A Dcount_chars_error.phpt6 /* Prototype : mixed count_chars ( string $string [, int $mode ] )
18 $mode = 1;
20 var_dump( count_chars($string, $mode, $extra_arg) );

Completed in 72 milliseconds

12345678910>>...30