php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29900 Variables can't hold more than 42.56KB
Submitted: 2004-08-30 17:21 UTC Modified: 2005-02-19 01:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:2 (100.0%)
From: amir29 at comcast dot net Assigned:
Status: No Feedback Package: Performance problem
PHP Version: 5.0.1 OS: Win32
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: amir29 at comcast dot net
New email:
PHP Version: OS:

 

 [2004-08-30 17:21 UTC] amir29 at comcast dot net
Description:
------------
Whether I use curl, file_get_contents, or fgets php will not put more 42.56kb ... well occassionaly (randomly) it will but most of the time it won't.

I tried increasing the max memory use from 8M to 64M to no avail.

This bug is in 4.3.5-4.3.9 and 5.01

Reproduce code:
---------------
$page = file_get_contents(any web page larger than 100kb);
echo $page // will only display 43kb;

Expected result:
----------------
echo $page // display 100kb

Actual result:
--------------
echo $page //displays 42.56kb

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-01 22:12 UTC] seanstansell at gmail dot com
Having same (well...almost) problem.  Mine are actually capping out at 100,000 bytes (97.6kb).  Windows 2000/PHP 5.01
 [2005-02-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 19:01:30 2024 UTC