03-11-2025 00:00:56.48745[0][4] - Elapsed time: 4.888 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
03-11-2025 00:00:56.48775[4][4] - Elapsed time: 0.302 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
03-11-2025 00:00:56.48799[4][4] - Elapsed time: 0.234 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
03-11-2025 00:00:56.48810[4][4] - Elapsed time: 0.111 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
03-11-2025 00:00:56.48857[4][4] - Elapsed time: 0.477 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
03-11-2025 00:00:56.48859[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
03-11-2025 00:00:56.48874[1][4] - Elapsed time: 0.153 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
03-11-2025 00:00:56.48901[0][4] - Elapsed time: 0.271 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 7f3d128fd3dcf5028ae932e10463b2a0 
-----------------------
03-11-2025 00:00:56.48902[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Apa kamu suka film'. 
-----------------------
03-11-2025 00:00:56.48904[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
03-11-2025 00:00:56.48905[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
03-11-2025 00:00:56.48905[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
03-11-2025 00:00:56.48927[4][4] - Elapsed time: 0.212 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
03-11-2025 00:00:56.48928[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
03-11-2025 00:00:56.48929[3][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
03-11-2025 00:00:56.48956[2][4] - Elapsed time: 0.271 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
03-11-2025 00:00:56.48958[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
03-11-2025 00:00:56.48976[3][4] - Elapsed time: 0.186 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
03-11-2025 00:00:56.48996[2][4] - Elapsed time: 0.199 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
03-11-2025 00:00:56.49002[2][4] - Elapsed time: 0.054 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Apa. 
-----------------------
03-11-2025 00:00:56.49003[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
03-11-2025 00:00:56.49041[2][4] - Elapsed time: 0.380 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:00:56.49043[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
03-11-2025 00:00:56.49044[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:00:56.49046[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on suka. 
-----------------------
03-11-2025 00:00:56.49048[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:00:56.49049[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on film. 
-----------------------
03-11-2025 00:00:56.49051[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa kamu suka film' 
-----------------------
03-11-2025 00:00:56.49063[4][4] - Elapsed time: 0.123 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:00:56.49064[2][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA KAMU SUKA FILM
Convo id: 7f3d128fd3dcf5028ae932e10463b2a0
Bot id: 1
Format: json 
-----------------------
03-11-2025 00:00:56.49065[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
03-11-2025 00:00:56.49065[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
03-11-2025 00:00:56.49066[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
03-11-2025 00:00:56.49092[1][4] - Elapsed time: 0.250 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => apa kamu suka film
    [1] => butuh semangat
    [2] => butuh semangat
    [3] => AKU BOSEN
    [4] => GABUT
    [5] => aku lagi bosen
    [6] => aku bosen
    [7] => aku bosen aku lagi bosen banget lagi bosen parah
    [8] => nama aku riski
    [9] => namaku riski
)
 
-----------------------
03-11-2025 00:00:56.49093[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
03-11-2025 00:00:56.49093[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [1] => Semangat ya! Kamu pasti bisa????
    [2] => Jangan menyerah, aku percaya kamu!
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [5] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [6] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [7] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [8] => Senang kenal kamu, riski ! Lagi ngapain nih?
    [9] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
)
 
-----------------------
03-11-2025 00:00:56.49095[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49096[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49096[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49097[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49098[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49099[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49100[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49101[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49101[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49104[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
03-11-2025 00:00:56.49111[4][4] - Elapsed time: 0.071 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49112[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49113[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49113[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49114[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49115[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Senang kenal kamu
    [1] =>  riski 
    [2] =>  Lagi ngapain nih
    [3] => 
)

 
-----------------------
03-11-2025 00:00:56.49115[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49116[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:00:56.49117[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:00:56.49117[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:00:56.49118[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:00:56.49118[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:00:56.49119[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49120[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:00:56.49120[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:00:56.49121[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:00:56.49122[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:00:56.49123[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49123[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49124[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49124[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49125[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49125[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49126[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49127[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49127[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49128[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49128[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49130[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49130[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49131[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49132[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49132[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49133[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49133[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49134[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49135[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49135[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49135[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49137[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49137[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49138[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49139[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49139[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49140[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49140[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49141[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49141[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49142[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49143[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49143[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49144[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49145[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49145[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49146[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49146[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49147[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49148[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49149[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49149[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49150[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49150[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49151[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49151[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49152[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49153[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49153[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49154[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49154[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49155[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49155[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49156[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49156[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49157[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49157[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49158[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49159[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49159[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49160[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49160[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49161[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49162[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49162[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49164[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Jangan menyerah
    [1] =>  aku percaya kamu
    [2] => 
)

 
-----------------------
03-11-2025 00:00:56.49164[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49165[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:00:56.49165[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:00:56.49166[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:00:56.49166[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:00:56.49167[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:00:56.49168[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JANGAN MENYERAH AKU PERCAYA KAMU' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49169[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:00:56.49170[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:00:56.49170[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:00:56.49171[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:00:56.49172[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49172[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Semangat ya
    [1] =>  Kamu pasti bisa
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
03-11-2025 00:00:56.49173[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49173[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:00:56.49174[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:00:56.49174[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:00:56.49175[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:00:56.49176[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:00:56.49176[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEMANGAT YA KAMU PASTI BISA' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49177[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:00:56.49177[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:00:56.49178[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:00:56.49178[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:00:56.49179[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49180[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:00:56.49180[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49181[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49181[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49182[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:00:56.49182[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49183[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49183[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49184[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49185[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49186[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49186[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49187[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
03-11-2025 00:00:56.49188[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49188[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
03-11-2025 00:00:56.49189[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49189[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
03-11-2025 00:00:56.49190[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
03-11-2025 00:00:56.49190[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
03-11-2025 00:00:56.49191[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
03-11-2025 00:00:56.49192[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
03-11-2025 00:00:56.49192[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49193[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
03-11-2025 00:00:56.49194[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49194[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama aku riski
)

 
-----------------------
03-11-2025 00:00:56.49195[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49195[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama aku riski' 
-----------------------
03-11-2025 00:00:56.49196[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama aku riski' 
-----------------------
03-11-2025 00:00:56.49196[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama aku riski' 
-----------------------
03-11-2025 00:00:56.49197[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:00:56.49198[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:00:56.49198[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA AKU RISKI' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49201[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49201[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosen aku lagi bosen banget lagi bosen parah
)

 
-----------------------
03-11-2025 00:00:56.49202[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49202[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
03-11-2025 00:00:56.49203[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
03-11-2025 00:00:56.49203[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
03-11-2025 00:00:56.49204[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
03-11-2025 00:00:56.49205[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
03-11-2025 00:00:56.49205[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49206[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49207[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosen
)

 
-----------------------
03-11-2025 00:00:56.49207[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49208[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosen' 
-----------------------
03-11-2025 00:00:56.49208[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosen' 
-----------------------
03-11-2025 00:00:56.49209[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosen' 
-----------------------
03-11-2025 00:00:56.49209[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49210[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49210[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49211[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49212[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku lagi bosen
)

 
-----------------------
03-11-2025 00:00:56.49212[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49213[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku lagi bosen' 
-----------------------
03-11-2025 00:00:56.49213[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku lagi bosen' 
-----------------------
03-11-2025 00:00:56.49214[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku lagi bosen' 
-----------------------
03-11-2025 00:00:56.49215[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:00:56.49215[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:00:56.49216[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU LAGI BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49216[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49217[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
03-11-2025 00:00:56.49217[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49218[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
03-11-2025 00:00:56.49218[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
03-11-2025 00:00:56.49219[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
03-11-2025 00:00:56.49219[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
03-11-2025 00:00:56.49220[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
03-11-2025 00:00:56.49220[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49221[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49222[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
03-11-2025 00:00:56.49222[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49223[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49223[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49224[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49224[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49225[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:00:56.49225[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49226[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49226[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:00:56.49227[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49227[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:00:56.49228[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:00:56.49228[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:00:56.49230[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:00:56.49230[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:00:56.49230[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49231[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49232[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:00:56.49232[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49233[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:00:56.49233[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:00:56.49234[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:00:56.49235[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:00:56.49235[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:00:56.49236[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49237[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49238[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa kamu suka film
)

 
-----------------------
03-11-2025 00:00:56.49238[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49239[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa kamu suka film' 
-----------------------
03-11-2025 00:00:56.49239[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa kamu suka film' 
-----------------------
03-11-2025 00:00:56.49240[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa kamu suka film' 
-----------------------
03-11-2025 00:00:56.49240[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:00:56.49242[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:00:56.49243[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KAMU SUKA FILM' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49293[2][4] - Elapsed time: 0.505 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
03-11-2025 00:00:56.49294[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
03-11-2025 00:00:56.49314[4][4] - Elapsed time: 0.196 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
03-11-2025 00:00:56.49315[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
03-11-2025 00:00:56.49316[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
03-11-2025 00:00:56.49316[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA KAMU SUKA FILM: raw say = Apa kamu suka film 
-----------------------
03-11-2025 00:00:56.49317[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
03-11-2025 00:00:56.49318[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KAMU SUKA FILM' to the front of the [user_say] array 
-----------------------
03-11-2025 00:00:56.49318[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
03-11-2025 00:00:56.49319[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Apa kamu suka film, RAW say = Apa kamu suka film 
-----------------------
03-11-2025 00:00:56.49320[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Apa kamu suka film' to the front of the [input] array 
-----------------------
03-11-2025 00:00:56.49321[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
03-11-2025 00:00:56.49322[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:00:56.49322[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:00:56.49323[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
03-11-2025 00:00:56.49344[4][4] - Elapsed time: 0.212 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
03-11-2025 00:00:56.49346[3][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'APA KAMU SUKA FILM' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:00:56.49367[2][4] - Elapsed time: 0.205 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
03-11-2025 00:00:56.49368[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
03-11-2025 00:00:56.49368[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
03-11-2025 00:00:56.49386[4][4] - Elapsed time: 0.178 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
03-11-2025 00:00:56.49388[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'APA KAMU SUKA FILM' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:00:56.49414[3][4] - Elapsed time: 0.266 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
03-11-2025 00:00:56.49415[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
03-11-2025 00:00:56.49435[1][4] - Elapsed time: 0.198 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG 
-----------------------
03-11-2025 00:00:56.49436[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
03-11-2025 00:00:56.49437[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:00:56.49442[4][4] - Elapsed time: 0.056 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
03-11-2025 00:00:56.49443[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
03-11-2025 00:00:56.49463[4][4] - Elapsed time: 0.200 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
03-11-2025 00:00:56.49465[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
03-11-2025 00:00:56.49490[4][4] - Elapsed time: 0.249 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 657
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [score] => 252
    [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
    [aiml_id] => 657
    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
03-11-2025 00:00:56.49490[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
03-11-2025 00:00:56.49492[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
03-11-2025 00:00:56.49493[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
03-11-2025 00:00:56.49514[2][4] - Elapsed time: 0.208 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
03-11-2025 00:00:56.49514[1][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'APA KAMU SUKA FILM' to the unknown_inputs table. 
-----------------------
03-11-2025 00:00:56.49515[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:657 (*) 
-----------------------
03-11-2025 00:00:56.49516[3][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
03-11-2025 00:00:56.49516[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
03-11-2025 00:00:56.49517[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
03-11-2025 00:00:56.49518[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching Apa kamu suka film for a match. 
-----------------------
03-11-2025 00:00:56.49520[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => Apa kamu suka film
        )

    [1] => Array
        (
            [0] => Apa kamu suka film
        )

)
 
-----------------------
03-11-2025 00:00:56.49521[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'Apa kamu suka film' to the stars stack. 
-----------------------
03-11-2025 00:00:56.49522[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => Apa kamu suka film
)
 
-----------------------
03-11-2025 00:00:56.49522[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
03-11-2025 00:00:56.49523[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
03-11-2025 00:00:56.49524[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 657
    [category_id] => 657
    [html_template] => 
    [lookingfor] => APA KAMU SUKA FILM
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] => Apa kamu suka film
        )

    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

    [topic] => 
    [topic_stars] => Array
        (
        )

    [user_raw] => Apa kamu suka film
)
 
-----------------------
03-11-2025 00:00:56.49525[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
03-11-2025 00:00:56.49526[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
03-11-2025 00:00:56.49532[4][4] - Elapsed time: 0.059 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template> 
-----------------------
03-11-2025 00:00:56.49545[2][4] - Elapsed time: 0.133 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:00:56.49549[4][4] - Elapsed time: 0.038 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template>
 
-----------------------
03-11-2025 00:00:56.49550[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
03-11-2025 00:00:56.49551[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:00:56.49553[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text> 
-----------------------
03-11-2025 00:00:56.49554[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
03-11-2025 00:00:56.49554[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
03-11-2025 00:00:56.49555[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:00:56.49555[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is text 
-----------------------
03-11-2025 00:00:56.49556[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49557[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
03-11-2025 00:00:56.49557[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49558[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' 
-----------------------
03-11-2025 00:00:56.49558[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is template. 
-----------------------
03-11-2025 00:00:56.49559[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:00:56.49560[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
03-11-2025 00:00:56.49560[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:00:56.49561[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' 
-----------------------
03-11-2025 00:00:56.49562[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
-----------------------
03-11-2025 00:00:56.49563[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
03-11-2025 00:00:56.49563[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
03-11-2025 00:00:56.49564[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [that_raw] array 
-----------------------
03-11-2025 00:00:56.49564[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
03-11-2025 00:00:56.49566[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [that] array 
-----------------------
03-11-2025 00:00:56.49567[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm, bisa ulangi lagi gak?' 
-----------------------
03-11-2025 00:00:56.49568[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm, bisa ulangi lagi gak?' 
-----------------------
03-11-2025 00:00:56.49569[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
03-11-2025 00:00:56.49570[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
03-11-2025 00:00:56.49570[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kadang aku suka bingung????' 
-----------------------
03-11-2025 00:00:56.49571[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kadang aku suka bingung????' 
-----------------------
03-11-2025 00:00:56.49571[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49572[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:00:56.49573[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [parsed_template] array 
-----------------------
03-11-2025 00:00:56.49573[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
03-11-2025 00:00:56.49574[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the front of the [template] array 
-----------------------
03-11-2025 00:00:56.49575[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
03-11-2025 00:00:56.49576[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
03-11-2025 00:00:56.49577[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Apa kamu suka film',
      'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
03-11-2025 00:00:56.49729[4][4] - Elapsed time: 1.521 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
03-11-2025 00:00:56.49747[3][4] - Elapsed time: 0.176 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
03-11-2025 00:00:56.49769[2][4] - Elapsed time: 0.226 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
03-11-2025 00:00:56.49771[4][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
03-11-2025 00:00:56.49771[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
03-11-2025 00:00:56.49774[4][4] - Elapsed time: 0.025 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Apa kamu suka film","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"Apa kamu suka film","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"657","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????","score":252,"current_that":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"657","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
03-11-2025 00:00:56.49798[2][4] - Elapsed time: 0.242 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
03-11-2025 00:00:56.49801[0][4] - Elapsed time: 0.032 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 15.426 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Apa kamu suka film
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => Apa kamu suka film
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 657
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
                    [score] => 252
                    [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
                    [aiml_id] => 657
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Apa kamu suka film
            [lookingfor] => APA KAMU SUKA FILM
            [category_id] => 657
            [pattern] => *
            [thatpattern] => 
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [html_template] => 
            [topic] => 
            [score] => 252
            [aiml_id] => 657
            [stars] => Array
                (
                    [1] => Apa kamu suka film
                )

            [that_stars] => Array
                (
                    [1] => 
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
            [user_name] => riski
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [2] => Array
                (
                    [0] => Semangat ya! Kamu pasti bisa????
                )

            [3] => Array
                (
                    [0] => Jangan menyerah, aku percaya kamu!
                )

            [4] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [5] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [6] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [7] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [8] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [9] => Array
                (
                    [0] => Senang kenal kamu, riski ! Lagi ngapain nih?
                )

            [10] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => KADANG AKU SUKA BINGUNG
                    [2] => HMM BISA ULANGI LAGI GAK
                )

            [2] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [3] => Array
                (
                    [1] => SEMANGAT YA KAMU PASTI BISA
                )

            [4] => Array
                (
                    [1] => JANGAN MENYERAH AKU PERCAYA KAMU
                )

            [5] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [6] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [7] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [8] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [9] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [10] => Array
                (
                    [1] => SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => Apa kamu suka film
            [2] => APA KAMU SUKA FILM
            [3] => BUTUH SEMANGAT
            [4] => BUTUH SEMANGAT
            [5] => AKU BOSEN
            [6] => GABUT
            [7] => AKU LAGI BOSEN
            [8] => AKU BOSEN
            [9] => AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
            [10] => NAMA AKU RISKI
        )

    [time_start] => 1762102856.4826
    [user_say] => Array
        (
            [1] => APA KAMU SUKA FILM
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Kadang aku suka bingung????
                    [3] => Hmm, bisa ulangi lagi gak?
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [parsed_template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Apa kamu suka film","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"Apa kamu suka film","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"657","bot_id":"1","pattern":"*","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????","score":252,"current_that":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"657","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

-----------------------
Total execution time: 15.426 Milliseconds. Goodbye.