mkoppanen/imagick — pull request #35 by remicollet (2014-07-23 07:26:12+00:00)
Title: fix Imagick::count() with PHP 5.6.0RC2

With PHP 5.6.0RC2, tests/021-countable.phpt fails:

TEST 21/27 [tests/021-countable.phpt]
========DIFF========
001+ Warning: Imagick::count() expects exactly 0 parameters, 1 given in /dev/shm/BUILD/php-pecl-imagick-3.2.0/NTS/tests/021-countable.php on line 10
002+ 0
001- 3
========DONE========
FAIL Test countable interface [tests/021-countable.phpt]

Implementing the count_elements handler solves this issue.