PATH:
opt
/
alt
/
tests
/
alt-php80-pecl-vips_1.0.13-1.el8
/
tests
--TEST-- can copy to memory --SKIPIF-- <?php if (!extension_loaded("vips")) print "skip"; ?> --FILE-- <?php $filename = dirname(__FILE__) . "/images/img_0076.jpg"; $image1 = vips_image_new_from_file($filename)["out"]; $image2 = vips_image_copy_memory($image1)["out"]; $avg1 = vips_call("avg", $image1)["out"]; $avg2 = vips_call("avg", $image2)["out"]; if ($avg1 == $avg2) { echo "pass"; } ?> --EXPECT-- pass
[-] 003.phpt
[edit]
[-] 032.phpt
[edit]
[-] 042.phpt
[edit]
[-] 001.phpt
[edit]
[-] 006.phpt
[edit]
[-] 017.phpt
[edit]
[-] 038.phpt
[edit]
[-] 029.phpt
[edit]
[-] 007.phpt
[edit]
[-] 014.phpt
[edit]
[-] 012.phpt
[edit]
[-] 041.phpt
[edit]
[-] 010.phpt
[edit]
[-] 013.phpt
[edit]
[-] 030.phpt
[edit]
[-] 035.phpt
[edit]
[-] 004.phpt
[edit]
[-] 026.phpt
[edit]
[-] 027.phpt
[edit]
[+]
..
[-] 036.phpt
[edit]
[-] 002.phpt
[edit]
[-] 040.phpt
[edit]
[-] 009.phpt
[edit]
[-] 037.phpt
[edit]
[-] 031.phpt
[edit]
[-] 005.phpt
[edit]
[-] 008.phpt
[edit]
[-] 028.phpt
[edit]
[-] 011.phpt
[edit]
[+]
images
[-] 039.phpt
[edit]
[-] 015.phpt
[edit]
[-] 016.phpt
[edit]
[-] 033.phpt
[edit]
[-] 034.phpt
[edit]