Home
last modified time | relevance | path

Searched refs:file_mode (Results 1 – 25 of 40) sorted by relevance

12

/PHP-5.6/ext/standard/tests/file/
H A Dfgetc_variation3.phpt22 foreach ($file_modes as $file_mode ) {
23 echo "-- File opened in mode : $file_mode --\n";
25 $file_handle = fopen($filename, $file_mode);
H A Dfgets_variation1.phpt21 foreach ($file_modes as $file_mode ) {
22 echo "-- File opened in mode : $file_mode --\n";
24 $file_handle = fopen($filename, $file_mode);
H A Dfgetc_variation4.phpt21 foreach ($file_modes as $file_mode ) {
22 echo "-- File opened in mode : $file_mode --\n";
24 $file_handle = fopen($filename, $file_mode);
H A Dfwrite_variation1-win32.phpt38 foreach($file_modes as $file_mode) {
39 echo "-- Opening file in $file_mode --\n";
45 $file_handle = fopen($filename, $file_mode);
H A Dfwrite_variation1.phpt37 foreach($file_modes as $file_mode) {
38 echo "-- Opening file in $file_mode --\n";
44 $file_handle = fopen($filename, $file_mode);
H A Dfgets_variation5.phpt23 foreach($file_modes as $file_mode) {
24 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n";
30 $file_handle = fopen($filename, $file_mode);
53 } // file_mode loop
H A Dfseek_ftell_rewind_variation5.phpt36 foreach($file_modes as $file_mode) {
37 echo "-- File opened in mode ".$file_mode." --\n";
40 $file_handle = fopen($filename, $file_mode);
57 } //end of file_mode loop
H A Dfwrite_variation4-win32.phpt38 foreach($file_modes as $file_mode) {
39 echo "-- Opening file in $file_mode --\n";
43 $file_handle = fopen($filename, $file_mode);
H A Dfwrite_variation4.phpt38 foreach($file_modes as $file_mode) {
39 echo "-- Opening file in $file_mode --\n";
43 $file_handle = fopen($filename, $file_mode);
H A Dfseek_ftell_rewind_variation4.phpt40 foreach($file_modes as $file_mode) {
41 echo "-- File opened in mode ".$file_mode." --\n";
42 $file_handle = fopen($filename, $file_mode);
64 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation6.phpt40 foreach($file_modes as $file_mode) {
41 echo "-- File opened in mode ".$file_mode." --\n";
42 $file_handle = fopen($filename, $file_mode);
64 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation7.phpt36 foreach($file_modes as $file_mode) {
37 echo "-- File opened in mode ".$file_mode." --\n";
40 $file_handle = fopen($filename, $file_mode);
58 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation8-win32.phpt41 foreach($file_modes as $file_mode) {
42 echo "-- File opened in mode ".$file_mode." --\n";
43 $file_handle = fopen($filename, $file_mode);
65 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation8.phpt41 foreach($file_modes as $file_mode) {
42 echo "-- File opened in mode ".$file_mode." --\n";
43 $file_handle = fopen($filename, $file_mode);
65 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation1.phpt35 foreach($file_modes as $file_mode) {
36 echo "-- File opened in mode ".$file_mode." --\n";
40 $file_handle = fopen($filename, $file_mode);
57 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation3.phpt38 foreach($file_modes as $file_mode) {
39 echo "-- File opened in mode ".$file_mode." --\n";
42 $file_handle = fopen($filename, $file_mode);
58 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation4-win32.phpt40 foreach($file_modes as $file_mode) {
41 echo "-- File opened in mode ".$file_mode." --\n";
42 $file_handle = fopen($filename, $file_mode);
64 } //end of file_mode loop
H A Dfseek_ftell_rewind_variation6-win32.phpt40 foreach($file_modes as $file_mode) {
41 echo "-- File opened in mode ".$file_mode." --\n";
42 $file_handle = fopen($filename, $file_mode);
64 } //end of file_mode loop
H A Dfread_variation4.phpt65 foreach($file_modes as $file_mode) {
66 if(!strstr($file_mode,"x")){
72 echo "-- File opened in mode ".$file_mode." --\n";
73 $file_handle = fopen($filename, $file_mode);
79 if(strstr($file_mode,"w") || strstr($file_mode,"x") ) {
87 $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 0) );
H A Dfread_variation3-win32.phpt65 foreach($file_modes as $file_mode) {
66 if(!strstr($file_mode,"x")){
72 echo "-- File opened in mode ".$file_mode." --\n";
73 $file_handle = fopen($filename, $file_mode);
79 if(strstr($file_mode,"w") || strstr($file_mode,"x") ) {
89 $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
H A Dfread_variation3.phpt65 foreach($file_modes as $file_mode) {
66 if(!strstr($file_mode,"x")){
72 echo "-- File opened in mode ".$file_mode." --\n";
73 $file_handle = fopen($filename, $file_mode);
79 if(strstr($file_mode,"w") || strstr($file_mode,"x") ) {
89 $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 1024) );
H A Dfread_variation4-win32.phpt65 foreach($file_modes as $file_mode) {
66 if(!strstr($file_mode,"x")){
72 echo "-- File opened in mode ".$file_mode." --\n";
73 $file_handle = fopen($filename, $file_mode);
79 if(strstr($file_mode,"w") || strstr($file_mode,"x") ) {
87 $data_from_file = check_read($file_handle, 1030, ( strstr($file_mode, "+") ? 1024 : 0) );
H A Dfgets_variation6-win32.phpt29 foreach($file_modes as $file_mode) {
30 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n";
36 $file_handle = fopen($filename, $file_mode);
60 } // file_mode loop
H A Dfgets_variation6.phpt29 foreach($file_modes as $file_mode) {
30 echo "\n-- Testing fgets() with file opened using mode $file_mode --\n";
36 $file_handle = fopen($filename, $file_mode);
60 } // file_mode loop
/PHP-5.6/ext/dba/
H A Ddba.c625 char *file_mode; in php_dba_open() local
740 file_mode = "r"; in php_dba_open()
745 file_mode = "r+b"; in php_dba_open()
755 file_mode = "r+b"; /* read & write, seek 0 */ in php_dba_open()
758 file_mode = "a+b"; /* append */ in php_dba_open()
762 file_mode = "a+b"; in php_dba_open()
771 file_mode = "w+b"; in php_dba_open()
779 lock_file_mode = file_mode; in php_dba_open()
839 if (!strcmp(file_mode, "r")) { in php_dba_open()
898 …info->fp = php_stream_open_wrapper(info->path, file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PA… in php_dba_open()

Completed in 43 milliseconds

12