Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a191144584
Fetching contributors…

Cannot retrieve contributors at this time

48 lines (46 sloc) 0.767 kb
--TEST--
Test for segmentation fault with xdebug_get_function_stack() and collect_params=1
--INI--
xdebug.enable=1
xdebug.auto_trace=0
xdebug.collect_params=1
xdebug.collect_assignments=0
xdebug.profiler_enable=0
xdebug.overload_var_dump=0
--FILE--
<?php
function foo($s) {
print $s;
var_dump(xdebug_get_function_stack());
}
foo('bar');
?>
--EXPECTF--
bararray(2) {
[0]=>
array(4) {
["function"]=>
string(6) "{main}"
["file"]=>
string(%d) "/%s/bug00022.php"
["line"]=>
int(0)
["params"]=>
array(0) {
}
}
[1]=>
array(4) {
["function"]=>
string(3) "foo"
["file"]=>
string(%d) "/%s/bug00022.php"
["line"]=>
int(7)
["params"]=>
array(1) {
["s"]=>
string(5) "'bar'"
}
}
}
Jump to Line
Something went wrong with that request. Please try again.