Bug #55330 [Fbk->Csd]: utf8_encode CRASH when $data is a very big string
| From: | bruno dot boccara at d2b dot com | Date: | Mon, 01 Aug 2011 15:05:35 +0000 |
| Subject: | Bug #55330 [Fbk->Csd]: utf8_encode CRASH when $data is a very big string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162337@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55330&edit=1
ID: 55330
User updated by: bruno dot boccara at d2b dot com
Reported by: bruno dot boccara at d2b dot com
Summary: utf8_encode CRASH when $data is a very big string
-Status: Feedback
+Status: Closed
Type: Bug
Package: Recode related
Operating System: WINDOWS 2008 R2
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
Very sorry you're right.
greater memory_size resolve the problem.
this is not a bug.
Regards.
Previous Comments:
------------------------------------------------------------------------
[2011-07-31 21:51:57] pajoye@php.net
Are you sure you are not reaching the memory limit? What says the log (or set
display_errors to on)
------------------------------------------------------------------------
[2011-07-31 21:37:08] bruno dot boccara at d2b dot com
Description:
------------
Hello,
the http server is apache 2.2.17
I used for years the function utf8_encode to encode a file into this code.
The file is text string that I write into a file.
I remarked that if this file is more than a value thath I still not identified, but a very big size
(in my test it was a 70MB file), the script crash and nothing is returned.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55330&edit=1