TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
343 B
26 lines
343 B
--TEST--
|
|
Bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues)
|
|
--FILE--
|
|
<?php
|
|
function walk($element, $key, $p)
|
|
{
|
|
$backtrace = debug_backtrace();
|
|
echo "{$element}\n";
|
|
}
|
|
function main()
|
|
{
|
|
$a = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
|
|
array_walk($a, 'walk', 'testthis');
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
|
10
|
|
|