ok
Direktori : /opt/cloudlinux/alt-php56/root/usr/share/pear/test/imagick/tests/ |
Current File : //opt/cloudlinux/alt-php56/root/usr/share/pear/test/imagick/tests/021-countable.phpt |
--TEST-- Test countable interface --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); if (!extension_loaded ('spl')) die ('skip SPL is needed'); ?> --FILE-- <?php $imagick = new Imagick(array ( 'magick:rose', 'magick:rose', 'magick:rose', )); echo count ($imagick) . PHP_EOL; echo 'done' . PHP_EOL; ?> --EXPECT-- 3 done