Home
last modified time | relevance | path

Searched refs:mode (Results 201 – 225 of 776) sorted by relevance

12345678910>>...32

/PHP-7.2/ext/standard/tests/file/
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 …]
H A Dfgetss_basic2-win32-mb.phpt41 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
82 -- Testing fgetss() with file opened using w+ mode --
97 -- Testing fgetss() with file opened using w+b mode --
112 -- Testing fgetss() with file opened using w+t mode --
127 -- Testing fgetss() with file opened using a+ mode --
142 -- Testing fgetss() with file opened using a+b mode --
157 -- Testing fgetss() with file opened using a+t mode --
172 -- Testing fgetss() with file opened using x+ mode --
187 -- Testing fgetss() with file opened using x+b mode --
202 -- Testing fgetss() with file opened using x+t mode --
H A Dfgetss_basic2-win32.phpt41 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
82 -- Testing fgetss() with file opened using w+ mode --
97 -- Testing fgetss() with file opened using w+b mode --
112 -- Testing fgetss() with file opened using w+t mode --
127 -- Testing fgetss() with file opened using a+ mode --
142 -- Testing fgetss() with file opened using a+b mode --
157 -- Testing fgetss() with file opened using a+t mode --
172 -- Testing fgetss() with file opened using x+ mode --
187 -- Testing fgetss() with file opened using x+b mode --
202 -- Testing fgetss() with file opened using x+t mode --
/PHP-7.2/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-7.2/ext/standard/
H A Dphp_fopen_wrappers.h26 …_url_wrap_http(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_…
27 php_stream *php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, const char *path, const char *mode
/PHP-7.2/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-7.2/ext/spl/
H A Dspl_directory.h139 #define SPL_FILE_DIR_CURRENT(intern,mode) ((intern->flags&SPL_FILE_DIR_CURRENT_MODE_MASK)==mode) argument
145 #define SPL_FILE_DIR_KEY(intern,mode) ((intern->flags&SPL_FILE_DIR_KEY_MODE_MASK)==mode) argument
/PHP-7.2/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-7.2/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-7.2/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-7.2/Zend/tests/type_declarations/
H A Dweak_call_strict.phpt11 // Will succeed: Function was declared in strict mode, but that does not matter
12 // This file uses weak mode, so the call is weak, and float accepted for int
H A Dweak_explicit_call_strict.phpt11 // Will succeed: Function was declared in strict mode, but that does not matter
12 // This file uses weak mode, so the call is weak, and float accepted for int
/PHP-7.2/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) );
/PHP-7.2/ext/standard/tests/streams/
H A Dstream_get_meta_data_socket_variation2.phpt48 ["mode"]=>
67 ["mode"]=>
86 ["mode"]=>
105 ["mode"]=>
/PHP-7.2/ext/spl/internal/
H A Dspldoublylinkedlist.inc28 /** Iterator mode
33 /** Iterator mode
38 /** Iterator mode
43 /** Iterator mode
116 /** Changes the iteration mode. There are two orthogonal sets of modes that
126 * The default mode is 0 : SplDoublyLnkedList::IT_MODE_FIFO | SplDoublyLnkedList::IT_MODE_KEEP
128 * @param $mode new mode of iteration
130 public function setIteratorMode($mode)
132 $this->_it_mode = $mode;
135 /** @return the current iteration mode
H A Drecursiveiteratoriterator.inc37 private $mode = self::LEAVES_ONLY;
43 * @param mode Operation mode (one of):
53 function __construct(RecursiveIterator $it, $mode = self::LEAVES_ONLY, $flags = 0)
56 $this->mode = $mode;
219 if (($this->mode == self::SELF_FIRST && $this->callHasChildren())
220 || $this->mode == self::LEAVES_ONLY)
/PHP-7.2/ext/phar/
H A Dtar.h43 char mode[8]; /* file mode */ member
67 char mode[8]; /* file mode */ member
/PHP-7.2/ext/oci8/tests/
H A Dexecute_mode.phpt2 oci_execute() and invalid execute mode
18 Warning: oci_execute(): Invalid execute mode given: -1 in %s on line %d
/PHP-7.2/ext/pdo/
H A DREADME37 You can change the auto-commit mode at run-time:
41 Regardless of the error handling mode set on the database handle, if the
42 autocommit mode cannot be changed, an exception will be thrown.
46 the handle will switch back to autocommit mode again. If the mode could not
/PHP-7.2/ext/dba/
H A Ddba_gdbm.c48 gmode = info->mode == DBA_READER ? GDBM_READER : in DBA_OPEN_FUNC()
49 info->mode == DBA_WRITER ? GDBM_WRITER : in DBA_OPEN_FUNC()
50 info->mode == DBA_CREAT ? GDBM_WRCREAT : in DBA_OPEN_FUNC()
51 info->mode == DBA_TRUNC ? GDBM_NEWDB : -1; in DBA_OPEN_FUNC()
107 switch (gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE)) { in DBA_UPDATE_FUNC()

Completed in 44 milliseconds

12345678910>>...32