/PHP-7.0/ext/standard/tests/file/ |
H A D | fgetc_variation3.phpt | 22 foreach ($file_modes as $file_mode ) { 23 echo "-- File opened in mode : $file_mode --\n"; 25 $file_handle = fopen($filename, $file_mode);
|
H A D | fgets_variation1.phpt | 21 foreach ($file_modes as $file_mode ) { 22 echo "-- File opened in mode : $file_mode --\n"; 24 $file_handle = fopen($filename, $file_mode);
|
H A D | fgetc_variation4.phpt | 21 foreach ($file_modes as $file_mode ) { 22 echo "-- File opened in mode : $file_mode --\n"; 24 $file_handle = fopen($filename, $file_mode);
|
H A D | fwrite_variation1-win32.phpt | 38 foreach($file_modes as $file_mode) { 39 echo "-- Opening file in $file_mode --\n"; 45 $file_handle = fopen($filename, $file_mode);
|
H A D | fwrite_variation1.phpt | 37 foreach($file_modes as $file_mode) { 38 echo "-- Opening file in $file_mode --\n"; 44 $file_handle = fopen($filename, $file_mode);
|
H A D | fseek_ftell_rewind_variation5.phpt | 36 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 D | fgets_variation5.phpt | 23 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 D | fwrite_variation4-win32.phpt | 38 foreach($file_modes as $file_mode) { 39 echo "-- Opening file in $file_mode --\n"; 43 $file_handle = fopen($filename, $file_mode);
|
H A D | fwrite_variation4.phpt | 38 foreach($file_modes as $file_mode) { 39 echo "-- Opening file in $file_mode --\n"; 43 $file_handle = fopen($filename, $file_mode);
|
H A D | fseek_ftell_rewind_variation1.phpt | 35 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 D | fseek_ftell_rewind_variation6-win32.phpt | 40 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 D | fseek_ftell_rewind_variation3.phpt | 38 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 D | fseek_ftell_rewind_variation4-win32.phpt | 40 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 D | fseek_ftell_rewind_variation4.phpt | 40 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 D | fseek_ftell_rewind_variation6.phpt | 40 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 D | fseek_ftell_rewind_variation7.phpt | 36 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 D | fseek_ftell_rewind_variation8-win32.phpt | 41 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 D | fseek_ftell_rewind_variation8.phpt | 41 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 D | fread_variation3-win32.phpt | 65 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 D | fread_variation3.phpt | 65 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 D | fread_variation4-win32.phpt | 65 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 D | fread_variation4.phpt | 65 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 D | fseek_ftell_rewind_variation2-win32.phpt | 41 foreach($file_modes as $file_mode) { 42 echo "-- File opened in mode ".$file_mode." --\n"; 43 $file_handle = fopen($filename, $file_mode); 66 } //end of file_mode loop
|
H A D | fgets_variation6-win32.phpt | 29 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-7.0/ext/dba/ |
H A D | dba.c | 642 char *file_mode; in php_dba_open() local 758 file_mode = "r"; in php_dba_open() 763 file_mode = "r+b"; in php_dba_open() 773 file_mode = "r+b"; /* read & write, seek 0 */ in php_dba_open() 776 file_mode = "a+b"; /* append */ in php_dba_open() 780 file_mode = "a+b"; in php_dba_open() 789 file_mode = "w+b"; in php_dba_open() 797 lock_file_mode = file_mode; in php_dba_open() 857 if (!strcmp(file_mode, "r")) { in php_dba_open() 908 …info->fp = php_stream_open_wrapper(info->path, file_mode, STREAM_MUST_SEEK|REPORT_ERRORS|IGNORE_PA… in php_dba_open()
|