Seems php 5.4 support in 3.1.0_rc1 was only partial. Changelog for rc2: "Fixed PHP bug #61879 (Imagick writeImages no longer works with PHP5.4)" Please bump.
Bumped. Thanks for your patience.