php.net |  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: 2013-06-05 16:07 UTC
From: mattficken@php.net Assigned:
Status: Open Package: Testing related
PHP Version: Irrelevant OS: Windows
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: mattficken@php.net
New email:
PHP Version: OS:

 

 [2013-05-01 20:09 UTC] mattficken@php.net
Description:
------------
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:
---------------
zend/tests/bug40770.phpt

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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-05 16:07 UTC] ab@php.net
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?

Thanks
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon May 20 12:01:26 2019 UTC