Home
last modified time | relevance | path

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

12345678910>>...30

/PHP-5.5/ext/standard/tests/array/
H A Dsizeof_error.phpt5 /* Prototype : int sizeof(mixed $var[, int $mode] )
18 echo "-- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode --\n";
22 echo "-- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --\n";
33 -- Testing sizeof() function with more than two arguments under COUNT_NORMAL mode --
37 -- Testing sizeof() function with more than two arguments under COUNT_RECURSIVE mode --
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.5/ext/standard/tests/file/
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 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 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 …]
/PHP-5.5/ext/pcre/pcrelib/testdata/
H A Dtestoutput22-169 In 16-bit mode with options: S8>testdata/saved16LE-2
11 In 32-bit mode with options: S8>testdata/saved32LE-2
73 Running in 16-bit mode but pattern was compiled in 32-bit mode
79 Running in 16-bit mode but pattern was compiled in 32-bit mode
H A Dtestoutput22-329 In 16-bit mode with options: S8>testdata/saved16LE-2
11 In 32-bit mode with options: S8>testdata/saved32LE-2
19 Running in 32-bit mode but pattern was compiled in 16-bit mode
25 Running in 32-bit mode but pattern was compiled in 16-bit mode
H A Dtestinput212 right away, and can be any old pattern compiled in 8-bit mode ("abc" is
12 In 16-bit mode with options: S>testdata/saved16LE-1
14 In 32-bit mode with options: S>testdata/saved32LE-1
/PHP-5.5/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.5/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.5/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.5/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.5/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)
576 mode, in PHP_FUNCTION()
1302 zval **mode; in PHP_FUNCTION() local
1318 zval **mode; in PHP_FUNCTION() local
1334 zval **mode; in PHP_FUNCTION() local
1350 zval **mode; in PHP_FUNCTION() local
1366 zval **mode; in PHP_FUNCTION() local
[all …]
/PHP-5.5/tests/lang/
H A Dbug24951.phpt5 function test($s, $mode)
7 …return (($mode & PHP_OUTPUT_HANDLER_START)?"[":"") . $s . (($mode & PHP_OUTPUT_HANDLER_END)?"]\n":…

Completed in 33 milliseconds

12345678910>>...30