/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_sql_safe_mode.phpt | 22 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.4/ext/standard/tests/general_functions/ |
H A D | php_uname_basic.phpt | 5 /* Prototype: string php_uname ([ string $mode ] ) 13 echo "\n-- Try all the defined mode's --\n"; 28 -- Try all the defined mode's --
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | fread_variation1.phpt | 111 -- 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 D | chmod_error.phpt | 5 /* 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 D | stat_variation5-win32.phpt | 2 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 D | fscanf_variation51.phpt | 2 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 D | fgetss_variation1-win32.phpt | 49 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 D | fgetss_variation1.phpt | 45 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 D | include_streams.phpt | 14 public $mode; 28 function stream_open($path, $mode, $options, &$opened_path) 31 $this->mode = $mode; 42 if (strchr($mode, 'a'))
|
H A D | fread_basic.phpt | 106 -- 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.4/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 5 function test($url, $mode) { 6 echo "$url, $mode\n"; 7 $fd = fopen($url, $mode);
|
H A D | stream_get_meta_data_socket_variation2.phpt | 42 ["mode"]=> 61 ["mode"]=> 80 ["mode"]=> 99 ["mode"]=>
|
/PHP-5.4/ext/zlib/ |
H A D | zlib_fopen_wrapper.c | 109 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.4/ext/dba/ |
H A D | dba_dbm.c | 45 #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.4/ext/zlib/tests/ |
H A D | gzopen_basic.phpt | 11 /* 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.4/ext/iconv/tests/ |
H A D | iconv_mime_decode.phpt | 17 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.4/ext/standard/ |
H A D | php_fopen_wrappers.h | 26 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.4/ext/spl/tests/ |
H A D | SplFileObject_fputcsv_variation14.phpt | 7 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.4/ext/phar/tests/tar/files/ |
H A D | corrupt_tarmaker.php.inc | 49 '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.4/ext/pdo/tests/ |
H A D | bug_44173.phpt | 61 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.4/Zend/tests/ |
H A D | bug61087.phpt | 2 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.4/ext/standard/tests/strings/ |
H A D | count_chars_error.phpt | 6 /* Prototype : mixed count_chars ( string $string [, int $mode ] ) 18 $mode = 1; 20 var_dump( count_chars($string, $mode, $extra_arg) );
|
/PHP-5.4/ext/spl/internal/ |
H A D | spldoublylinkedlist.inc | 28 /** 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 D | recursiveiteratoriterator.inc | 37 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-5.4/ext/mcrypt/tests/ |
H A D | mcrypt_ecb_3des_encrypt.phpt | 11 /* Prototype : string mcrypt_ecb(int cipher, string key, string data, int mode, string iv) 22 $mode = MCRYPT_ENCRYPT; 42 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv))); 49 var_dump(bin2hex(mcrypt_ecb($cipher, $key, $data, $mode, $iv)));
|