17-09-2025 18:38:32.03866[0][4] - Elapsed time: 4.829 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:38:32.04218[4][4] - Elapsed time: 3.527 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 18:38:32.04386[4][4] - Elapsed time: 1.680 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 18:38:32.04424[4][4] - Elapsed time: 0.379 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 18:38:32.04545[4][4] - Elapsed time: 1.210 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 18:38:32.04547[4][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 18:38:32.04580[1][4] - Elapsed time: 0.333 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:38:32.04644[0][4] - Elapsed time: 0.630 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = bhh1u8hd0oqn2gq9t4klmi9kfr 
-----------------------
17-09-2025 18:38:32.04645[4][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'apa minuman favorit kamu'. 
-----------------------
17-09-2025 18:38:32.04646[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 18:38:32.04647[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 18:38:32.04648[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:38:32.04690[4][4] - Elapsed time: 0.419 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 18:38:32.04692[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:38:32.04693[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:38:32.04734[2][4] - Elapsed time: 0.403 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 18:38:32.04735[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 18:38:32.04762[3][4] - Elapsed time: 0.264 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:38:32.04794[2][4] - Elapsed time: 0.319 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 18:38:32.04796[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on apa. 
-----------------------
17-09-2025 18:38:32.04798[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 18:38:32.04828[2][4] - Elapsed time: 0.305 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:38:32.04829[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on minuman. 
-----------------------
17-09-2025 18:38:32.04830[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:38:32.04831[2][4] - Elapsed time: 0.007 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on favorit. 
-----------------------
17-09-2025 18:38:32.04832[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:38:32.04833[2][4] - Elapsed time: 0.007 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
17-09-2025 18:38:32.04834[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:38:32.04836[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:38:32.04836[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA MINUMAN FAVORIT KAMU
Convo id: bhh1u8hd0oqn2gq9t4klmi9kfr
Bot id: 1
Format:  
-----------------------
17-09-2025 18:38:32.04837[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 18:38:32.04837[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 18:38:32.04838[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:38:32.04874[1][4] - Elapsed time: 0.361 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Apa makanan favorit kamu
    [1] => Siapa nama saya
    [2] => Nama saya Theo
    [3] => Siapa nama saya
    [4] => Nama saya Theo
    [5] => Kamu suka ngapain aja
    [6] => Hello
    [7] => Kenapa suka itu
    [8] => Kenapa suka itu
    [9] => Kenapa suka itu
)
 
-----------------------
17-09-2025 18:38:32.04877[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 18:38:32.04879[1][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Aku suka nasi goreng.
    [1] => Tentu aku tahu, nama kamu Theo. Benar kan?
    [2] => Oke, aku akan ingat namamu. Halo Theo !
    [3] => Tentu aku tahu, nama kamu Theo. Benar kan?
    [4] => Oke, aku akan ingat namamu. Halo Theo !
    [5] => Hobiku membaca, main game, dan coding.
    [6] => Hii!! Apa kabar kamu??
    [7] => Karena rasanya enak dan praktis untuk dibuat!
    [8] => Karena rasanya enak dan praktis untuk dibuat!
    [9] => Karena rasanya enak dan praktis untuk dibuat!
)
 
-----------------------
17-09-2025 18:38:32.04882[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:38:32.04882[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Karena rasanya enak dan praktis untuk dibuat
    [1] => 
)

 
-----------------------
17-09-2025 18:38:32.04883[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:38:32.04883[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04884[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04884[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04885[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04886[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04886[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' to the front of the [that] array 
-----------------------
17-09-2025 18:38:32.04887[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 18:38:32.04889[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04890[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04891[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04891[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04892[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:38:32.04892[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Karena rasanya enak dan praktis untuk dibuat
    [1] => 
)

 
-----------------------
17-09-2025 18:38:32.04893[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:38:32.04893[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04894[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04894[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04895[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04895[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04896[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' to the front of the [that] array 
-----------------------
17-09-2025 18:38:32.04896[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04897[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04897[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04898[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04899[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:38:32.04899[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Karena rasanya enak dan praktis untuk dibuat
    [1] => 
)

 
-----------------------
17-09-2025 18:38:32.04900[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:38:32.04900[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04901[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04901[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Karena rasanya enak dan praktis untuk dibuat ' 
-----------------------
17-09-2025 18:38:32.04902[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04902[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04903[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' to the front of the [that] array 
-----------------------
17-09-2025 18:38:32.04903[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04904[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04904[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04905[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
17-09-2025 18:38:32.04905[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:38:32.04906[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:38:32.04906[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:38:32.04906[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:38:32.04907[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:38:32.04907[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:38:32.04908[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:38:32.04908[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:38:32.04909[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:38:32.04909[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:38:32.04910[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:38:32.04910[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:38:32.04911[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:38:32.04911[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:38:32.04911[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:38:32.04912[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:38:32.04912[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:38:32.04913[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:38:32.04913[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:38:32.04914[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:38:32.04914[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:38:32.04915[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:38:32.04915[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:38:32.04916[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:38:32.04916[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:38:32.04917[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:38:32.04917[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:38:32.04918[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:38:32.04918[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:38:32.04919[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:38:32.04919[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:38:32.04919[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:38:32.04920[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:38:32.04920[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:38:32.04921[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:38:32.04921[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:38:32.04922[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:38:32.04922[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:38:32.04923[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:38:32.04923[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:38:32.04924[2][4] - Elapsed time: 0.004 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:38:32.04924[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:38:32.04924[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:38:32.04925[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:38:32.04925[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:38:32.04926[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:38:32.04926[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:38:32.04927[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:38:32.04927[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TENTU AKU TAHU NAMA KAMU THEO BENAR KAN' 
-----------------------
17-09-2025 18:38:32.04928[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:38:32.04928[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:38:32.04928[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:38:32.04929[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:38:32.04930[2][4] - Elapsed time: 0.006 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:38:32.04930[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:38:32.04931[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:38:32.04931[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:38:32.04931[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:38:32.04932[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:38:32.04933[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:38:32.04933[2][4] - Elapsed time: 0.005 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:38:32.04934[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:38:32.04934[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:38:32.04935[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:38:32.04935[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:38:32.04936[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:38:32.04936[2][4] - Elapsed time: 0.004 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:38:32.04937[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:38:32.04937[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:38:32.04938[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:38:32.04938[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:38:32.04939[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:38:32.04939[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:38:32.04939[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:38:32.04940[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:38:32.04941[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:38:32.04941[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:38:32.04941[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:38:32.04942[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:38:32.04942[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
    [1] => 
)

 
-----------------------
17-09-2025 18:38:32.04943[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:38:32.04943[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:38:32.04944[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:38:32.04944[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 18:38:32.04945[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:38:32.04945[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:38:32.04945[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] array 
-----------------------
17-09-2025 18:38:32.04946[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:38:32.04947[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:38:32.04947[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:38:32.04947[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:38:32.04948[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:38:32.04949[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:38:32.04949[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kenapa suka itu
)

 
-----------------------
17-09-2025 18:38:32.04950[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:38:32.04950[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04951[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04951[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04952[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENAPA SUKA ITU' 
-----------------------
17-09-2025 18:38:32.04952[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KENAPA SUKA ITU' 
-----------------------
17-09-2025 18:38:32.04952[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENAPA SUKA ITU' to the front of the [input] array 
-----------------------
17-09-2025 18:38:32.04953[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 18:38:32.04954[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:38:32.04954[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kenapa suka itu
)

 
-----------------------
17-09-2025 18:38:32.04955[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:38:32.04955[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04956[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04956[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04956[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENAPA SUKA ITU' 
-----------------------
17-09-2025 18:38:32.04957[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KENAPA SUKA ITU' 
-----------------------
17-09-2025 18:38:32.04957[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENAPA SUKA ITU' to the front of the [input] array 
-----------------------
17-09-2025 18:38:32.04958[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:38:32.04958[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kenapa suka itu
)

 
-----------------------
17-09-2025 18:38:32.04959[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:38:32.04959[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04960[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04960[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kenapa suka itu' 
-----------------------
17-09-2025 18:38:32.04960[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENAPA SUKA ITU' 
-----------------------
17-09-2025 18:38:32.04961[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KENAPA SUKA ITU' 
-----------------------
17-09-2025 18:38:32.04961[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENAPA SUKA ITU' to the front of the [input] array 
-----------------------
17-09-2025 18:38:32.04962[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:38:32.04962[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:38:32.04963[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:38:32.04963[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:38:32.04964[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:38:32.04964[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:38:32.04964[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:38:32.04965[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:38:32.04965[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:38:32.04966[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:38:32.04966[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kamu suka ngapain aja
)

 
-----------------------
17-09-2025 18:38:32.04967[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:38:32.04967[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:38:32.04968[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:38:32.04968[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kamu suka ngapain aja' 
-----------------------
17-09-2025 18:38:32.04969[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:38:32.04969[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:38:32.04970[2][4] - Elapsed time: 0.005 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:38:32.04970[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:38:32.04971[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:38:32.04971[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:38:32.04972[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Theo' 
-----------------------
17-09-2025 18:38:32.04972[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:38:32.04972[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Theo' 
-----------------------
17-09-2025 18:38:32.04973[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:38:32.04973[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:38:32.04974[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:38:32.04975[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:38:32.04975[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 18:38:32.04976[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:38:32.04977[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:38:32.04977[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:38:32.04977[4][4] - Elapsed time: 0.005 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 18:38:32.04978[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:38:32.04978[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:38:32.04979[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [input] array 
-----------------------
17-09-2025 18:38:32.04980[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:38:32.04980[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:38:32.04980[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:38:32.04981[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Theo' 
-----------------------
17-09-2025 18:38:32.04981[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:38:32.04982[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Theo' 
-----------------------
17-09-2025 18:38:32.04982[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:38:32.04983[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:38:32.04983[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:38:32.04984[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:38:32.04984[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 18:38:32.04985[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:38:32.04985[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:38:32.04986[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa nama saya' 
-----------------------
17-09-2025 18:38:32.04986[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 18:38:32.04987[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:38:32.04987[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:38:32.04988[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [input] array 
-----------------------
17-09-2025 18:38:32.04988[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:38:32.04989[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa makanan favorit kamu
)

 
-----------------------
17-09-2025 18:38:32.04989[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:38:32.04990[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:38:32.04990[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:38:32.04991[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:38:32.04991[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:38:32.04992[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:38:32.04992[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:38:32.05026[2][4] - Elapsed time: 0.336 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 18:38:32.05028[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:38:32.05061[4][4] - Elapsed time: 0.325 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 18:38:32.05063[0][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 18:38:32.05063[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 18:38:32.05064[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:38:32.05064[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 18:38:32.05065[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 [user_say] array 
-----------------------
17-09-2025 18:38:32.05066[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 18:38:32.05067[0][4] - Elapsed time: 0.012 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:38:32.05067[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 [input] array 
-----------------------
17-09-2025 18:38:32.05068[4][4] - Elapsed time: 0.007 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 18:38:32.05069[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:38:32.05070[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:38:32.05070[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:38:32.05095[4][4] - Elapsed time: 0.248 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 18:38:32.05097[3][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `Syifa`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = ''
    AND (
        'APA MINUMAN FAVORIT KAMU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'AKU SUKA NASI GORENG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 18:38:32.05120[2][4] - Elapsed time: 0.224 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 18:38:32.05121[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 18:38:32.05122[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-09-2025 18:38:32.05149[4][4] - Elapsed time: 0.273 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '*' 
-----------------------
17-09-2025 18:38:32.05152[3][4] - Elapsed time: 0.022 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 'AKU SUKA NASI GORENG' 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:38:32.05194[3][4] - Elapsed time: 0.428 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 18:38:32.05197[2][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
17-09-2025 18:38:32.05224[1][4] - Elapsed time: 0.270 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = AKU SUKA NASI GORENG 
-----------------------
17-09-2025 18:38:32.05226[4][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
17-09-2025 18:38:32.05227[4][4] - Elapsed time: 0.011 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:38:32.05232[4][4] - Elapsed time: 0.054 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
17-09-2025 18:38:32.05234[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 18:38:32.05261[4][4] - Elapsed time: 0.272 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] => aku suka nasi goreng
            [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] => aku suka nasi goreng
            [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:38:32.05264[2][4] - Elapsed time: 0.028 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] => aku suka nasi goreng
            [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] => aku suka nasi goreng
            [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:38:32.05269[4][4] - Elapsed time: 0.052 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] => aku suka nasi goreng
    [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:38:32.05269[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:38:32.05270[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:38:32.05271[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:38:32.05272[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:38:32.05272[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 18:38:32.05273[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 18:38:32.05274[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:38:32.05275[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:38:32.05275[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:38:32.05276[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:38:32.05279[2][4] - Elapsed time: 0.032 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:38:32.05281[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:38:32.05281[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:38:32.05282[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:38:32.05283[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:38:32.05283[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:38:32.05284[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:38:32.05284[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 18:38:32.05285[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:38:32.05285[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:38:32.05286[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka es teh manis.
)

 
-----------------------
17-09-2025 18:38:32.05286[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:38:32.05287[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka es teh manis.' 
-----------------------
17-09-2025 18:38:32.05287[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:38:32.05288[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:38:32.05288[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:38:32.05289[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:38:32.05289[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:38:32.05290[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 es teh manis. 
-----------------------
17-09-2025 18:38:32.05290[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 18:38:32.05291[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:38:32.05291[2][4] - Elapsed time: 0.005 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:38:32.05292[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 18:38:32.05294[2][4] - Elapsed time: 0.019 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:38:32.05295[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka es teh manis.' 
-----------------------
17-09-2025 18:38:32.05295[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:38:32.05296[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:38:32.05297[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:38:32.05297[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:38:32.05298[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 18:38:32.05299[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:38:32.05299[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 18:38:32.05300[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 18:38:32.05301[3][4] - Elapsed time: 0.010 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:38:32.05519[4][4] - Elapsed time: 2.182 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 18:38:32.05546[3][4] - Elapsed time: 0.269 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:38:32.05575[2][4] - Elapsed time: 0.284 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 18:38:32.05576[4][4] - Elapsed time: 0.015 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 18:38:32.05577[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 18:38:32.05578[4][4] - Elapsed time: 0.014 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":"aku suka nasi goreng","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:38:32.05604[2][4] - Elapsed time: 0.256 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 18:38:32.05606[0][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 22.224 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] => aku suka nasi goreng
                    [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] => Aku suka nasi goreng
                    [1] => 
                )

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

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

            [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] => Hobiku membaca, main game, dan coding
                    [1] => 
                )

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

            [8] => Array
                (
                    [0] => Karena rasanya enak dan praktis untuk dibuat!
                )

            [9] => Array
                (
                    [0] => Karena rasanya enak dan praktis untuk dibuat!
                )

            [10] => Array
                (
                    [0] => Karena rasanya enak dan praktis untuk dibuat!
                )

        )

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [1] => KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT
                )

            [10] => Array
                (
                    [1] => KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => apa minuman favorit kamu
            [2] => APA MAKANAN FAVORIT KAMU
            [3] => SIAPA NAMA SAYA
            [4] => NAMA SAYA THEO
            [5] => SIAPA NAMA SAYA
            [6] => NAMA SAYA THEO
            [7] => KAMU SUKA NGAPAIN AJA
            [8] => HELLO
            [9] => KENAPA SUKA ITU
            [10] => KENAPA SUKA ITU
        )

    [time_start] => 1758127112.0338
    [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":"aku suka nasi goreng","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: 22.224 Milliseconds. Goodbye.