17-09-2025 18:32:19.73036[0][4] - Elapsed time: 15.332 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              Apache/2.4.51 (Win64) OpenSSL/1.1.1l PHP/7.3.33
  PHP Version:                  7.3.33
  OS:                           Windows NT
  OS Version:                   build 22631 (Windows 10)
  MySQL Version:                10.4.22-MariaDB
  Multi-byte functions enabled: true 
-----------------------
17-09-2025 18:32:19.73448[4][4] - Elapsed time: 4.117 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 18:32:19.73574[4][4] - Elapsed time: 1.265 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 18:32:19.73597[4][4] - Elapsed time: 0.226 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 18:32:19.73698[4][4] - Elapsed time: 1.016 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 18:32:19.73700[4][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 18:32:19.73726[1][4] - Elapsed time: 0.260 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in C:\xmpp\htdocs\Program-O-master\chatbot\conversation_start.php on Line 118 
-----------------------
17-09-2025 18:32:19.73756[0][4] - Elapsed time: 0.305 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 8jsjhh7usn3oj66859ga27lvr6 
-----------------------
17-09-2025 18:32:19.73757[4][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'apa minuman favorit kamu'. 
-----------------------
17-09-2025 18:32:19.73758[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 18:32:19.73759[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 18:32:19.73760[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `Syifa`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
17-09-2025 18:32:19.73816[4][4] - Elapsed time: 0.560 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 18:32:19.73817[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 18:32:19.73818[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
17-09-2025 18:32:19.73847[2][4] - Elapsed time: 0.286 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 18:32:19.73848[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 18:32:19.73876[3][4] - Elapsed time: 0.279 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `Syifa`.`client_properties` WHERE `user_id` = 6 AND `bot_id` = 1; 
-----------------------
17-09-2025 18:32:19.73901[2][4] - Elapsed time: 0.252 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 18:32:19.73903[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on apa. 
-----------------------
17-09-2025 18:32:19.73904[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 18:32:19.73951[2][4] - Elapsed time: 0.473 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:32:19.73953[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on minuman. 
-----------------------
17-09-2025 18:32:19.73954[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:32:19.73955[2][4] - Elapsed time: 0.008 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on favorit. 
-----------------------
17-09-2025 18:32:19.73956[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:32:19.73956[2][4] - Elapsed time: 0.007 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
17-09-2025 18:32:19.73958[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:32:19.73959[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.73960[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA MINUMAN FAVORIT KAMU
Convo id: 8jsjhh7usn3oj66859ga27lvr6
Bot id: 1
Format:  
-----------------------
17-09-2025 18:32:19.73960[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 18:32:19.73961[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 18:32:19.73962[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `Syifa`.`conversation_log` WHERE `user_id` = 6 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
17-09-2025 18:32:19.74005[1][4] - Elapsed time: 0.436 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Apa warna favorit kamu
    [1] => sudah cukup
    [2] => Siapa nama saya
    [3] => Nama saya Theo
    [4] => Aku suka nasi goreng
    [5] => Aku suka nasi goreng
    [6] => kamu suka ngapain aja
    [7] => Hello
    [8] => Hello
    [9] => Hello
)
 
-----------------------
17-09-2025 18:32:19.74007[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 18:32:19.74007[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Warna favoritku biru.
    [1] => Maaf, tidak ada jawaban.
    [2] => Tentu aku tahu, nama kamu Theo. Benar kan?
    [3] => Oke, aku akan ingat namamu. Halo Theo !
    [4] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [5] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [6] => Hobiku membaca, main game, dan coding.
    [7] => Hii!! Apa kabar kamu??
    [8] => Hai, ada yang bisa aku bantu?
    [9] => Hii!! Apa kabar kamu??
)
 
-----------------------
17-09-2025 18:32:19.74009[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74009[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu
    [3] => 
    [4] => 
)

 
-----------------------
17-09-2025 18:32:19.74010[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74011[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:32:19.74012[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:32:19.74013[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:32:19.74014[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74014[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74015[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74015[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 18:32:19.74017[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74017[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74018[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74018[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74019[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74020[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai
    [1] =>  ada yang bisa aku bantu
    [2] => 
)

 
-----------------------
17-09-2025 18:32:19.74020[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74021[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:32:19.74021[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:32:19.74021[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:32:19.74022[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:19.74022[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:19.74023[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74024[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:19.74024[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:19.74024[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:19.74025[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:19.74025[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74026[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu
    [3] => 
    [4] => 
)

 
-----------------------
17-09-2025 18:32:19.74026[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74027[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:32:19.74027[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:32:19.74028[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:32:19.74028[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74028[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74029[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74030[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74030[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74030[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74031[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:32:19.74031[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74032[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hobiku membaca
    [1] =>  main game
    [2] =>  dan coding
    [3] => 
)

 
-----------------------
17-09-2025 18:32:19.74032[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74033[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:32:19.74033[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:32:19.74034[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:32:19.74034[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:32:19.74035[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:32:19.74035[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HOBIKU MEMBACA MAIN GAME DAN CODING' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74036[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:32:19.74036[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:32:19.74037[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:32:19.74037[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:32:19.74038[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74038[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah
    [1] =>  keren
    [2] =>  Kenapa kamu bisa suka nasi goreng
    [3] => 
)

 
-----------------------
17-09-2025 18:32:19.74038[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74039[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:32:19.74039[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:32:19.74040[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:32:19.74040[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74041[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74041[2][4] - Elapsed time: 0.003 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74042[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74042[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74043[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74043[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74043[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74044[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah
    [1] =>  keren
    [2] =>  Kenapa kamu bisa suka nasi goreng
    [3] => 
)

 
-----------------------
17-09-2025 18:32:19.74044[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74045[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:32:19.74045[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:32:19.74046[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:32:19.74046[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74046[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74047[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74048[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74049[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74049[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74050[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74050[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74051[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  aku akan ingat namamu
    [2] =>  Halo Theo 
    [3] => 
)

 
-----------------------
17-09-2025 18:32:19.74051[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74052[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke aku akan ingat namamu Halo Theo ' 
-----------------------
17-09-2025 18:32:19.74052[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke aku akan ingat namamu Halo Theo ' 
-----------------------
17-09-2025 18:32:19.74053[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke aku akan ingat namamu Halo Theo ' 
-----------------------
17-09-2025 18:32:19.74053[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:19.74054[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:19.74054[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE AKU AKAN INGAT NAMAMU HALO THEO' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74055[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:19.74055[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:19.74056[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:19.74056[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:19.74056[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74057[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu aku tahu
    [1] =>  nama kamu Theo
    [2] =>  Benar kan
    [3] => 
)

 
-----------------------
17-09-2025 18:32:19.74057[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74058[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu aku tahu nama kamu Theo Benar kan ' 
-----------------------
17-09-2025 18:32:19.74058[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tentu aku tahu nama kamu Theo Benar kan ' 
-----------------------
17-09-2025 18:32:19.74059[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu aku tahu nama kamu Theo Benar kan ' 
-----------------------
17-09-2025 18:32:19.74059[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:19.74060[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:19.74060[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74061[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:19.74061[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:19.74061[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:19.74062[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:19.74062[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74063[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 18:32:19.74063[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74064[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:32:19.74064[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:32:19.74064[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:32:19.74065[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:19.74065[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:19.74066[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74066[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:19.74067[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:19.74067[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:19.74068[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:19.74068[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74069[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Warna favoritku biru
    [1] => 
)

 
-----------------------
17-09-2025 18:32:19.74069[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74070[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:32:19.74070[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:32:19.74070[4][4] - Elapsed time: 0.004 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:32:19.74071[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:19.74071[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:19.74072[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WARNA FAVORITKU BIRU' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74072[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:19.74073[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:19.74073[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:19.74074[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:19.74074[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
17-09-2025 18:32:19.74075[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74075[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:32:19.74076[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74076[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:32:19.74077[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:32:19.74077[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:32:19.74078[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:32:19.74078[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:32:19.74078[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74079[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 18:32:19.74080[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74080[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:32:19.74081[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74081[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:32:19.74082[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:32:19.74082[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:32:19.74082[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:32:19.74083[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:32:19.74083[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74084[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74084[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:32:19.74085[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74085[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:32:19.74086[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:32:19.74086[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:32:19.74086[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:32:19.74087[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:32:19.74087[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74088[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74088[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu suka ngapain aja
)

 
-----------------------
17-09-2025 18:32:19.74089[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74089[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:32:19.74090[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:32:19.74090[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:32:19.74091[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:32:19.74092[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:32:19.74092[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU SUKA NGAPAIN AJA' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74093[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74093[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
)

 
-----------------------
17-09-2025 18:32:19.74093[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74094[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:32:19.74094[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:32:19.74095[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:32:19.74095[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74096[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74096[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA NASI GORENG' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74097[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74097[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
)

 
-----------------------
17-09-2025 18:32:19.74098[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74098[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:32:19.74099[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:32:19.74099[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:32:19.74100[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74100[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:19.74101[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA NASI GORENG' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74101[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74102[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Theo
)

 
-----------------------
17-09-2025 18:32:19.74102[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74103[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Theo' 
-----------------------
17-09-2025 18:32:19.74103[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Theo' 
-----------------------
17-09-2025 18:32:19.74103[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Theo' 
-----------------------
17-09-2025 18:32:19.74104[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:32:19.74104[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:32:19.74105[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA THEO' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74105[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74106[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 18:32:19.74106[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74107[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Siapa nama saya' 
-----------------------
17-09-2025 18:32:19.74107[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa nama saya' 
-----------------------
17-09-2025 18:32:19.74108[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 18:32:19.74108[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:32:19.74109[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:32:19.74109[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74110[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74110[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => sudah cukup
)

 
-----------------------
17-09-2025 18:32:19.74110[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74111[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'sudah cukup' 
-----------------------
17-09-2025 18:32:19.74111[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'sudah cukup' 
-----------------------
17-09-2025 18:32:19.74112[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'sudah cukup' 
-----------------------
17-09-2025 18:32:19.74112[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SUDAH CUKUP' 
-----------------------
17-09-2025 18:32:19.74113[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SUDAH CUKUP' 
-----------------------
17-09-2025 18:32:19.74113[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SUDAH CUKUP' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74114[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74114[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa warna favorit kamu
)

 
-----------------------
17-09-2025 18:32:19.74114[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74115[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:32:19.74115[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:32:19.74116[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:32:19.74116[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA WARNA FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.74117[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA WARNA FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.74117[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA WARNA FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74154[2][4] - Elapsed time: 0.371 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 18:32:19.74157[3][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
17-09-2025 18:32:19.74190[4][4] - Elapsed time: 0.332 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 18:32:19.74191[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 18:32:19.74192[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 18:32:19.74192[0][4] - Elapsed time: 0.005 milliseconds 
[conversation_start.php][Called outside of function][235]
Say = APA MINUMAN FAVORIT KAMU: raw say = apa minuman favorit kamu 
-----------------------
17-09-2025 18:32:19.74193[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 18:32:19.74193[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA MINUMAN FAVORIT KAMU' to the front of the [user_say] array 
-----------------------
17-09-2025 18:32:19.74194[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 18:32:19.74195[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = apa minuman favorit kamu, RAW say = apa minuman favorit kamu 
-----------------------
17-09-2025 18:32:19.74196[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'apa minuman favorit kamu' to the front of the [input] array 
-----------------------
17-09-2025 18:32:19.74197[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 18:32:19.74197[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.74198[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.74199[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
17-09-2025 18:32:19.74232[4][4] - Elapsed time: 0.336 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 18:32:19.74234[3][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `Syifa`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = ''
    AND (
        'APA MINUMAN FAVORIT KAMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WARNA FAVORITKU BIRU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 18:32:19.74270[2][4] - Elapsed time: 0.359 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 18:32:19.74272[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 18:32:19.74273[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-09-2025 18:32:19.74309[4][4] - Elapsed time: 0.363 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '*' 
-----------------------
17-09-2025 18:32:19.74310[3][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `Syifa`.`aiml` WHERE
    bot_id = 1 AND (
        'APA MINUMAN FAVORIT KAMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WARNA FAVORITKU BIRU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR '*' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 18:32:19.74361[3][4] - Elapsed time: 0.502 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 18:32:19.74362[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
17-09-2025 18:32:19.74402[1][4] - Elapsed time: 0.401 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = WARNA FAVORITKU BIRU 
-----------------------
17-09-2025 18:32:19.74404[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
17-09-2025 18:32:19.74405[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.74411[4][4] - Elapsed time: 0.063 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
17-09-2025 18:32:19.74412[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 18:32:19.74443[4][4] - Elapsed time: 0.314 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 9
            [bot_id] => 1
            [pattern] => APA MINUMAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Aku suka es teh manis.
            [score] => 266
            [current_that] => warna favoritku biru
            [aiml_id] => 9
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

    [1] => Array
        (
            [id] => 70
            [bot_id] => 1
            [pattern] => APA MINUMAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Aku suka es teh manis.
            [score] => 266
            [current_that] => warna favoritku biru
            [aiml_id] => 70
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

)
 
-----------------------
17-09-2025 18:32:19.74446[2][4] - Elapsed time: 0.032 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 70
            [bot_id] => 1
            [pattern] => APA MINUMAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Aku suka es teh manis.
            [score] => 266
            [current_that] => warna favoritku biru
            [aiml_id] => 70
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

    [1] => Array
        (
            [id] => 9
            [bot_id] => 1
            [pattern] => APA MINUMAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Aku suka es teh manis.
            [score] => 266
            [current_that] => warna favoritku biru
            [aiml_id] => 9
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

)

 
-----------------------
17-09-2025 18:32:19.74452[4][4] - Elapsed time: 0.059 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 9
    [bot_id] => 1
    [pattern] => APA MINUMAN FAVORIT KAMU
    [thatpattern] => 
    [topic] => 
    [filename] => admin_added.aiml.txt
    [template] => Aku suka es teh manis.
    [score] => 266
    [current_that] => warna favoritku biru
    [aiml_id] => 9
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
)
 
-----------------------
17-09-2025 18:32:19.74453[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
17-09-2025 18:32:19.74454[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:9 (APA MINUMAN FAVORIT KAMU) 
-----------------------
17-09-2025 18:32:19.74454[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-09-2025 18:32:19.74455[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:19.74455[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 18:32:19.74456[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 18:32:19.74457[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 9
    [category_id] => 9
    [html_template] => 
    [lookingfor] => APA MINUMAN FAVORIT KAMU
    [pattern] => APA MINUMAN FAVORIT KAMU
    [score] => 266
    [stars] => Array
        (
        )

    [template] => Aku suka es teh manis.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => apa minuman favorit kamu
)
 
-----------------------
17-09-2025 18:32:19.74458[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
17-09-2025 18:32:19.74459[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
17-09-2025 18:32:19.74460[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Aku suka es teh manis.</text></template> 
-----------------------
17-09-2025 18:32:19.74462[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:32:19.74464[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Aku suka es teh manis.</text></template>
 
-----------------------
17-09-2025 18:32:19.74464[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 18:32:19.74465[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:32:19.74466[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Aku suka es teh manis.</text> 
-----------------------
17-09-2025 18:32:19.74466[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
17-09-2025 18:32:19.74467[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
17-09-2025 18:32:19.74467[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 18:32:19.74468[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Aku suka es teh manis.' to the response array. tag name is text 
-----------------------
17-09-2025 18:32:19.74468[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74469[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka es teh manis.
)

 
-----------------------
17-09-2025 18:32:19.74469[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74470[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka es teh manis.' 
-----------------------
17-09-2025 18:32:19.74470[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Aku suka es teh manis.' to the response array. tag name is template. 
-----------------------
17-09-2025 18:32:19.74471[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:19.74471[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka es teh manis.
)

 
-----------------------
17-09-2025 18:32:19.74472[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:19.74472[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka es teh manis.' 
-----------------------
17-09-2025 18:32:19.74473[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Aku suka es teh manis. 
-----------------------
17-09-2025 18:32:19.74473[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 18:32:19.74474[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
17-09-2025 18:32:19.74474[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka es teh manis.' to the front of the [that_raw] array 
-----------------------
17-09-2025 18:32:19.74475[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 18:32:19.74488[2][4] - Elapsed time: 0.128 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka es teh manis.' to the front of the [that] array 
-----------------------
17-09-2025 18:32:19.74489[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka es teh manis.' 
-----------------------
17-09-2025 18:32:19.74489[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka es teh manis.' 
-----------------------
17-09-2025 18:32:19.74490[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:32:19.74491[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:32:19.74491[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka es teh manis.' to the front of the [parsed_template] array 
-----------------------
17-09-2025 18:32:19.74492[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 18:32:19.74493[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka es teh manis.' to the front of the [template] array 
-----------------------
17-09-2025 18:32:19.74493[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 18:32:19.74494[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 18:32:19.74495[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `Syifa`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'apa minuman favorit kamu',
      'Aku suka es teh manis.',
      6,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-09-2025 18:32:19.74779[4][4] - Elapsed time: 2.839 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 18:32:19.74803[3][4] - Elapsed time: 0.240 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `Syifa`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
17-09-2025 18:32:19.74836[2][4] - Elapsed time: 0.331 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 18:32:19.74838[4][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 18:32:19.74838[2][4] - Elapsed time: 0.008 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 18:32:19.74840[4][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"apa minuman favorit kamu","botsay":"Aku suka es teh manis.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"apa minuman favorit kamu","conversation_lines":"1","remember_up_to":"10","debugemail":"theodorusnatanael0204@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"9","bot_id":"1","pattern":"APA MINUMAN FAVORIT KAMU","thatpattern":"","topic":"","filename":"admin_added.aiml.txt","template":"Aku suka es teh manis.","score":266,"current_that":"warna favoritku biru","aiml_id":"9","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)"}}} 
-----------------------
17-09-2025 18:32:19.74884[2][4] - Elapsed time: 0.443 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 18:32:19.74886[0][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 33.825 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => apa minuman favorit kamu
    [conversation] => Array
        (
            [convo_id] => 
            [bot_name] => Syifa
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 6
            [totallines] => 1
            [rawSay] => apa minuman favorit kamu
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => theodorusnatanael0204@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 9
                    [bot_id] => 1
                    [pattern] => APA MINUMAN FAVORIT KAMU
                    [thatpattern] => 
                    [topic] => 
                    [filename] => admin_added.aiml.txt
                    [template] => Aku suka es teh manis.
                    [score] => 266
                    [current_that] => warna favoritku biru
                    [aiml_id] => 9
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => apa minuman favorit kamu
            [lookingfor] => APA MINUMAN FAVORIT KAMU
            [category_id] => 9
            [pattern] => APA MINUMAN FAVORIT KAMU
            [thatpattern] => 
            [template] => Aku suka es teh manis.
            [html_template] => 
            [topic] => 
            [score] => 266
            [aiml_id] => 9
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Aku suka es teh manis.
        )

    [client_properties] => Array
        (
            [ip_address] => ::1
            [name] => Seeker
            [namauser] => Theo
            [topic] => *
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Warna favoritku biru
                    [1] => 
                )

            [2] => Array
                (
                    [0] => Maaf, tidak ada jawaban
                    [1] => 
                )

            [3] => Array
                (
                    [0] => Tentu aku tahu, nama kamu Theo
                    [1] =>  Benar kan?
                )

            [4] => Array
                (
                    [0] => Oke, aku akan ingat namamu
                    [1] =>  Halo Theo !
                )

            [5] => Array
                (
                    [0] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
                )

            [6] => Array
                (
                    [0] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
                )

            [7] => Array
                (
                    [0] => Hobiku membaca, main game, dan coding
                    [1] => 
                )

            [8] => Array
                (
                    [0] => Hii!! Apa kabar kamu??
                )

            [9] => Array
                (
                    [0] => Hai, ada yang bisa aku bantu?
                )

            [10] => Array
                (
                    [0] => Hii!! Apa kabar kamu??
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => AKU SUKA ES TEH MANIS
                )

            [2] => Array
                (
                    [1] => WARNA FAVORITKU BIRU
                )

            [3] => Array
                (
                    [1] => MAAF TIDAK ADA JAWABAN
                )

            [4] => Array
                (
                    [1] => TENTU AKU TAHU NAMA KAMU THEO BENAR KAN
                )

            [5] => Array
                (
                    [1] => OKE AKU AKAN INGAT NAMAMU HALO THEO
                )

            [6] => Array
                (
                    [1] => WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG
                )

            [7] => Array
                (
                    [1] => WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG
                )

            [8] => Array
                (
                    [1] => HOBIKU MEMBACA MAIN GAME DAN CODING
                )

            [9] => Array
                (
                    [1] => HII APA KABAR KAMU
                )

            [10] => Array
                (
                    [1] => HAI ADA YANG BISA AKU BANTU
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => apa minuman favorit kamu
            [2] => APA WARNA FAVORIT KAMU
            [3] => SUDAH CUKUP
            [4] => SIAPA NAMA SAYA
            [5] => NAMA SAYA THEO
            [6] => AKU SUKA NASI GORENG
            [7] => AKU SUKA NASI GORENG
            [8] => KAMU SUKA NGAPAIN AJA
            [9] => HELLO
            [10] => HELLO
        )

    [time_start] => 1758126739.715
    [user_say] => Array
        (
            [1] => APA MINUMAN FAVORIT KAMU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Aku suka es teh manis.
                )

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

    [parsed_template] => Array
        (
            [1] => Aku suka es teh manis.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Aku suka es teh manis.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"","usersay":"apa minuman favorit kamu","botsay":"Aku suka es teh manis.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"apa minuman favorit kamu","conversation_lines":"1","remember_up_to":"10","debugemail":"theodorusnatanael0204@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"9","bot_id":"1","pattern":"APA MINUMAN FAVORIT KAMU","thatpattern":"","topic":"","filename":"admin_added.aiml.txt","template":"Aku suka es teh manis.","score":266,"current_that":"warna favoritku biru","aiml_id":"9","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: minuman (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)"}}}
)

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