--TEST-- vips_call supports optional input and output args --SKIPIF-- --FILE-- "white"])["out"]; $result = vips_call("min", $image, ["x" => true, "y" => true]); if ($result["out"] == 0 && $result["x"] == 10 && $result["y"] == 20) { echo("pass\n"); } ?> --EXPECT-- pass