summaryrefslogtreecommitdiffstats
path: root/skipif.inc
blob: f759ced1240009f5ae844e165d66cbdddbd4f977 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<?php

if (!extension_loaded("gmagick")) die("skip");

function checkClassMethods($class, $methods)
{
	foreach ($methods as $method) {
		if (method_exists($class, $method) == false) {
			die("skip Class method $class::$method not present");
		}
	}
}