diff --git a/tests/issue094.phpt b/tests/issue094.phpt new file mode 100644 index 0000000..7e57500 --- /dev/null +++ b/tests/issue094.phpt @@ -0,0 +1,54 @@ +--TEST-- +Issue #94 (PHP7 segmentation fault with references) +--SKIPIF-- + Array + ( + [verylongid] => 1 + ) + + [10] => Array + ( + [verylongid] => 10 + ) + + [16] => Array + ( + [verylongid] => 16 + ) + + [0] => Array + ( + [children] => Array + ( + [16] => Array + ( + [verylongid] => 16 + ) + + [10] => Array + ( + [verylongid] => 10 + ) + + [1] => Array + ( + [verylongid] => 1 + ) + + ) + + ) + +)