xref: /imagick/tests/026_phpinfo.phpt (revision 634a3389)
1--TEST--
2Test Imagick module hasn't broken phpinfo
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7
8ob_start();
9phpinfo();
10$contents = ob_get_contents();
11ob_end_clean();
12
13if (strpos($contents, 'imagick module => enabled') !== false) {
14	echo "Ok";
15}
16else {
17	echo "Imagick was not reported as enabled?";
18	var_dump($contents);
19}
20
21?>
22--EXPECTF--
23Ok