Home
last modified time | relevance | path

Searched refs:mode (Results 151 – 175 of 728) sorted by relevance

12345678910>>...30

/PHP-5.4/ext/standard/tests/file/
H A D007_variation13-win32.phpt2 Test fopen and fclose() functions - usage variations - "at" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "at" mode,
34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n";
35 $file_handle = fopen($file, "at"); //opening the file "at" mode
47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created
55 *** Test fopen() & fclose() functions: with 'at' mode ***
H A D007_variation13.phpt2 Test fopen and fclose() functions - usage variations - "at" mode
12 Prototype: resource fopen(string $filename, string $mode
22 /* Test fopen() and fclose(): Opening the file in "at" mode,
34 echo "*** Test fopen() & fclose() functions: with 'at' mode ***\n";
35 $file_handle = fopen($file, "at"); //opening the file "at" mode
47 fclose( fopen($file, "at") ); //Opening the non-existing file in "at" mode, which will be created
55 *** Test fopen() & fclose() functions: with 'at' mode ***
H A Dfgetc_variation1.phpt24 echo "-- File opened in mode : $file_modes[$loop_counter] --\n";
52 -- File opened in mode : r --
59 -- File opened in mode : rb --
66 -- File opened in mode : rt --
73 -- File opened in mode : r+ --
80 -- File opened in mode : r+b --
87 -- File opened in mode : r+t --
H A Dfread_variation2.phpt110 -- File opened in mode a --
125 -- File opened in mode ab --
140 -- File opened in mode at --
155 -- File opened in mode w --
170 -- File opened in mode wb --
185 -- File opened in mode wt --
200 -- File opened in mode x --
247 -- File opened in mode a --
292 -- File opened in mode w --
337 -- File opened in mode x --
[all …]
H A D007_basic.phpt94 -- Iteration with mode 'w' --
107 -- Iteration with mode 'wb' --
120 -- Iteration with mode 'wt' --
133 -- Iteration with mode 'w+' --
146 -- Iteration with mode 'w+b' --
172 -- Iteration with mode 'r' --
185 -- Iteration with mode 'rb' --
198 -- Iteration with mode 'rt' --
211 -- Iteration with mode 'r+' --
250 -- Iteration with mode 'a' --
[all …]
H A D007_variation10.phpt2 Test fopen and fclose() functions - usage variations - "r+t" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "r+t" mode,
29 echo "*** Test fopen() & fclose() functions: with 'r+t' mode ***\n";
30 $file_handle = fopen($file, "r+t"); //opening the file in "r+t" mode
46 *** Test fopen() & fclose() functions: with 'r+t' mode ***
H A D007_variation18.phpt2 Test fopen and fclose() functions - usage variations - "r+b" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "r+b" mode,
29 echo "*** Test fopen() & fclose() functions: with 'r+b' mode ***\n";
30 $file_handle = fopen($file, "r+b"); //opening the file in "r+b" mode
46 *** Test fopen() & fclose() functions: with 'r+b' mode ***
H A D007_variation2.phpt2 Test fopen and fclose() functions - usage variations - "r+" mode
7 Prototype: resource fopen(string $filename, string $mode
17 /* Test fopen() and fclose(): Opening the file in "r+" mode,
29 echo "*** Test fopen() & fclose() functions: with 'r+' mode ***\n";
30 $file_handle = fopen($file, "r+"); //opening the file in "r+" mode
46 *** Test fopen() & fclose() functions: with 'r+' mode ***
H A Dfread_variation3-win32.phpt116 -- File opened in mode a+ --
130 -- File opened in mode a+b --
144 -- File opened in mode a+t --
158 -- File opened in mode w+ --
172 -- File opened in mode w+b --
186 -- File opened in mode w+t --
200 -- File opened in mode x+ --
244 -- File opened in mode a+ --
286 -- File opened in mode w+ --
328 -- File opened in mode x+ --
[all …]
H A Dfread_variation3.phpt116 -- File opened in mode a+ --
130 -- File opened in mode a+b --
144 -- File opened in mode a+t --
158 -- File opened in mode w+ --
172 -- File opened in mode w+b --
186 -- File opened in mode w+t --
200 -- File opened in mode x+ --
244 -- File opened in mode a+ --
286 -- File opened in mode w+ --
328 -- File opened in mode x+ --
[all …]
H A Dfread_variation4-win32.phpt114 -- File opened in mode a --
127 -- File opened in mode ab --
140 -- File opened in mode at --
153 -- File opened in mode w --
166 -- File opened in mode wb --
179 -- File opened in mode wt --
192 -- File opened in mode x --
233 -- File opened in mode a --
272 -- File opened in mode w --
311 -- File opened in mode x --
[all …]
H A Dfread_variation4.phpt114 -- File opened in mode a --
127 -- File opened in mode ab --
140 -- File opened in mode at --
153 -- File opened in mode w --
166 -- File opened in mode wb --
179 -- File opened in mode wt --
192 -- File opened in mode x --
233 -- File opened in mode a --
272 -- File opened in mode w --
311 -- File opened in mode x --
[all …]
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 --
/PHP-5.4/ext/standard/tests/array/
H A Dsizeof_variation3.phpt2 Test sizeof() function : usage variations - checking for infinite recursion in COUNT_RECURSIVE mode
5 /* Prototype : int sizeof($mixed var[, int $mode])
14 echo "-- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --…
30 -- Testing sizeof() for infinite recursion with arrays as argument in COUNT_RECURSIVE mode --
H A Dsizeof_variation5.phpt2 Test sizeof() function : usage variations - different values for 'mode' argument
5 /* Prototype : int sizeof($mixed var[, int $mode])
14 echo "--- Testing sizeof() with different values for 'mode' argument ---\n";
56 // loop through the each element of $modes_array for 'mode' argument
62 $mode = $mode_values[$i];
64 var_dump( sizeof($array1, $mode) );
75 --- Testing sizeof() with different values for 'mode' argument ---
/PHP-5.4/main/streams/
H A Dmmap.c25 …stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len… in _php_stream_mmap_range() argument
31 range.mode = mode; in _php_stream_mmap_range()
/PHP-5.4/ext/mcrypt/tests/
H A Dmcrypt_decrypt.phpt9 $mode = MCRYPT_MODE_CBC;
12 $iv = mcrypt_create_iv(mcrypt_get_iv_size($cipher, $mode), MCRYPT_RAND);
13 $enc_data = mcrypt_encrypt($cipher, $key, $secret, $mode, $iv);
16 echo trim(mcrypt_decrypt($cipher, $key, $enc_data, $mode, $iv)) . "\n";
H A Dmcrypt_encrypt_3des_ecb.phpt11 /* Prototype : string mcrypt_encrypt(string cipher, string key, string data, string mode, string i…
20 $mode = MCRYPT_MODE_ECB;
34 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode)));
44 // ivs should be ignored in ecb mode
48 var_dump(bin2hex(mcrypt_encrypt($cipher, $key, $data, $mode, $iv)));
/PHP-5.4/ext/standard/
H A Dphp_fopen_wrapper.c160 php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, char *mode, int optio… in php_stream_url_wrap_php() argument
184 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_php()
193 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_php()
309 if (strchr(mode, 'r') || strchr(mode, '+')) { in php_stream_url_wrap_php()
312 if (strchr(mode, 'w') || strchr(mode, '+') || strchr(mode, 'a')) { in php_stream_url_wrap_php()
322 if (!(stream = php_stream_open_wrapper(p + 10, mode, options, opened_path))) { in php_stream_url_wrap_php()
370 stream = php_stream_fopen_from_file(file, mode); in php_stream_url_wrap_php()
372 stream = php_stream_fopen_from_fd(fd, mode, NULL); in php_stream_url_wrap_php()
/PHP-5.4/ext/mcrypt/
H A Dmcrypt.c56 ZEND_ARG_INFO(0, mode)
130 ZEND_ARG_INFO(0, mode)
140 ZEND_ARG_INFO(0, mode)
190 ZEND_ARG_INFO(0, mode)
565 mode, in PHP_FUNCTION()
1283 zval **mode; in PHP_FUNCTION() local
1299 zval **mode; in PHP_FUNCTION() local
1315 zval **mode; in PHP_FUNCTION() local
1331 zval **mode; in PHP_FUNCTION() local
1347 zval **mode; in PHP_FUNCTION() local
[all …]
/PHP-5.4/ext/phar/
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stre…
27 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS…
36 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char *mode, int options,…
/PHP-5.4/tests/lang/
H A Dbug24951.phpt5 function test($s, $mode)
7 …return (($mode & PHP_OUTPUT_HANDLER_START)?"[":"") . $s . (($mode & PHP_OUTPUT_HANDLER_END)?"]\n":…
/PHP-5.4/ext/standard/tests/general_functions/
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.4/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.4/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

Completed in 42 milliseconds

12345678910>>...30