<commit_before><?php

error_reporting(E_ALL);
ini_set('display_errors', 1);

$app = array();

$app['config'] = array(
    'db' => array(
        'dsn'      => 'mysql:dbname=foler;host=localhost',
        'user'      => 'root',
        'password'  => '<PASSWORD>'
    )
);
$app['locale'] = 'en';

include 'ChromePhp.php';<commit_msg>Add debug to $app config<commit_after><?php

$app = array();

$app['config'] = array(
    'db' => array(
        'dsn'      => 'mysql:dbname=foler;host=localhost',
        'user'      => 'root',
        'password'  => ''
    ),
    'debug' => false
);



if($app['config']['debug']):
    error_reporting(E_ALL);
    ini_set('display_errors', 1);
endif;


$app['locale'] = 'en';


/**
 * Helps us split codes to associative array
 * 
 * @param type $string
 * @param type $value
 * @param array $arr
 */
function joinStringToArr($string, $value, &$arr = array()) {
    
        $keys = explode('.', $string);

        $ref = &$arr;

        while ($key = array_shift($keys)) {
            $ref = &$ref[$key];
        }

        $ref = $value;

    }
{'fraction_non_alphanumeric': 0.2074074074074074, 'fraction_numerical': 0.001851851851851852, 'mean_word_length': 2.5913621262458473, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 13, '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': '2529368', 'n_tokens_mistral': 393, 'n_tokens_neox': 375, 'n_words': 77}