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