17-09-2025 18:32:28.41953[0][4] - Elapsed time: 3.735 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:28.42287[4][4] - Elapsed time: 3.336 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 18:32:28.42403[4][4] - Elapsed time: 1.155 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 18:32:28.42425[4][4] - Elapsed time: 0.221 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 18:32:28.42513[4][4] - Elapsed time: 0.888 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 18:32:28.42515[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 18:32:28.42542[1][4] - Elapsed time: 0.269 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:28.42581[0][4] - Elapsed time: 0.394 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = mkq4c4r1884vegi01hm1pbnt70 
-----------------------
17-09-2025 18:32:28.42582[4][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Apa makanan favorit kamu'. 
-----------------------
17-09-2025 18:32:28.42583[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 18:32:28.42584[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 18:32:28.42585[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:28.42633[4][4] - Elapsed time: 0.476 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 18:32:28.42635[2][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 18:32:28.42636[3][4] - Elapsed time: 0.014 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:28.42668[2][4] - Elapsed time: 0.316 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 18:32:28.42670[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 18:32:28.42686[3][4] - Elapsed time: 0.166 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:28.42705[2][4] - Elapsed time: 0.183 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 18:32:28.42706[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Apa. 
-----------------------
17-09-2025 18:32:28.42707[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 18:32:28.42729[2][4] - Elapsed time: 0.215 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:32:28.42730[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on makanan. 
-----------------------
17-09-2025 18:32:28.42731[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:32:28.42731[2][4] - Elapsed time: 0.007 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on favorit. 
-----------------------
17-09-2025 18:32:28.42732[2][4] - Elapsed time: 0.008 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:32:28.42734[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
17-09-2025 18:32:28.42735[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:32:28.42737[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42737[2][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA MAKANAN FAVORIT KAMU
Convo id: mkq4c4r1884vegi01hm1pbnt70
Bot id: 1
Format:  
-----------------------
17-09-2025 18:32:28.42738[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 18:32:28.42738[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 18:32:28.42739[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:28.42762[1][4] - Elapsed time: 0.232 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => apa minuman favorit kamu
    [1] => Apa warna favorit kamu
    [2] => sudah cukup
    [3] => Siapa nama saya
    [4] => Nama saya Theo
    [5] => Aku suka nasi goreng
    [6] => Aku suka nasi goreng
    [7] => kamu suka ngapain aja
    [8] => Hello
    [9] => Hello
)
 
-----------------------
17-09-2025 18:32:28.42763[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 18:32:28.42764[1][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Aku suka es teh manis.
    [1] => Warna favoritku biru.
    [2] => Maaf, tidak ada jawaban.
    [3] => Tentu aku tahu, nama kamu Theo. Benar kan?
    [4] => Oke, aku akan ingat namamu. Halo Theo !
    [5] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [6] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [7] => Hobiku membaca, main game, dan coding.
    [8] => Hii!! Apa kabar kamu??
    [9] => Hai, ada yang bisa aku bantu?
)
 
-----------------------
17-09-2025 18:32:28.42766[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:28.42766[2][4] - Elapsed time: 0.006 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:28.42767[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:28.42768[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:32:28.42768[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:28.42769[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:32:28.42770[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:28.42770[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:28.42771[2][4] - Elapsed time: 0.005 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:28.42771[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 18:32:28.42773[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:28.42773[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:32:28.42774[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:28.42774[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:28.42775[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:28.42776[2][4] - Elapsed time: 0.004 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:28.42776[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:28.42777[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:28.42777[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:28.42778[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:28.42778[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:28.42778[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:28.42779[2][4] - Elapsed time: 0.005 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:28.42780[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:28.42780[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:28.42781[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:28.42781[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:28.42782[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:28.42782[2][4] - Elapsed time: 0.004 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:28.42782[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:28.42783[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:32:28.42783[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:28.42784[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:28.42784[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:28.42785[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:28.42785[2][4] - Elapsed time: 0.005 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:28.42786[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:28.42786[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:28.42787[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:28.42787[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:28.42788[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:28.42788[2][4] - Elapsed time: 0.005 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:28.42789[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:28.42789[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:28.42790[4][4] - Elapsed time: 0.005 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:28.42790[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:28.42792[4][4] - Elapsed time: 0.022 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:28.42793[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:28.42793[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:28.42794[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:28.42794[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:28.42795[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:28.42795[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:28.42796[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:28.42796[2][4] - Elapsed time: 0.005 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:28.42797[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:28.42797[4][4] - Elapsed time: 0.004 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:28.42797[4][4] - Elapsed time: 0.005 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:28.42798[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:28.42798[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:28.42799[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:28.42799[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:28.42800[4][4] - Elapsed time: 0.005 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:28.42800[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:28.42801[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:28.42801[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:28.42802[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:28.42802[2][4] - Elapsed time: 0.004 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:28.42803[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:28.42803[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:28.42803[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke aku akan ingat namamu Halo Theo ' 
-----------------------
17-09-2025 18:32:28.42804[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:28.42804[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:28.42805[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:28.42805[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:28.42806[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:28.42806[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:32:28.42807[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:28.42807[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:28.42808[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:28.42808[2][4] - Elapsed time: 0.005 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:28.42810[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:32:28.42811[4][4] - Elapsed time: 0.012 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:28.42831[4][4] - Elapsed time: 0.197 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:28.42831[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu aku tahu nama kamu Theo Benar kan ' 
-----------------------
17-09-2025 18:32:28.42832[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:28.42833[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:28.42833[2][4] - Elapsed time: 0.005 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:28.42834[4][4] - Elapsed time: 0.010 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:28.42835[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:28.42835[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:28.42836[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:32:28.42836[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:28.42837[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 18:32:28.42838[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:28.42838[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:28.42839[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:28.42839[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:32:28.42840[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:28.42840[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:28.42840[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:28.42841[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:32:28.42841[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:28.42842[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:28.42842[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:28.42843[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:28.42843[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Warna favoritku biru
    [1] => 
)

 
-----------------------
17-09-2025 18:32:28.42844[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:28.42844[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:32:28.42845[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:28.42845[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:32:28.42846[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:28.42846[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:28.42846[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:28.42847[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:28.42847[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:28.42848[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:28.42848[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:32:28.42849[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:28.42849[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka es teh manis
    [1] => 
)

 
-----------------------
17-09-2025 18:32:28.42849[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:28.42850[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka es teh manis ' 
-----------------------
17-09-2025 18:32:28.42850[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka es teh manis ' 
-----------------------
17-09-2025 18:32:28.42851[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka es teh manis ' 
-----------------------
17-09-2025 18:32:28.42851[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:32:28.42852[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:28.42852[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] array 
-----------------------
17-09-2025 18:32:28.42853[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:32:28.42853[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:32:28.42853[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:32:28.42854[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:28.42854[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:28.42855[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:28.42856[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:32:28.42856[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:28.42857[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:32:28.42857[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:32:28.42858[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:32:28.42858[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:32:28.42858[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:32:28.42859[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:28.42859[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 18:32:28.42860[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:28.42861[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:32:28.42861[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:28.42861[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:32:28.42862[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:32:28.42862[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:32:28.42863[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:32:28.42863[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:32:28.42864[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:28.42864[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:28.42865[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:28.42865[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:28.42865[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:28.42866[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:32:28.42866[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:28.42867[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:32:28.42867[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:32:28.42868[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:28.42868[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:28.42869[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:28.42869[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:28.42869[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:28.42870[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:28.42870[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:28.42871[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:28.42871[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:28.42871[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:28.42872[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:28.42873[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:28.42873[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:28.42873[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:28.42874[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:28.42874[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:28.42875[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:28.42875[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:28.42875[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:28.42876[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:28.42876[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Theo
)

 
-----------------------
17-09-2025 18:32:28.42877[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:28.42877[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:28.42878[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Theo' 
-----------------------
17-09-2025 18:32:28.42878[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Theo' 
-----------------------
17-09-2025 18:32:28.42879[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:32:28.42879[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:32:28.42879[2][4] - Elapsed time: 0.004 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:28.42880[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:28.42880[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 18:32:28.42881[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:28.42881[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Siapa nama saya' 
-----------------------
17-09-2025 18:32:28.42882[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa nama saya' 
-----------------------
17-09-2025 18:32:28.42882[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 18:32:28.42882[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:32:28.42883[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:32:28.42883[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:28.42884[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:28.42884[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:28.42885[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:28.42885[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'sudah cukup' 
-----------------------
17-09-2025 18:32:28.42885[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'sudah cukup' 
-----------------------
17-09-2025 18:32:28.42886[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'sudah cukup' 
-----------------------
17-09-2025 18:32:28.42886[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SUDAH CUKUP' 
-----------------------
17-09-2025 18:32:28.42887[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SUDAH CUKUP' 
-----------------------
17-09-2025 18:32:28.42887[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:28.42888[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:28.42888[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa warna favorit kamu
)

 
-----------------------
17-09-2025 18:32:28.42888[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:28.42889[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:32:28.42889[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:28.42890[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:32:28.42890[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA WARNA FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42891[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA WARNA FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42891[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:28.42892[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:28.42892[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa minuman favorit kamu
)

 
-----------------------
17-09-2025 18:32:28.42893[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:28.42893[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:32:28.42893[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:32:28.42894[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:28.42894[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42895[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42895[2][4] - Elapsed time: 0.004 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:28.42931[2][4] - Elapsed time: 0.361 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 18:32:28.42933[3][4] - Elapsed time: 0.014 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:28.42954[4][4] - Elapsed time: 0.210 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 18:32:28.42955[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 18:32:28.42955[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 18:32:28.42956[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA MAKANAN FAVORIT KAMU: raw say = Apa makanan favorit kamu 
-----------------------
17-09-2025 18:32:28.42956[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 18:32:28.42957[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA MAKANAN FAVORIT KAMU' to the front of the [user_say] array 
-----------------------
17-09-2025 18:32:28.42958[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 18:32:28.42959[0][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Apa makanan favorit kamu, RAW say = Apa makanan favorit kamu 
-----------------------
17-09-2025 18:32:28.42959[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Apa makanan favorit kamu' to the front of the [input] array 
-----------------------
17-09-2025 18:32:28.42960[4][4] - Elapsed time: 0.007 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 18:32:28.42960[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42961[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.42962[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:28.42983[4][4] - Elapsed time: 0.215 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 18:32:28.42985[3][4] - Elapsed time: 0.021 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 MAKANAN FAVORIT KAMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'AKU SUKA ES TEH MANIS' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 18:32:28.43005[2][4] - Elapsed time: 0.193 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 18:32:28.43006[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 18:32:28.43006[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-09-2025 18:32:28.43020[4][4] - Elapsed time: 0.139 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '*' 
-----------------------
17-09-2025 18:32:28.43022[3][4] - Elapsed time: 0.020 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 MAKANAN FAVORIT KAMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'AKU SUKA ES TEH MANIS' 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:28.43046[3][4] - Elapsed time: 0.234 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 18:32:28.43047[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
17-09-2025 18:32:28.43064[1][4] - Elapsed time: 0.167 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = AKU SUKA ES TEH MANIS 
-----------------------
17-09-2025 18:32:28.43066[4][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
17-09-2025 18:32:28.43066[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 MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.43070[4][4] - Elapsed time: 0.033 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 3 relevant rows 
-----------------------
17-09-2025 18:32:28.43070[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 18:32:28.43088[4][4] - Elapsed time: 0.174 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 8
            [bot_id] => 1
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Aku suka nasi goreng.
            [score] => 266
            [current_that] => aku suka es teh manis
            [aiml_id] => 8
            [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

    [1] => Array
        (
            [id] => 50
            [bot_id] => 1
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Aku suka sekali nasi goreng.
            [score] => 266
            [current_that] => aku suka es teh manis
            [aiml_id] => 50
            [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

    [2] => Array
        (
            [id] => 69
            [bot_id] => 1
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Aku suka nasi goreng.
            [score] => 266
            [current_that] => aku suka es teh manis
            [aiml_id] => 69
            [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

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

Array
(
    [0] => Array
        (
            [id] => 50
            [bot_id] => 1
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Aku suka sekali nasi goreng.
            [score] => 266
            [current_that] => aku suka es teh manis
            [aiml_id] => 50
            [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

    [1] => Array
        (
            [id] => 69
            [bot_id] => 1
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Aku suka nasi goreng.
            [score] => 266
            [current_that] => aku suka es teh manis
            [aiml_id] => 69
            [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

    [2] => Array
        (
            [id] => 8
            [bot_id] => 1
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Aku suka nasi goreng.
            [score] => 266
            [current_that] => aku suka es teh manis
            [aiml_id] => 8
            [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
        )

)

 
-----------------------
17-09-2025 18:32:28.43096[4][4] - Elapsed time: 0.069 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 8
    [bot_id] => 1
    [pattern] => APA MAKANAN FAVORIT KAMU
    [thatpattern] => 
    [topic] => 
    [filename] => admin_added.aiml.txt
    [template] => Aku suka nasi goreng.
    [score] => 266
    [current_that] => aku suka es teh manis
    [aiml_id] => 8
    [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
)
 
-----------------------
17-09-2025 18:32:28.43097[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:28.43098[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:8 (APA MAKANAN FAVORIT KAMU) 
-----------------------
17-09-2025 18:32:28.43098[3][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-09-2025 18:32:28.43099[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:32:28.43099[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 18:32:28.43100[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 18:32:28.43101[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 8
    [category_id] => 8
    [html_template] => 
    [lookingfor] => APA MAKANAN FAVORIT KAMU
    [pattern] => APA MAKANAN FAVORIT KAMU
    [score] => 266
    [stars] => Array
        (
        )

    [template] => Aku suka nasi goreng.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Apa makanan favorit kamu
)
 
-----------------------
17-09-2025 18:32:28.43102[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:28.43103[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
17-09-2025 18:32:28.43104[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Aku suka nasi goreng.</text></template> 
-----------------------
17-09-2025 18:32:28.43119[2][4] - Elapsed time: 0.157 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:32:28.43121[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Aku suka nasi goreng.</text></template>
 
-----------------------
17-09-2025 18:32:28.43122[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:28.43122[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:32:28.43123[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 nasi goreng.</text> 
-----------------------
17-09-2025 18:32:28.43124[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:28.43124[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:28.43125[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:28.43125[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Aku suka nasi goreng.' to the response array. tag name is text 
-----------------------
17-09-2025 18:32:28.43126[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:32:28.43126[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:28.43126[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:28.43127[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng.' 
-----------------------
17-09-2025 18:32:28.43127[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Aku suka nasi goreng.' to the response array. tag name is template. 
-----------------------
17-09-2025 18:32:28.43128[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:28.43128[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:28.43129[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:28.43129[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:28.43130[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Aku suka nasi goreng. 
-----------------------
17-09-2025 18:32:28.43130[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 18:32:28.43131[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
17-09-2025 18:32:28.43131[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 [that_raw] array 
-----------------------
17-09-2025 18:32:28.43132[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 18:32:28.43134[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka nasi goreng.' to the front of the [that] array 
-----------------------
17-09-2025 18:32:28.43134[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka nasi goreng.' 
-----------------------
17-09-2025 18:32:28.43135[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:28.43136[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:32:28.43136[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:28.43137[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka nasi goreng.' to the front of the [parsed_template] array 
-----------------------
17-09-2025 18:32:28.43137[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:28.43138[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Aku suka nasi goreng.' to the front of the [template] array 
-----------------------
17-09-2025 18:32:28.43139[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 18:32:28.43140[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 18:32:28.43140[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 makanan favorit kamu',
      'Aku suka nasi goreng.',
      6,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-09-2025 18:32:28.43272[4][4] - Elapsed time: 1.314 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 18:32:28.43290[3][4] - Elapsed time: 0.185 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:28.43305[2][4] - Elapsed time: 0.144 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 18:32:28.43306[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 18:32:28.43306[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 18:32:28.43308[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"Apa makanan favorit kamu","botsay":"Aku suka nasi goreng.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Apa makanan 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":"8","bot_id":"1","pattern":"APA MAKANAN FAVORIT KAMU","thatpattern":"","topic":"","filename":"admin_added.aiml.txt","template":"Aku suka nasi goreng.","score":266,"current_that":"aku suka es teh manis","aiml_id":"8","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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)"}}} 
-----------------------
17-09-2025 18:32:28.43319[2][4] - Elapsed time: 0.113 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 18:32:28.43321[0][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 17.397 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Apa makanan 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 makanan 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] => 8
                    [bot_id] => 1
                    [pattern] => APA MAKANAN FAVORIT KAMU
                    [thatpattern] => 
                    [topic] => 
                    [filename] => admin_added.aiml.txt
                    [template] => Aku suka nasi goreng.
                    [score] => 266
                    [current_that] => aku suka es teh manis
                    [aiml_id] => 8
                    [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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Apa makanan favorit kamu
            [lookingfor] => APA MAKANAN FAVORIT KAMU
            [category_id] => 8
            [pattern] => APA MAKANAN FAVORIT KAMU
            [thatpattern] => 
            [template] => Aku suka nasi goreng.
            [html_template] => 
            [topic] => 
            [score] => 266
            [aiml_id] => 8
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Aku suka nasi goreng.
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Aku suka es teh manis
                    [1] => 
                )

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

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

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

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

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

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

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

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

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

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => AKU SUKA NASI GORENG
                )

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

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

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

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

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

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

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

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

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

            [12] => 
        )

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

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Aku suka nasi goreng.
                )

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

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

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

    [send_to_user] => {"convo_id":"","usersay":"Apa makanan favorit kamu","botsay":"Aku suka nasi goreng.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Apa makanan 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":"8","bot_id":"1","pattern":"APA MAKANAN FAVORIT KAMU","thatpattern":"","topic":"","filename":"admin_added.aiml.txt","template":"Aku suka nasi goreng.","score":266,"current_that":"aku suka es teh manis","aiml_id":"8","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: makanan (2 points), direct word match: favorit (2 points), direct word match: kamu (2 points)"}}}
)

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