mirror of
https://github.com/php/php-src.git
synced 2026-03-30 20:22:36 +02:00
This is a quick fix for the problem. It'll work while all the JIT-ed functions have the same "fixed stack frame". Unwinder uses hard-coded unwind data for this "fixed stack frame". * Preallocate space for Win64 shadow args * typo * Setup unwinder for JIT functions * Revert "Dynamically xfail test case which fails on CI" This reverts commit7cc327fd5a. * Revert "Dynamically xfail test case which fails on CI" This reverts commitbdde797159. * Revert "Dynamically xfail test cases which fail on CI (GH-15710)" This reverts commit6d5962074f. * Remove XFAIL sections * Add hard-coded SEH unwind data for EXITCALL * Fix unwind data * Fix Windows multi-process support * Typo
24 lines
412 B
PHP
24 lines
412 B
PHP
--TEST--
|
|
Bug #45392 (ob_start()/ob_end_clean() and memory_limit)
|
|
--SKIPIF--
|
|
<?php
|
|
if (getenv("USE_ZEND_ALLOC") === "0") {
|
|
die("skip Zend MM disabled");
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
echo __LINE__ . "\n";
|
|
ini_set('memory_limit', "2M");
|
|
ob_start();
|
|
$i = 0;
|
|
while($i++ < 5000) {
|
|
echo str_repeat("may not be displayed ", 42);
|
|
}
|
|
ob_end_clean();
|
|
?>
|
|
--EXPECTF--
|
|
2
|
|
|
|
Fatal error: Allowed memory size of %d bytes exhausted%s
|