Test: /ext/standard/tests/array/bug76778.phpt - Version 7.1.22-dev        

Bug #76778 array_reduce leaks memory if callback throws exception
Submitted: 2018-08-22 03:21:39 Modified: 2018-08-22 11:26:27
From: manabu.matsui Assigned: cmb
Status: Closed Package: Arrays related
PHP Version: 7.2.9 OS:

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8388616 bytes) in %s/bug76778.php on line 9
001- ===DONE===
1 (50%)
001+ Fatal error: Allowed memory size of 33554432 bytes exhausted at /home/travis/build/php/php-src/Zend/zend_hash.c:1801 (tried to allocate 8388616 bytes) in %s/bug76778.php on line 9
001- ===DONE===