<commit_before><?php
/* This file provides the PHP 4.2 compatibility sapi for the XP framework
 * 
 * $Id$
 */

  // {{{ proto array sybase_fetch_assoc(resource result)
  //     See php://sybase_fetch_assoc
  if (!function_exists('sybase_fetch_assoc')) { function sybase_fetch_assoc($res) {
    if (is_array($r= sybase_fetch_array($res))) foreach (array_keys($r) as $k) {
      if (is_int($k)) unset($r[$k]);
    }
    return $r;
  }}
  // }}}

  // {{{ proto array debug_backtrace(void)
  //     See php://debug_backtrace
  if (!function_exists('debug_backtrace')) { function debug_backtrace($res) {
    return array();
  }}
  // }}}
?><commit_msg>- PATH_SEPARATOR is defined as of 4.3.x<commit_after><?php
/* This file provides the PHP 4.2 compatibility sapi for the XP framework
 * 
 * $Id$
 */

  if (!defined('PATH_SEPARATOR')) {
    define('PATH_SEPARATOR',  'WIN' == substr(PHP_OS, 0, 3) ? ';' : ':');    
  }

  // {{{ proto array sybase_fetch_assoc(resource result)
  //     See php://sybase_fetch_assoc
  if (!function_exists('sybase_fetch_assoc')) { function sybase_fetch_assoc($res) {
    if (is_array($r= sybase_fetch_array($res))) foreach (array_keys($r) as $k) {
      if (is_int($k)) unset($r[$k]);
    }
    return $r;
  }}
  // }}}

  // {{{ proto array debug_backtrace(void)
  //     See php://debug_backtrace
  if (!function_exists('debug_backtrace')) { function debug_backtrace($res) {
    return array();
  }}
  // }}}
?>
{'fraction_non_alphanumeric': 0.1787941787941788, 'fraction_numerical': 0.005544005544005544, 'mean_word_length': 3.4294478527607364, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '238389', 'n_tokens_mistral': 532, 'n_tokens_neox': 514, 'n_words': 107}