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

File: file_get_contents.php

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

Classes:

Page Details:


PHP_COMPAT_FILE_GET_CONTENTS_MAX_REDIRECTS [line 2]

PHP_COMPAT_FILE_GET_CONTENTS_MAX_REDIRECTS = 5

[ Top ]



file_get_contents [line 176]

void file_get_contents( $filename, [ $incpath = false], [ $resource_context = null], [ $offset = -1], [ $maxlen = -1])



Parameters

   $filename  
   $incpath  
   $resource_context  
   $offset  
   $maxlen  
[ Top ]



php_compat_file_get_contents [line 19]

void php_compat_file_get_contents( $filename, [ $incpath = false], [ $resource_context = null], [ $offset = -1], [ $maxlen = -1])

Replace file_get_contents()


Parameters

   $filename  
   $incpath  
   $resource_context  
   $offset  
   $maxlen  
[ Top ]



php_compat_http_get_contents_helper [line 101]

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:39:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.