1--TEST-- 2Test PHP bug #64015 3--SKIPIF-- 4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> 5--FILE-- 6<?php 7$im = new Imagick(dirname(__FILE__) . '/php.gif'); 8var_dump($im->getImageLength()); 9 10// Both should return filesize in bytes. 11 12var_dump($im->getImageLength()); 13 14// All cases below now return 0; 15$cloned_im = clone $im; 16var_dump($im->getImageLength()); 17 18echo "OK" , PHP_EOL; 19 20 21?> 22--EXPECTF-- 23int(2523) 24int(2523) 25int(2523) 26OK