Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (20 sloc) 357 Bytes
--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
Jump to Line
Something went wrong with that request. Please try again.