02-11-2025 23:30:25.45412[0][4] - Elapsed time: 4.978 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:30:25.45440[4][4] - Elapsed time: 0.276 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 23:30:25.45460[4][4] - Elapsed time: 0.197 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 23:30:25.45469[4][4] - Elapsed time: 0.093 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 23:30:25.45507[4][4] - Elapsed time: 0.383 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 23:30:25.45508[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 23:30:25.45522[1][4] - Elapsed time: 0.140 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:30:25.45550[0][4] - Elapsed time: 0.283 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = f463a366d7690201d0f5a7efddf91217 
-----------------------
02-11-2025 23:30:25.45552[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'aku lupa'. 
-----------------------
02-11-2025 23:30:25.45554[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 23:30:25.45554[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 23:30:25.45555[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; 
-----------------------
02-11-2025 23:30:25.45601[4][4] - Elapsed time: 0.451 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 23:30:25.45602[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 23:30:25.45603[3][4] - Elapsed time: 0.009 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:30:25.45648[2][4] - Elapsed time: 0.457 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 23:30:25.45650[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 23:30:25.45690[3][4] - Elapsed time: 0.395 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:30:25.45728[2][4] - Elapsed time: 0.381 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 23:30:25.45736[2][4] - Elapsed time: 0.077 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
02-11-2025 23:30:25.45737[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 23:30:25.45792[2][4] - Elapsed time: 0.549 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:30:25.45794[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on lupa. 
-----------------------
02-11-2025 23:30:25.45796[4][4] - Elapsed time: 0.021 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku lupa' 
-----------------------
02-11-2025 23:30:25.45809[4][4] - Elapsed time: 0.130 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LUPA' 
-----------------------
02-11-2025 23:30:25.45810[2][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: AKU LUPA
Convo id: f463a366d7690201d0f5a7efddf91217
Bot id: 1
Format: json 
-----------------------
02-11-2025 23:30:25.45811[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 23:30:25.45812[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 23:30:25.45813[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; 
-----------------------
02-11-2025 23:30:25.45860[1][4] - Elapsed time: 0.466 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => aku baik
    [1] => NAMAKU ANDI
    [2] => NAMAKU *
    [3] => NAMAKU RISKI
    [4] => namaku riski
    [5] => halo
    [6] => kamu lagi ngapain
    [7] => Kamu lagi ngapaiun
    [8] => ganti topik
    [9] => hobi
)
 
-----------------------
02-11-2025 23:30:25.45861[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 23:30:25.45862[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Syukurlah undefined ! Seneng dengarnya????
    [1] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [2] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [3] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [5] => Hai, kenalan dulu yuk! Siapa nama kamu?
    [6] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [7] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [8] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [9] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)
 
-----------------------
02-11-2025 23:30:25.45864[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45864[2][4] - Elapsed time: 0.007 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:30:25.45865[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45866[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:30:25.45866[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:30:25.45867[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:30:25.45868[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45869[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45870[2][4] - Elapsed time: 0.006 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:30:25.45873[4][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 23:30:25.45880[4][4] - Elapsed time: 0.076 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45881[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45882[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45883[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45884[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45884[2][4] - Elapsed time: 0.006 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:30:25.45885[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45886[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:30:25.45886[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:30:25.45887[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 23:30:25.45888[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45888[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45889[2][4] - Elapsed time: 0.005 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:30:25.45889[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:30:25.45890[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45891[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45891[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 23:30:25.45892[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45893[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:30:25.45893[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45894[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45895[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45895[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45896[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45896[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45897[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45898[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45898[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45899[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45900[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45900[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45901[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:30:25.45901[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45902[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45903[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45903[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45904[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45905[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45905[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45906[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45907[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45907[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45908[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45908[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45909[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai
    [1] =>  kenalan dulu yuk
    [2] =>  Siapa nama kamu
    [3] => 
)

 
-----------------------
02-11-2025 23:30:25.45910[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45910[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai kenalan dulu yuk Siapa nama kamu ' 
-----------------------
02-11-2025 23:30:25.45911[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai kenalan dulu yuk Siapa nama kamu ' 
-----------------------
02-11-2025 23:30:25.45911[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai kenalan dulu yuk Siapa nama kamu ' 
-----------------------
02-11-2025 23:30:25.45912[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' 
-----------------------
02-11-2025 23:30:25.45912[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' 
-----------------------
02-11-2025 23:30:25.45913[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45914[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' 
-----------------------
02-11-2025 23:30:25.45914[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' 
-----------------------
02-11-2025 23:30:25.45915[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' 
-----------------------
02-11-2025 23:30:25.45916[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI KENALAN DULU YUK SIAPA NAMA KAMU' 
-----------------------
02-11-2025 23:30:25.45917[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45917[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:30:25.45918[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45918[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45919[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45919[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45920[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45920[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45921[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45922[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45923[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45923[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45924[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45925[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45925[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

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

 
-----------------------
02-11-2025 23:30:25.45934[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45935[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45935[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45936[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45937[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45938[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45938[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45940[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45941[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45942[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45942[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45943[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45944[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:30:25.45944[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45945[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45945[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45946[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:30:25.45947[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45947[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45947[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45948[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45949[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45949[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45950[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:30:25.45951[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45951[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Syukurlah undefined 
    [1] =>  Seneng dengarnya
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 23:30:25.45952[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45952[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Syukurlah undefined  Seneng dengarnya  ' 
-----------------------
02-11-2025 23:30:25.45953[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Syukurlah undefined  Seneng dengarnya  ' 
-----------------------
02-11-2025 23:30:25.45953[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Syukurlah undefined  Seneng dengarnya  ' 
-----------------------
02-11-2025 23:30:25.45954[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SYUKURLAH UNDEFINED SENENG DENGARNYA' 
-----------------------
02-11-2025 23:30:25.45954[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SYUKURLAH UNDEFINED SENENG DENGARNYA' 
-----------------------
02-11-2025 23:30:25.45955[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SYUKURLAH UNDEFINED SENENG DENGARNYA' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.45956[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SYUKURLAH UNDEFINED SENENG DENGARNYA' 
-----------------------
02-11-2025 23:30:25.45956[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SYUKURLAH UNDEFINED SENENG DENGARNYA' 
-----------------------
02-11-2025 23:30:25.45957[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SYUKURLAH UNDEFINED SENENG DENGARNYA' 
-----------------------
02-11-2025 23:30:25.45957[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SYUKURLAH UNDEFINED SENENG DENGARNYA' 
-----------------------
02-11-2025 23:30:25.45958[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 23:30:25.45959[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45960[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hobi
)

 
-----------------------
02-11-2025 23:30:25.45960[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45961[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hobi' 
-----------------------
02-11-2025 23:30:25.45961[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hobi' 
-----------------------
02-11-2025 23:30:25.45962[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hobi' 
-----------------------
02-11-2025 23:30:25.45963[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HOBI' 
-----------------------
02-11-2025 23:30:25.45964[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HOBI' 
-----------------------
02-11-2025 23:30:25.45964[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HOBI' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45965[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 23:30:25.45966[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45966[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
02-11-2025 23:30:25.45967[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45967[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
02-11-2025 23:30:25.45968[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
02-11-2025 23:30:25.45968[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
02-11-2025 23:30:25.45969[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
02-11-2025 23:30:25.45969[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
02-11-2025 23:30:25.45970[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45971[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45971[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kamu lagi ngapaiun
)

 
-----------------------
02-11-2025 23:30:25.45972[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45974[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kamu lagi ngapaiun' 
-----------------------
02-11-2025 23:30:25.45974[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kamu lagi ngapaiun' 
-----------------------
02-11-2025 23:30:25.45975[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kamu lagi ngapaiun' 
-----------------------
02-11-2025 23:30:25.45976[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU LAGI NGAPAIUN' 
-----------------------
02-11-2025 23:30:25.45976[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU LAGI NGAPAIUN' 
-----------------------
02-11-2025 23:30:25.45977[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU LAGI NGAPAIUN' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45977[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45978[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu lagi ngapain
)

 
-----------------------
02-11-2025 23:30:25.45979[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45979[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu lagi ngapain' 
-----------------------
02-11-2025 23:30:25.45980[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu lagi ngapain' 
-----------------------
02-11-2025 23:30:25.45981[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu lagi ngapain' 
-----------------------
02-11-2025 23:30:25.45982[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU LAGI NGAPAIN' 
-----------------------
02-11-2025 23:30:25.45982[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU LAGI NGAPAIN' 
-----------------------
02-11-2025 23:30:25.45982[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU LAGI NGAPAIN' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45983[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45984[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:30:25.45984[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45985[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:30:25.45985[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:30:25.45986[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:30:25.45986[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:30:25.45987[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:30:25.45987[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45988[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45989[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:30:25.45989[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45990[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:30:25.45990[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:30:25.45991[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:30:25.45991[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45992[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45992[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45993[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45994[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => NAMAKU RISKI
)

 
-----------------------
02-11-2025 23:30:25.45994[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.45995[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45995[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45996[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45997[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45997[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:30:25.45998[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.45999[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.45999[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => NAMAKU *
)

 
-----------------------
02-11-2025 23:30:25.46000[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.46000[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'NAMAKU *' 
-----------------------
02-11-2025 23:30:25.46001[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMAKU *' 
-----------------------
02-11-2025 23:30:25.46001[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMAKU *' 
-----------------------
02-11-2025 23:30:25.46002[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU' 
-----------------------
02-11-2025 23:30:25.46002[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU' 
-----------------------
02-11-2025 23:30:25.46003[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.46003[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.46004[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => NAMAKU ANDI
)

 
-----------------------
02-11-2025 23:30:25.46004[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.46005[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'NAMAKU ANDI' 
-----------------------
02-11-2025 23:30:25.46005[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMAKU ANDI' 
-----------------------
02-11-2025 23:30:25.46006[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMAKU ANDI' 
-----------------------
02-11-2025 23:30:25.46006[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU ANDI' 
-----------------------
02-11-2025 23:30:25.46007[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU ANDI' 
-----------------------
02-11-2025 23:30:25.46007[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU ANDI' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.46008[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.46009[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku baik
)

 
-----------------------
02-11-2025 23:30:25.46009[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.46010[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku baik' 
-----------------------
02-11-2025 23:30:25.46011[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku baik' 
-----------------------
02-11-2025 23:30:25.46012[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku baik' 
-----------------------
02-11-2025 23:30:25.46013[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BAIK' 
-----------------------
02-11-2025 23:30:25.46013[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BAIK' 
-----------------------
02-11-2025 23:30:25.46014[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BAIK' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.46067[2][4] - Elapsed time: 0.527 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 23:30:25.46068[3][4] - Elapsed time: 0.013 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:30:25.46091[4][4] - Elapsed time: 0.235 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 23:30:25.46093[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 23:30:25.46094[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 23:30:25.46094[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = AKU LUPA: raw say = aku lupa 
-----------------------
02-11-2025 23:30:25.46095[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 23:30:25.46096[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU LUPA' to the front of the [user_say] array 
-----------------------
02-11-2025 23:30:25.46096[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 23:30:25.46097[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = aku lupa, RAW say = aku lupa 
-----------------------
02-11-2025 23:30:25.46098[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku lupa' to the front of the [input] array 
-----------------------
02-11-2025 23:30:25.46099[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 23:30:25.46100[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU LUPA' 
-----------------------
02-11-2025 23:30:25.46101[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LUPA' 
-----------------------
02-11-2025 23:30:25.46103[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:30:25.46126[4][4] - Elapsed time: 0.230 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:30:25.46128[3][4] - Elapsed time: 0.024 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 (
        'AKU LUPA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SYUKURLAH UNDEFINED SENENG DENGARNYA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:30:25.46182[2][4] - Elapsed time: 0.540 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:30:25.46184[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:30:25.46185[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:30:25.46208[4][4] - Elapsed time: 0.228 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:30:25.46210[3][4] - Elapsed time: 0.023 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 (
        'AKU LUPA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SYUKURLAH UNDEFINED SENENG DENGARNYA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:30:25.46258[3][4] - Elapsed time: 0.486 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:30:25.46260[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
02-11-2025 23:30:25.46283[1][4] - Elapsed time: 0.230 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = SYUKURLAH UNDEFINED SENENG DENGARNYA 
-----------------------
02-11-2025 23:30:25.46285[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
02-11-2025 23:30:25.46285[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'AKU LUPA' 
-----------------------
02-11-2025 23:30:25.46299[4][4] - Elapsed time: 0.135 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 3 relevant rows 
-----------------------
02-11-2025 23:30:25.46300[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:30:25.46330[4][4] - Elapsed time: 0.298 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 628
            [bot_id] => 1
            [pattern] => AKU LUPA
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Gapapa kok, aku bisa bantu inget kalau mau ????
            [score] => 262
            [current_that] => syukurlah undefined seneng dengarnya
            [aiml_id] => 628
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: lupa (2 points)
        )

    [1] => Array
        (
            [id] => 615
            [bot_id] => 1
            [pattern] => AKU *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <srai><star/></srai>
            [score] => 254
            [current_that] => syukurlah undefined seneng dengarnya
            [aiml_id] => 615
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: aku (2 points), star word match (1 points)
        )

    [2] => Array
        (
            [id] => 629
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => syukurlah undefined seneng dengarnya
            [aiml_id] => 629
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
02-11-2025 23:30:25.46332[2][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 628
            [bot_id] => 1
            [pattern] => AKU LUPA
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Gapapa kok, aku bisa bantu inget kalau mau ????
            [score] => 262
            [current_that] => syukurlah undefined seneng dengarnya
            [aiml_id] => 628
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: lupa (2 points)
        )

)

 
-----------------------
02-11-2025 23:30:25.46361[4][4] - Elapsed time: 0.288 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 628
    [bot_id] => 1
    [pattern] => AKU LUPA
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => Gapapa kok, aku bisa bantu inget kalau mau ????
    [score] => 262
    [current_that] => syukurlah undefined seneng dengarnya
    [aiml_id] => 628
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: lupa (2 points)
)
 
-----------------------
02-11-2025 23:30:25.46361[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:30:25.46363[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:628 (AKU LUPA) 
-----------------------
02-11-2025 23:30:25.46364[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 23:30:25.46365[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'AKU LUPA' 
-----------------------
02-11-2025 23:30:25.46365[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:30:25.46366[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:30:25.46367[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 628
    [category_id] => 628
    [html_template] => 
    [lookingfor] => AKU LUPA
    [pattern] => AKU LUPA
    [score] => 262
    [stars] => Array
        (
        )

    [template] => Gapapa kok, aku bisa bantu inget kalau mau ????
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => aku lupa
)
 
-----------------------
02-11-2025 23:30:25.46368[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:30:25.46369[2][4] - Elapsed time: 0.008 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:30:25.46375[4][4] - Elapsed time: 0.059 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Gapapa kok, aku bisa bantu inget kalau mau ????</text></template> 
-----------------------
02-11-2025 23:30:25.46388[2][4] - Elapsed time: 0.132 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:30:25.46391[4][4] - Elapsed time: 0.037 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Gapapa kok, aku bisa bantu inget kalau mau ????</text></template>
 
-----------------------
02-11-2025 23:30:25.46392[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:30:25.46394[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:30:25.46396[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Gapapa kok, aku bisa bantu inget kalau mau ????</text> 
-----------------------
02-11-2025 23:30:25.46397[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:30:25.46397[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:30:25.46398[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:30:25.46398[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Gapapa kok, aku bisa bantu inget kalau mau ????' to the response array. tag name is text 
-----------------------
02-11-2025 23:30:25.46399[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:30:25.46400[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Gapapa kok, aku bisa bantu inget kalau mau ????
)

 
-----------------------
02-11-2025 23:30:25.46400[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.46401[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Gapapa kok, aku bisa bantu inget kalau mau ????' 
-----------------------
02-11-2025 23:30:25.46401[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Gapapa kok, aku bisa bantu inget kalau mau ????' to the response array. tag name is template. 
-----------------------
02-11-2025 23:30:25.46403[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:30:25.46403[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Gapapa kok, aku bisa bantu inget kalau mau ????
)

 
-----------------------
02-11-2025 23:30:25.46404[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:30:25.46404[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Gapapa kok, aku bisa bantu inget kalau mau ????' 
-----------------------
02-11-2025 23:30:25.46405[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: Gapapa kok, aku bisa bantu inget kalau mau???? 
-----------------------
02-11-2025 23:30:25.46406[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 23:30:25.46406[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 23:30:25.46407[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Gapapa kok, aku bisa bantu inget kalau mau????' to the front of the [that_raw] array 
-----------------------
02-11-2025 23:30:25.46408[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 23:30:25.46410[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Gapapa kok, aku bisa bantu inget kalau mau????' to the front of the [that] array 
-----------------------
02-11-2025 23:30:25.46411[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Gapapa kok, aku bisa bantu inget kalau mau????' 
-----------------------
02-11-2025 23:30:25.46411[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Gapapa kok, aku bisa bantu inget kalau mau????' 
-----------------------
02-11-2025 23:30:25.46413[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:30:25.46413[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:30:25.46414[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Gapapa kok, aku bisa bantu inget kalau mau????' to the front of the [parsed_template] array 
-----------------------
02-11-2025 23:30:25.46415[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 23:30:25.46416[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Gapapa kok, aku bisa bantu inget kalau mau ????' to the front of the [template] array 
-----------------------
02-11-2025 23:30:25.46416[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 23:30:25.46417[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 23:30:25.46419[3][4] - Elapsed time: 0.011 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 ,
      'aku lupa',
      'Gapapa kok, aku bisa bantu inget kalau mau????',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 23:30:25.46581[4][4] - Elapsed time: 1.621 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 23:30:25.46614[3][4] - Elapsed time: 0.334 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:30:25.46654[2][4] - Elapsed time: 0.397 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 23:30:25.46656[4][4] - Elapsed time: 0.017 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 23:30:25.46657[2][4] - Elapsed time: 0.012 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 23:30:25.46661[4][4] - Elapsed time: 0.048 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"aku lupa","botsay":"Gapapa kok, aku bisa bantu inget kalau mau????","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":"aku lupa","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":"628","bot_id":"1","pattern":"AKU LUPA","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"Gapapa kok, aku bisa bantu inget kalau mau ????","score":262,"current_that":"syukurlah undefined seneng dengarnya","aiml_id":"628","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: lupa (2 points)"}}} 
-----------------------
02-11-2025 23:30:25.46727[2][4] - Elapsed time: 0.651 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 23:30:25.46732[0][4] - Elapsed time: 0.058 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 18.137 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => aku lupa
    [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] => aku lupa
            [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] => 628
                    [bot_id] => 1
                    [pattern] => AKU LUPA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => Gapapa kok, aku bisa bantu inget kalau mau ????
                    [score] => 262
                    [current_that] => syukurlah undefined seneng dengarnya
                    [aiml_id] => 628
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: lupa (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => aku lupa
            [lookingfor] => AKU LUPA
            [category_id] => 628
            [pattern] => AKU LUPA
            [thatpattern] => 
            [template] => Gapapa kok, aku bisa bantu inget kalau mau ????
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 628
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Gapapa kok, aku bisa bantu inget kalau mau????
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Syukurlah undefined ! Seneng dengarnya????
                )

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

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

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

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

            [6] => Array
                (
                    [0] => Hai, kenalan dulu yuk! Siapa nama kamu?
                )

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

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

            [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] => GAPAPA KOK AKU BISA BANTU INGET KALAU MAU
                )

            [2] => Array
                (
                    [1] => SYUKURLAH UNDEFINED SENENG DENGARNYA
                )

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

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

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

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

            [7] => Array
                (
                    [1] => HAI KENALAN DULU YUK SIAPA NAMA KAMU
                )

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => aku lupa
            [2] => AKU BAIK
            [3] => NAMAKU ANDI
            [4] => NAMAKU
            [5] => NAMAKU RISKI
            [6] => NAMAKU RISKI
            [7] => HALO
            [8] => KAMU LAGI NGAPAIN
            [9] => KAMU LAGI NGAPAIUN
            [10] => GANTI TOPIK
        )

    [time_start] => 1762101025.4491
    [user_say] => Array
        (
            [1] => AKU LUPA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Gapapa kok, aku bisa bantu inget kalau mau????
                )

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

    [parsed_template] => Array
        (
            [1] => Gapapa kok, aku bisa bantu inget kalau mau????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Gapapa kok, aku bisa bantu inget kalau mau ????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"aku lupa","botsay":"Gapapa kok, aku bisa bantu inget kalau mau????","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":"aku lupa","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":"628","bot_id":"1","pattern":"AKU LUPA","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"Gapapa kok, aku bisa bantu inget kalau mau ????","score":262,"current_that":"syukurlah undefined seneng dengarnya","aiml_id":"628","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: lupa (2 points)"}}}
)

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