<? class Shape { function __construct() { } } $polly = new Shape('Polynesia'); print is_a($polly, 'Shape') ? '' : 'not '; ?>