02-11-2025 23:06:12.40768[0][4] - Elapsed time: 0.753 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 
-----------------------
02-11-2025 23:06:12.40800[4][4] - Elapsed time: 0.321 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 23:06:12.40825[4][4] - Elapsed time: 0.255 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 23:06:12.40839[4][4] - Elapsed time: 0.140 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 23:06:12.40883[4][4] - Elapsed time: 0.443 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 23:06:12.40886[4][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 23:06:12.40903[1][4] - Elapsed time: 0.177 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 
-----------------------
02-11-2025 23:06:12.40938[0][4] - Elapsed time: 0.343 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = fd64b0c28351b4174564f46c67da6c5b 
-----------------------
02-11-2025 23:06:12.40940[4][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'ganti topik'. 
-----------------------
02-11-2025 23:06:12.40942[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 23:06:12.40943[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 23:06:12.40945[3][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
02-11-2025 23:06:12.40966[4][4] - Elapsed time: 0.214 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 23:06:12.40968[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 23:06:12.40970[3][4] - Elapsed time: 0.016 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; 
-----------------------
02-11-2025 23:06:12.40994[2][4] - Elapsed time: 0.246 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 23:06:12.40997[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 23:06:12.41018[3][4] - Elapsed time: 0.214 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; 
-----------------------
02-11-2025 23:06:12.41042[2][4] - Elapsed time: 0.237 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 23:06:12.41044[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ganti. 
-----------------------
02-11-2025 23:06:12.41046[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 23:06:12.41088[2][4] - Elapsed time: 0.415 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:06:12.41091[2][4] - Elapsed time: 0.031 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on topik. 
-----------------------
02-11-2025 23:06:12.41094[4][4] - Elapsed time: 0.030 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
02-11-2025 23:06:12.41096[4][4] - Elapsed time: 0.024 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
02-11-2025 23:06:12.41097[2][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: GANTI TOPIK
Convo id: fd64b0c28351b4174564f46c67da6c5b
Bot id: 1
Format: json 
-----------------------
02-11-2025 23:06:12.41099[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 23:06:12.41100[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 23:06:12.41102[3][4] - Elapsed time: 0.016 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; 
-----------------------
02-11-2025 23:06:12.41131[1][4] - Elapsed time: 0.292 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => KASIH AKU SEMANGAT
    [1] => kasih aku semangat
    [2] => kasih aku semangat
    [3] => Pagi
    [4] => aku hobby basket
    [5] => namaku riski
    [6] => hai
    [7] => halo
    [8] => Halo
    [9] => halo
)
 
-----------------------
02-11-2025 23:06:12.41133[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 23:06:12.41134[1][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [1] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [2] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [3] => Boleh banget, pengen tahu lebih.
    [4] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [5] => Halo riski ! Senang kenalan sama kamu????
    [6] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [7] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [8] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [9] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)
 
-----------------------
02-11-2025 23:06:12.41138[2][4] - Elapsed time: 0.033 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41139[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41140[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41141[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41143[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41144[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41145[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41146[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41148[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41149[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 23:06:12.41152[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41153[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41155[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41156[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41158[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41159[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41160[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41161[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41162[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41163[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41165[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41166[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41167[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41169[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41170[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41172[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41173[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41174[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41176[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41177[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41178[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41179[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41180[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41182[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41183[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41184[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41186[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41187[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41188[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41189[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41191[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41192[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41193[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41194[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41195[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41196[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41198[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41199[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41200[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41202[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41203[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41204[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41205[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41207[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41208[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo riski 
    [1] =>  Senang kenalan sama kamu
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 23:06:12.41209[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41210[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 23:06:12.41211[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 23:06:12.41212[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 23:06:12.41214[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 23:06:12.41215[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 23:06:12.41216[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO RISKI SENANG KENALAN SAMA KAMU' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41217[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 23:06:12.41219[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 23:06:12.41220[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 23:06:12.41221[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 23:06:12.41223[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41224[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41225[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41226[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41227[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41228[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41231[4][4] - Elapsed time: 0.026 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41232[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41233[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41235[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41236[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41237[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41238[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41240[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41241[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Boleh banget
    [1] =>  pengen tahu lebih
    [2] => 
)

 
-----------------------
02-11-2025 23:06:12.41242[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41243[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Boleh banget pengen tahu lebih ' 
-----------------------
02-11-2025 23:06:12.41244[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Boleh banget pengen tahu lebih ' 
-----------------------
02-11-2025 23:06:12.41245[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Boleh banget pengen tahu lebih ' 
-----------------------
02-11-2025 23:06:12.41247[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 23:06:12.41248[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 23:06:12.41249[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BOLEH BANGET PENGEN TAHU LEBIH' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41251[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 23:06:12.41252[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 23:06:12.41253[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 23:06:12.41254[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 23:06:12.41256[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41257[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41258[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41259[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41260[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41261[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41263[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41264[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41265[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41267[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41268[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41269[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41270[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41272[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41273[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41274[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41275[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41276[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41277[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41279[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41280[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41281[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41283[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41284[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41285[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41286[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41288[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41289[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 23:06:12.41290[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41291[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41292[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41293[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:06:12.41295[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41296[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41297[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41299[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41300[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41301[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41302[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:06:12.41304[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 23:06:12.41306[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41307[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:06:12.41308[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41309[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:06:12.41310[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:06:12.41311[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:06:12.41313[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:06:12.41314[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:06:12.41315[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41316[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 23:06:12.41318[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41319[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
02-11-2025 23:06:12.41320[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41321[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
02-11-2025 23:06:12.41322[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
02-11-2025 23:06:12.41323[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
02-11-2025 23:06:12.41324[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:06:12.41325[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:06:12.41326[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41328[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41330[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:06:12.41331[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41332[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:06:12.41333[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:06:12.41334[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:06:12.41336[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:06:12.41337[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:06:12.41338[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41339[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41340[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
02-11-2025 23:06:12.41341[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41342[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
02-11-2025 23:06:12.41343[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
02-11-2025 23:06:12.41344[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
02-11-2025 23:06:12.41346[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
02-11-2025 23:06:12.41347[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
02-11-2025 23:06:12.41348[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41349[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41350[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:06:12.41351[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41352[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:06:12.41353[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:06:12.41354[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:06:12.41356[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:06:12.41357[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:06:12.41358[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41359[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41361[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku hobby basket
)

 
-----------------------
02-11-2025 23:06:12.41362[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41363[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku hobby basket' 
-----------------------
02-11-2025 23:06:12.41364[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku hobby basket' 
-----------------------
02-11-2025 23:06:12.41365[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku hobby basket' 
-----------------------
02-11-2025 23:06:12.41366[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 23:06:12.41367[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 23:06:12.41368[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU HOBBY BASKET' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41370[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41371[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Pagi
)

 
-----------------------
02-11-2025 23:06:12.41372[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41373[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Pagi' 
-----------------------
02-11-2025 23:06:12.41374[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Pagi' 
-----------------------
02-11-2025 23:06:12.41375[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Pagi' 
-----------------------
02-11-2025 23:06:12.41376[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'PAGI' 
-----------------------
02-11-2025 23:06:12.41377[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'PAGI' 
-----------------------
02-11-2025 23:06:12.41378[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'PAGI' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41380[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41381[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kasih aku semangat
)

 
-----------------------
02-11-2025 23:06:12.41382[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41383[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kasih aku semangat' 
-----------------------
02-11-2025 23:06:12.41384[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kasih aku semangat' 
-----------------------
02-11-2025 23:06:12.41385[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kasih aku semangat' 
-----------------------
02-11-2025 23:06:12.41387[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41388[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41389[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KASIH AKU SEMANGAT' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41390[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41391[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kasih aku semangat
)

 
-----------------------
02-11-2025 23:06:12.41392[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41393[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kasih aku semangat' 
-----------------------
02-11-2025 23:06:12.41394[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kasih aku semangat' 
-----------------------
02-11-2025 23:06:12.41395[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kasih aku semangat' 
-----------------------
02-11-2025 23:06:12.41397[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41398[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41399[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KASIH AKU SEMANGAT' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41400[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41402[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => KASIH AKU SEMANGAT
)

 
-----------------------
02-11-2025 23:06:12.41403[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41404[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41405[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41406[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41407[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41408[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KASIH AKU SEMANGAT' 
-----------------------
02-11-2025 23:06:12.41409[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KASIH AKU SEMANGAT' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41450[2][4] - Elapsed time: 0.411 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 23:06:12.41453[3][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 23:06:12.41475[4][4] - Elapsed time: 0.219 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 23:06:12.41477[0][4] - Elapsed time: 0.026 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 23:06:12.41478[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 23:06:12.41479[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][235]
Say = GANTI TOPIK: raw say = ganti topik 
-----------------------
02-11-2025 23:06:12.41481[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 23:06:12.41482[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [user_say] array 
-----------------------
02-11-2025 23:06:12.41483[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 23:06:12.41485[0][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = ganti topik, RAW say = ganti topik 
-----------------------
02-11-2025 23:06:12.41486[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ganti topik' to the front of the [input] array 
-----------------------
02-11-2025 23:06:12.41488[4][4] - Elapsed time: 0.016 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 23:06:12.41489[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GANTI TOPIK' 
-----------------------
02-11-2025 23:06:12.41491[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
02-11-2025 23:06:12.41492[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:06:12.41513[4][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:06:12.41516[3][4] - Elapsed time: 0.031 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 (
        'GANTI TOPIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:06:12.41540[2][4] - Elapsed time: 0.237 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:06:12.41542[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:06:12.41543[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:06:12.41564[4][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:06:12.41567[3][4] - Elapsed time: 0.031 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 (
        'GANTI TOPIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:06:12.41597[3][4] - Elapsed time: 0.304 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:06:12.41599[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
02-11-2025 23:06:12.41619[1][4] - Elapsed time: 0.202 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA 
-----------------------
02-11-2025 23:06:12.41621[4][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 23:06:12.41622[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'GANTI TOPIK' 
-----------------------
02-11-2025 23:06:12.41634[4][4] - Elapsed time: 0.112 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
02-11-2025 23:06:12.41635[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:06:12.41660[4][4] - Elapsed time: 0.241 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 379
            [bot_id] => 1
            [pattern] => GANTI TOPIK
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai.aiml
            [template] => Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
            [score] => 262
            [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
            [aiml_id] => 379
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
        )

)
 
-----------------------
02-11-2025 23:06:12.41662[2][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 379
            [bot_id] => 1
            [pattern] => GANTI TOPIK
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai.aiml
            [template] => Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
            [score] => 262
            [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
            [aiml_id] => 379
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
        )

)

 
-----------------------
02-11-2025 23:06:12.41681[4][4] - Elapsed time: 0.184 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 379
    [bot_id] => 1
    [pattern] => GANTI TOPIK
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai.aiml
    [template] => Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
    [score] => 262
    [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
    [aiml_id] => 379
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
)
 
-----------------------
02-11-2025 23:06:12.41682[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:06:12.41685[4][4] - Elapsed time: 0.027 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:379 (GANTI TOPIK) 
-----------------------
02-11-2025 23:06:12.41687[3][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 23:06:12.41688[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'GANTI TOPIK' 
-----------------------
02-11-2025 23:06:12.41689[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:06:12.41690[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:06:12.41692[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 379
    [category_id] => 379
    [html_template] => 
    [lookingfor] => GANTI TOPIK
    [pattern] => GANTI TOPIK
    [score] => 262
    [stars] => Array
        (
        )

    [template] => Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => ganti topik
)
 
-----------------------
02-11-2025 23:06:12.41694[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:06:12.41695[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 23:06:12.41697[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Oke, topik apa nih yang mau dibahas selanjutnya?          (Contoh: bahas sekolah, bahas hobi, bahas teknologi)</text></template> 
-----------------------
02-11-2025 23:06:12.41704[2][4] - Elapsed time: 0.065 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:06:12.41708[4][4] - Elapsed time: 0.050 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Oke, topik apa nih yang mau dibahas selanjutnya?          (Contoh: bahas sekolah, bahas hobi, bahas teknologi)</text></template>
 
-----------------------
02-11-2025 23:06:12.41710[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:06:12.41712[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:06:12.41714[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Oke, topik apa nih yang mau dibahas selanjutnya?          (Contoh: bahas sekolah, bahas hobi, bahas teknologi)</text> 
-----------------------
02-11-2025 23:06:12.41715[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:06:12.41716[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:06:12.41718[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:06:12.41719[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Oke, topik apa nih yang mau dibahas selanjutnya?          (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' to the response array. tag name is text 
-----------------------
02-11-2025 23:06:12.41720[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41721[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke, topik apa nih yang mau dibahas selanjutnya?          (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
)

 
-----------------------
02-11-2025 23:06:12.41722[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41723[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke, topik apa nih yang mau dibahas selanjutnya?     (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' 
-----------------------
02-11-2025 23:06:12.41724[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Oke, topik apa nih yang mau dibahas selanjutnya?     (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' to the response array. tag name is template. 
-----------------------
02-11-2025 23:06:12.41726[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:06:12.41727[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke, topik apa nih yang mau dibahas selanjutnya?     (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
)

 
-----------------------
02-11-2025 23:06:12.41728[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:06:12.41730[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke, topik apa nih yang mau dibahas selanjutnya?   (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' 
-----------------------
02-11-2025 23:06:12.41731[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi) 
-----------------------
02-11-2025 23:06:12.41733[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 23:06:12.41734[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 23:06:12.41735[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' to the front of the [that_raw] array 
-----------------------
02-11-2025 23:06:12.41736[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 23:06:12.41740[2][4] - Elapsed time: 0.033 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' to the front of the [that] array 
-----------------------
02-11-2025 23:06:12.41742[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke, topik apa nih yang mau dibahas selanjutnya?' 
-----------------------
02-11-2025 23:06:12.41743[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke, topik apa nih yang mau dibahas selanjutnya?' 
-----------------------
02-11-2025 23:06:12.41745[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE TOPIK APA NIH YANG MAU DIBAHAS SELANJUTNYA' 
-----------------------
02-11-2025 23:06:12.41746[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE TOPIK APA NIH YANG MAU DIBAHAS SELANJUTNYA' 
-----------------------
02-11-2025 23:06:12.41747[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: '(Contoh: bahas sekolah, bahas hobi, bahas teknologi)' 
-----------------------
02-11-2025 23:06:12.41748[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = '(Contoh: bahas sekolah, bahas hobi, bahas teknologi)' 
-----------------------
02-11-2025 23:06:12.41750[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'CONTOH BAHAS SEKOLAH BAHAS HOBI BAHAS TEKNOLOGI' 
-----------------------
02-11-2025 23:06:12.41751[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'CONTOH BAHAS SEKOLAH BAHAS HOBI BAHAS TEKNOLOGI' 
-----------------------
02-11-2025 23:06:12.41753[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' to the front of the [parsed_template] array 
-----------------------
02-11-2025 23:06:12.41754[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 23:06:12.41756[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)' to the front of the [template] array 
-----------------------
02-11-2025 23:06:12.41758[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 23:06:12.41760[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 23:06:12.41762[3][4] - Elapsed time: 0.023 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 ,
      'ganti topik',
      'Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 23:06:12.41897[4][4] - Elapsed time: 1.345 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 23:06:12.41917[3][4] - Elapsed time: 0.204 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 
-----------------------
02-11-2025 23:06:12.41943[2][4] - Elapsed time: 0.261 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 23:06:12.41945[4][4] - Elapsed time: 0.021 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 23:06:12.41947[2][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 23:06:12.41949[4][4] - Elapsed time: 0.026 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"ganti topik","botsay":"Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)","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":"ganti topik","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":"379","bot_id":"1","pattern":"GANTI TOPIK","thatpattern":"","topic":"","filename":"chat_ai.aiml","template":"Oke, topik apa nih yang mau dibahas selanjutnya?  \n        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)","score":262,"current_that":"wah pertanyaanmu unik banget aku pelajari dulu ya","aiml_id":"379","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)"}}} 
-----------------------
02-11-2025 23:06:12.41971[2][4] - Elapsed time: 0.222 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 23:06:12.41975[0][4] - Elapsed time: 0.033 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 12.808 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => ganti topik
    [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] => ganti topik
            [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] => 379
                    [bot_id] => 1
                    [pattern] => GANTI TOPIK
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai.aiml
                    [template] => Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
                    [score] => 262
                    [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
                    [aiml_id] => 379
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => ganti topik
            [lookingfor] => GANTI TOPIK
            [category_id] => 379
            [pattern] => GANTI TOPIK
            [thatpattern] => 
            [template] => Oke, topik apa nih yang mau dibahas selanjutnya?  
        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 379
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [2] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [3] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [4] => Array
                (
                    [0] => Boleh banget, pengen tahu lebih
                    [1] => 
                )

            [5] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [6] => Array
                (
                    [0] => Halo riski ! Senang kenalan sama kamu????
                )

            [7] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [8] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [9] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [10] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => CONTOH BAHAS SEKOLAH BAHAS HOBI BAHAS TEKNOLOGI
                    [2] => OKE TOPIK APA NIH YANG MAU DIBAHAS SELANJUTNYA
                )

            [2] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [3] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [4] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [5] => Array
                (
                    [1] => BOLEH BANGET PENGEN TAHU LEBIH
                )

            [6] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [7] => Array
                (
                    [1] => HALO RISKI SENANG KENALAN SAMA KAMU
                )

            [8] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [9] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [10] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => ganti topik
            [2] => KASIH AKU SEMANGAT
            [3] => KASIH AKU SEMANGAT
            [4] => KASIH AKU SEMANGAT
            [5] => PAGI
            [6] => AKU HOBBY BASKET
            [7] => NAMAKU RISKI
            [8] => HAI
            [9] => HALO
            [10] => HALO
        )

    [time_start] => 1762099572.4069
    [user_say] => Array
        (
            [1] => GANTI TOPIK
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
                    [3] => Oke, topik apa nih yang mau dibahas selanjutnya?
                )

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

    [parsed_template] => Array
        (
            [1] => Oke, topik apa nih yang mau dibahas selanjutnya? (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Oke, topik apa nih yang mau dibahas selanjutnya? (Contoh: bahas sekolah, bahas hobi, bahas teknologi)
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"ganti topik","botsay":"Oke, topik apa nih yang mau dibahas selanjutnya?  (Contoh: bahas sekolah, bahas hobi, bahas teknologi)","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":"ganti topik","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":"379","bot_id":"1","pattern":"GANTI TOPIK","thatpattern":"","topic":"","filename":"chat_ai.aiml","template":"Oke, topik apa nih yang mau dibahas selanjutnya?  \n        (Contoh: bahas sekolah, bahas hobi, bahas teknologi)","score":262,"current_that":"wah pertanyaanmu unik banget aku pelajari dulu ya","aiml_id":"379","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)"}}}
)

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