=' ) && version_compare( get_bloginfo( 'version' ), '3.5.99', '<=' ) ); MLATest::$wp_4dot3_plus = version_compare( get_bloginfo( 'version' ), '4.2.99', '>=' ); // This is the earliest effective place to change error_reporting $php_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_PHP_REPORTING ) ); if ( ! empty( $php_reporting ) ) { @error_reporting( 0 + $php_reporting ); } // This is the earliest effective place to localize values in other plugin components MLACoreOptions::mla_localize_option_definitions_array(); } /** * Test that your PHP version is at least that of the $min_php_version * * @since 0.1 * * @param string representing the minimum required version of PHP, e.g. '5.3.2' * * @return string '' if pass else error message */ public static function min_php_version( $min_version ) { $current_version = phpversion(); if ( version_compare( $current_version, $min_version, '<' ) ) { return sprintf( '