php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #5008 readfile(), flag to read file into a string
Submitted: 2000-06-13 19:28 UTC Modified: 2002-04-01 18:54 UTC
From: waldschrott at kiffen dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.0 Release OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: waldschrott at kiffen dot de
New email:
PHP Version: OS:

 

 [2000-06-13 19:28 UTC] waldschrott at kiffen dot de
It would be useful if readfile() was able to read a file into a string in addition to read it into an array... 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-13 20:24 UTC] waldschrott at kiffen dot de
sorry, I thought of file() - typo.

but it?s faster doing it at C level - I know that it?s possible doing it like in the provided example...
 [2002-04-01 18:54 UTC] sniper@php.net
Added in PHP 4.3.0 (current CVS HEAD):

http://www.php.net/manual/en/function.file-get-contents.php

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 22:01:29 2024 UTC