Source for file file_get_contents.php
Documentation is available at file_get_contents.php
// +----------------------------------------------------------------------+
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://au.php.net/license/3_0.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Author: Aidan Lister <aidan@php.net> |
// +----------------------------------------------------------------------+
// $Id: file_get_contents.php,v 1.7 2004/05/20 13:37:41 aidan Exp $
* Replace file_get_contents()
* http://php.net/function.file_get_contents
* @author Aidan Lister <aidan@php.net>
$file = fopen($filename, 'rb', $incpath);
$data = fread($file, $fsize);
$data .= fread($file, 8192 );
Documentation generated on Mon, 11 Mar 2019 10:16:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|