|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64752 bug40770 is missing memory_limit fatal error
Submitted: 2013-05-01 20:09 UTC Modified: 2021-07-18 04:22 UTC
From: Assigned: cmb (profile)
Status: No Feedback Package: Testing related
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2013-05-01 20:09 UTC]
zend/tests/bug40770.phpt does not output Fatal Error about memory_limit being reached (expected) on NTS builds.

Affects recent 5.3 5.4 and 5.5 builds without opcache. With opcache or on TS builds, this test PASSes.

I added memory_limit=8M to the INI I used (from test's INI section).

Test script:

Expected result:
Fatal error: Allowed memory size of 8388608 bytes exhausted%s(tried to allocate %d bytes) in %s on line %d

Actual result:
Empty output.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-05 16:07 UTC]
Hi Matt,

i can't reproduce this one, with older or current builds. Is it still reproducible 
for you? If yes, could you give me some hints?

 [2021-07-07 09:34 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-07 09:34 UTC]
I cannot reproduce the test failure either.  Can you still
reproduce it with any of the actively supported PHP versions[1]?

[1] <>
 [2021-07-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu May 19 01:05:47 2022 UTC