PHP Version check for WP Boilerplate
James DiGioia
public static function activate() {if ( ! version_compare( PHP_VERSION, '5.3', '<' ) ) {return;}deactivate_plugins( 'url-embedlifier' );wp_die('<p>The <strong>URL Embedlifier</strong> plugin requires PHP version 5.3 or greater.</p>','Plugin Activation Error', array( 'response' => 200, 'back_link' => true ) );}
5-3-or-greater.php