3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!interface_exists('Imagine\Image\ImageInterface')) { if (file_exists(VENDORS . 'imagine.phar')) { include_once 'phar://' . VENDORS . 'imagine.phar'; } else { throw new CakeException( sprintf( 'Download imagine.phar: %s, and extract into vendor: %s', self::IMAGINE_URL, VENDORS ) ); } } return new \Imagine\Gd\Imagine();

preferences:
44.25 ms | 402 KiB | 5 Q