<commit_before><?php namespace xp;

if (version_compare(PHP_VERSION, '5.4.0', '<')) {
  trigger_error('This version of the XP Framework requires PHP 5.4.0+, have PHP '.PHP_VERSION, E_USER_ERROR);
  exit(0x3d);
}

require __DIR__.DIRECTORY_SEPARATOR.'lang.base.php';

\lang\ClassLoader::registerPath(__DIR__);<commit_msg>Fix loading from xar file<commit_after><?php namespace xp;

if (version_compare(PHP_VERSION, '5.4.0', '<')) {
  trigger_error('This version of the XP Framework requires PHP 5.4.0+, have PHP '.PHP_VERSION, E_USER_ERROR);
  exit(0x3d);
}

$p= max(strrpos(__FILE__, DIRECTORY_SEPARATOR), strrpos(__FILE__, '?'));
require substr(__FILE__, 0, $p + 1).'lang.base.php';

\lang\ClassLoader::getDefault();
{'fraction_non_alphanumeric': 0.164804469273743, 'fraction_numerical': 0.025139664804469275, 'mean_word_length': 6.242424242424242, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5793113', 'n_tokens_mistral': 266, 'n_tokens_neox': 258, 'n_words': 56}