1--TEST--
2GH-9697 (array_walk($ffiInstance, function () {}) crashes due to expecting mutable array)
3--EXTENSIONS--
4ffi
5--INI--
6ffi.enable=1
7--FILE--
8<?php
9$x = FFI::new('int');
10array_walk($x, function($x) { echo "test\n"; });
11?>
12DONE
13--EXPECT--
14DONE
15