PHP_Compat
[ class tree: PHP_Compat ] [ index: PHP_Compat ] [ all elements ]

File: file_get_contents.php

Source Location: /PHP_Compat-1.6.0a1/Compat/Function/file_get_contents.php

Classes:

Page Details:


PHP_COMPAT_FILE_GET_CONTENTS_MAX_REDIRECTS [line 4]

PHP_COMPAT_FILE_GET_CONTENTS_MAX_REDIRECTS = 5

[ Top ]



file_get_contents [line 159]

void file_get_contents( $filename, [ $incpath = false], [ $resource_context = null])



Parameters

   $filename  
   $incpath  
   $resource_context  
[ Top ]



php_compat_file_get_contents [line 21]

void php_compat_file_get_contents( $filename, [ $incpath = false], [ $resource_context = null])

Replace file_get_contents()


Parameters

   $filename  
   $incpath  
   $resource_context  
[ Top ]



php_compat_ftp_get_contents_helper [line 154]

void php_compat_ftp_get_contents_helper( $filename, $opts)



Parameters

   $filename  
   $opts  
[ Top ]



php_compat_http_get_contents_helper [line 86]

mixed php_compat_http_get_contents_helper( string $filename, array $opts)

Performs HTTP requests
  • Return: either the contents of the requested path (as a string), or an array where $array[1] is the path redirected to.


Parameters

string   $filename   the full path to request
array   $opts   an array of stream context options
[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:01:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.