📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 18:05:43
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php82-pecl-vips_1.0.13-1.el8
/
tests
📍 /opt/alt/tests/alt-php82-pecl-vips_1.0.13-1.el8/tests
🔄 Refresh
✏️
Editing: 026.phpt
Read Only
--TEST-- can use 2D array as image --SKIPIF-- <?php if (!extension_loaded("vips")) print "skip"; ?> --FILE-- <?php $filename = dirname(__FILE__) . "/images/img_0076.jpg"; $image = vips_image_new_from_file($filename)["out"]; # this will barf horribly if the array constant is not turned into an image $sharp = vips_call("conv", $image, [[-1, -1, -1], [-1, 9, -1], [-1, -1, -1]])["out"]; ?> --EXPECT--
💾 Save Changes
❌ Cancel