mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

Increase the reserved stack size in ASAN builds, as instrumentation use more stack. Increase the max allowed stack size in some tests, and enable these tests under ASAN. Use __builtin_frame_address(0), instead of some stack variable, when we need a stack address, as ASAN may store local variables outside of the real stack.
13 lines
288 B
PHP
13 lines
288 B
PHP
<?php
|
|
|
|
if (!class_exists("constructs_in_destructor")) {
|
|
class constructs_in_destructor {
|
|
public function __destruct() {
|
|
$a = new constructs_in_destructor;
|
|
$time = '';
|
|
require(__FILE__);
|
|
}
|
|
}
|
|
}
|
|
|
|
$a = new constructs_in_destructor;
|