public function testPHP53_getimagesizefromstring() { try { $img = new Image(); $img->loadString('R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=='); } catch (Exception $e) { isTrue(strpos(PHP_VERSION, '5.3') === 0); } }