<commit_before><?

/*	"Yks functions" by <NAME>. (131)
    distributed under the terms of GNU General Public License - ? 2008
*/

require CLASS_PATH."/stds/rbx.php";
require CLASS_PATH."/stds/txt.php";
require CLASS_PATH."/stds/jsx.php";
require CLASS_PATH."/stds/date.php";
require CLASS_PATH."/stds/data.php";
require CLASS_PATH."/stds/arrays.php";
require CLASS_PATH."/myks/input.php";

    //register additionnal classes paths
classes::register_class_paths(array(
    "__native"        => LIBS_PATH."/natives/__native.php",
    "__wrapper"       => LIBS_PATH."/natives/__wrapper.php",

    "mail"            => CLASS_PATH."/mails/mail.php",
    "xsl"             => CLASS_PATH."/xsl/xsl.php",
    "xml"             => CLASS_PATH."/stds/xml.php",
    "files"           => CLASS_PATH."/stds/files.php",
    "users"           => CLASS_PATH."/users/users.php",
    "dsp"             => CLASS_PATH."/dsp/display.php",
    "sql"             => CLASS_PATH."/sql/".SQL_DRIVER.".php",
    "sql_func"        => CLASS_PATH."/sql/functions.php",
    "yks_list"        => CLASS_PATH."/list/yks_list.php",
    "dtd"             => CLASS_PATH."/dom/dtds.php",
    "myks"            => CLASS_PATH."/myks/myks.php",
    "http"            => CLASS_PATH."/exts/http/http.php",
    "exyks_paths"     => CLASS_PATH."/exyks/paths.php",
    "tpls"            => CLASS_PATH."/exyks/tpls.php",
    "highlight_xml"   => CLASS_PATH."/dsp/code_format/highlight_xml.php",
    "rfc_2047"        => CLASS_PATH."/apis/net/2047.php",
    "win32_service"   => CLASS_PATH."/cli/win32_service.php",
    "cli"             => CLASS_PATH."/cli/cli.php",
    "pclzip"          => CLASS_PATH."/exts/pclzip.php",
));

function sys_end($generation_time,$display_time=0){
    return sprintf("\n<!-- powerdé by exyks in - subs : %0-5Fs - tpls : %0-5Fs %s-->",
        $generation_time,$display_time,"");//,
    ;
}

    // return boolean state of a variable ( in string mode if asked )
function bool($val,$str=false){
    if(is_string($val)) {
        $val=strtolower($val);<commit_msg>[silent]<commit_after><?

/*	"Yks functions" by <NAME>. (131)
    distributed under the terms of GNU General Public License - ? 2008
*/

require CLASS_PATH."/stds/rbx.php";
require CLASS_PATH."/stds/txt.php";
require CLASS_PATH."/stds/jsx.php";
require CLASS_PATH."/stds/date.php";
require CLASS_PATH."/stds/data.php";
require CLASS_PATH."/stds/arrays.php";
require CLASS_PATH."/myks/input.php";

    //register additionnal classes paths
classes::register_class_paths(array(
    "__native"            => LIBS_PATH."/natives/__native.php",
    "__wrapper"           => LIBS_PATH."/natives/__wrapper.php",

    "mail"                => CLASS_PATH."/mails/mail.php",
    "xsl"                 => CLASS_PATH."/xsl/xsl.php",
    "xml"                 => CLASS_PATH."/stds/xml.php",
    "files"               => CLASS_PATH."/stds/files.php",
    "users"               => CLASS_PATH."/users/users.php",
    "dsp"                 => CLASS_PATH."/dsp/display.php",
    "sql"                 => CLASS_PATH."/sql/".SQL_DRIVER.".php",
    "sql_func"            => CLASS_PATH."/sql/functions.php",
    "yks_list"            => CLASS_PATH."/list/yks_list.php",
    "dtd"                 => CLASS_PATH."/dom/dtds.php",
    "myks"                => CLASS_PATH."/myks/myks.php",
    "http"                => CLASS_PATH."/exts/http/http.php",
    "exyks_paths"         => CLASS_PATH."/exyks/paths.php",
    "tpls"                => CLASS_PATH."/exyks/tpls.php",
    "highlight_xml"       => CLASS_PATH."/dsp/code_format/highlight_xml.php",
    "rfc_2047"            => CLASS_PATH."/apis/net/2047.php",
    "win32_service"       => CLASS_PATH."/cli/win32_service.php",
    "cli"                 => CLASS_PATH."/cli/cli.php",
    "pclzip"              => CLASS_PATH."/exts/pclzip.php",
    "interactive_runner"  => CLASS_PATH."/cli/interactive_runner.php",
));

function sys_end($generation_time,$display_time=0){
    return sprintf("\n<!-- powerdé by exyks in - subs : %0-5Fs - tpls : %0-5Fs %s-->",
        $generation_time,$display_time,"");//,
    ;
}

    // return boolean state of a variable ( in string mode if asked )
function bool($val,$str=false){
    if(is_string($val)) {
        $val=strtolower($val);
{'fraction_non_alphanumeric': 0.1813679245283019, 'fraction_numerical': 0.011320754716981131, 'mean_word_length': 2.3003891050583656, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 50, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '7177768', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1493, 'n_words': 213}