opt
/
cpanel
/
ea-php74
/
root
/
usr
/
share
/
tests
/
pecl
/
imagick
/
tests
➕ New
📤 Upload
✎ Editing:
bug64015.phpt
← Back
--TEST-- Test PHP bug #64015 --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --FILE-- <?php $im = new Imagick(dirname(__FILE__) . '/php.gif'); var_dump($im->getImageLength()); // Both should return filesize in bytes. var_dump($im->getImageLength()); // All cases below now return 0; $cloned_im = clone $im; var_dump($im->getImageLength()); echo "OK" , PHP_EOL; ?> --EXPECTF-- int(2523) int(2523) int(2523) OK
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel