17-09-2025 18:29:30.35191[0][4] - Elapsed time: 14.601 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:29:30.35514[4][4] - Elapsed time: 3.227 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 18:29:30.35631[4][4] - Elapsed time: 1.178 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 18:29:30.35655[4][4] - Elapsed time: 0.231 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 18:29:30.35750[4][4] - Elapsed time: 0.953 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 18:29:30.35751[4][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 18:29:30.35780[1][4] - Elapsed time: 0.287 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:29:30.35818[0][4] - Elapsed time: 0.379 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = t4d152j4baacagmca56s2f9fm3 
-----------------------
17-09-2025 18:29:30.35819[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Siapa nama saya'. 
-----------------------
17-09-2025 18:29:30.35820[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 18:29:30.35821[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 18:29:30.35821[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:29:30.35847[4][4] - Elapsed time: 0.252 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 18:29:30.35848[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 18:29:30.35849[3][4] - Elapsed time: 0.009 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:29:30.35866[2][4] - Elapsed time: 0.166 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 18:29:30.35867[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 18:29:30.35884[3][4] - Elapsed time: 0.173 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:29:30.35898[2][4] - Elapsed time: 0.133 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 18:29:30.35899[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Siapa. 
-----------------------
17-09-2025 18:29:30.35900[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 18:29:30.35924[2][4] - Elapsed time: 0.240 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:29:30.35925[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
17-09-2025 18:29:30.35926[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 18:29:30.35927[2][4] - Elapsed time: 0.007 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
17-09-2025 18:29:30.35928[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 18:29:30.35929[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:29:30.35930[2][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SIAPA NAMA SAYA
Convo id: t4d152j4baacagmca56s2f9fm3
Bot id: 1
Format:  
-----------------------
17-09-2025 18:29:30.35930[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 18:29:30.35931[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 18:29:30.35932[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:29:30.35960[1][4] - Elapsed time: 0.278 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Nama saya Theo
    [1] => Aku suka nasi goreng
    [2] => Aku suka nasi goreng
    [3] => kamu suka ngapain aja
    [4] => Hello
    [5] => Hello
    [6] => Hello
    [7] => Hello
    [8] => Apakah kamu anak pertama
    [9] => siapa saudara kamu
)
 
-----------------------
17-09-2025 18:29:30.35960[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 18:29:30.35961[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Oke, aku akan ingat namamu. Halo Theo !
    [1] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [2] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [3] => Hobiku membaca, main game, dan coding.
    [4] => Hii!! Apa kabar kamu??
    [5] => Hai, ada yang bisa aku bantu?
    [6] => Hii!! Apa kabar kamu??
    [7] => Hii!! Apa kabar kamu??
    [8] => Tidak, aku anak kedua.
    [9] => Saudaraku bernama Rina dan Andi.
)
 
-----------------------
17-09-2025 18:29:30.35963[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:29:30.35964[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saudaraku bernama Rina dan Andi
    [1] => 
)

 
-----------------------
17-09-2025 18:29:30.35964[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 18:29:30.35965[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saudaraku bernama Rina dan Andi ' 
-----------------------
17-09-2025 18:29:30.35965[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saudaraku bernama Rina dan Andi ' 
-----------------------
17-09-2025 18:29:30.35966[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saudaraku bernama Rina dan Andi ' 
-----------------------
17-09-2025 18:29:30.35967[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 18:29:30.35967[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 18:29:30.35968[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAUDARAKU BERNAMA RINA DAN ANDI' to the front of the [that] array 
-----------------------
17-09-2025 18:29:30.35968[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 18:29:30.35970[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 18:29:30.35970[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 18:29:30.35971[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 18:29:30.35971[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 18:29:30.35972[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:29:30.35972[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tidak
    [1] =>  aku anak kedua
    [2] => 
)

 
-----------------------
17-09-2025 18:29:30.35973[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:29:30.35973[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tidak aku anak kedua ' 
-----------------------
17-09-2025 18:29:30.35974[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tidak aku anak kedua ' 
-----------------------
17-09-2025 18:29:30.35974[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tidak aku anak kedua ' 
-----------------------
17-09-2025 18:29:30.35975[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 18:29:30.35975[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 18:29:30.35976[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TIDAK AKU ANAK KEDUA' to the front of the [that] array 
-----------------------
17-09-2025 18:29:30.35976[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 18:29:30.35977[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 18:29:30.35977[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 18:29:30.35978[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 18:29:30.35978[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:29:30.35979[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu
    [3] => 
    [4] => 
)

 
-----------------------
17-09-2025 18:29:30.35979[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:29:30.35980[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:29:30.35980[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:29:30.35980[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:29:30.35981[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35981[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35982[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:29:30.35982[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:29:30.35983[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35983[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35984[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35984[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:29:30.35985[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:29:30.35985[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:29:30.35985[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:29:30.35986[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:29:30.35986[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:29:30.35987[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35987[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35988[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [that] array 
-----------------------
17-09-2025 18:29:30.35988[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:29:30.35988[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35989[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35989[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35990[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:29:30.35990[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai
    [1] =>  ada yang bisa aku bantu
    [2] => 
)

 
-----------------------
17-09-2025 18:29:30.35991[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:29:30.35991[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:29:30.35992[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:29:30.35992[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 18:29:30.35993[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:29:30.35993[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:29:30.35993[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
17-09-2025 18:29:30.35994[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:29:30.35994[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:29:30.35995[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:29:30.35995[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:29:30.35996[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:29:30.35996[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu
    [3] => 
    [4] => 
)

 
-----------------------
17-09-2025 18:29:30.35997[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:29:30.35997[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:29:30.35998[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:29:30.35998[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 18:29:30.35998[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35999[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.35999[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [that] array 
-----------------------
17-09-2025 18:29:30.36000[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:29:30.36000[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.36001[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.36001[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 18:29:30.36001[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:29:30.36002[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hobiku membaca
    [1] =>  main game
    [2] =>  dan coding
    [3] => 
)

 
-----------------------
17-09-2025 18:29:30.36002[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:29:30.36003[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:29:30.36003[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:29:30.36004[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:29:30.36004[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:29:30.36005[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:29:30.36005[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HOBIKU MEMBACA MAIN GAME DAN CODING' to the front of the [that] array 
-----------------------
17-09-2025 18:29:30.36006[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:29:30.36006[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:29:30.36007[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:29:30.36007[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:29:30.36007[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:29:30.36008[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:29:30.36008[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:29:30.36009[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:29:30.36009[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:29:30.36010[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:29:30.36010[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:29:30.36011[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:29:30.36011[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:29:30.36012[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:29:30.36012[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:29:30.36013[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:29:30.36013[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:29:30.36014[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:29:30.36014[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah
    [1] =>  keren
    [2] =>  Kenapa kamu bisa suka nasi goreng
    [3] => 
)

 
-----------------------
17-09-2025 18:29:30.36014[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:29:30.36015[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:29:30.36015[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:29:30.36016[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:29:30.36016[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:29:30.36017[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:29:30.36017[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:29:30.36017[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:29:30.36018[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:29:30.36018[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:29:30.36019[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:29:30.36019[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:29:30.36020[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:29:30.36020[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:29:30.36021[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:29:30.36021[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:29:30.36021[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:29:30.36022[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:29:30.36022[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:29:30.36023[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:29:30.36023[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 
-----------------------
17-09-2025 18:29:30.36024[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:29:30.36024[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:29:30.36025[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:29:30.36025[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
17-09-2025 18:29:30.36026[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:29:30.36026[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa saudara kamu
)

 
-----------------------
17-09-2025 18:29:30.36027[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:29:30.36027[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa saudara kamu' 
-----------------------
17-09-2025 18:29:30.36028[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa saudara kamu' 
-----------------------
17-09-2025 18:29:30.36028[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa saudara kamu' 
-----------------------
17-09-2025 18:29:30.36029[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA SAUDARA KAMU' 
-----------------------
17-09-2025 18:29:30.36029[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA SAUDARA KAMU' 
-----------------------
17-09-2025 18:29:30.36029[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA SAUDARA KAMU' to the front of the [input] array 
-----------------------
17-09-2025 18:29:30.36030[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 18:29:30.36031[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:29:30.36031[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apakah kamu anak pertama
)

 
-----------------------
17-09-2025 18:29:30.36031[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:29:30.36032[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apakah kamu anak pertama' 
-----------------------
17-09-2025 18:29:30.36032[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apakah kamu anak pertama' 
-----------------------
17-09-2025 18:29:30.36033[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apakah kamu anak pertama' 
-----------------------
17-09-2025 18:29:30.36033[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 18:29:30.36034[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 18:29:30.36034[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APAKAH KAMU ANAK PERTAMA' to the front of the [input] array 
-----------------------
17-09-2025 18:29:30.36035[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:29:30.36035[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

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

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

 
-----------------------
17-09-2025 18:29:30.36043[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:29:30.36044[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:29:30.36044[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:29:30.36045[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:29:30.36045[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:29:30.36045[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:29:30.36046[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:29:30.36046[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:29:30.36047[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:29:30.36047[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:29:30.36048[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:29:30.36048[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:29:30.36048[4][4] - Elapsed time: 0.003 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:29:30.36049[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:29:30.36049[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:29:30.36050[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:29:30.36050[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:29:30.36051[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:29:30.36051[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:29:30.36051[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:29:30.36052[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:29:30.36052[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:29:30.36053[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:29:30.36053[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:29:30.36053[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:29:30.36054[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:29:30.36054[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:29:30.36055[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:29:30.36055[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:29:30.36056[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:29:30.36056[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:29:30.36057[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:29:30.36057[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:29:30.36057[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:29:30.36058[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:29:30.36058[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
)

 
-----------------------
17-09-2025 18:29:30.36059[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:29:30.36059[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:29:30.36060[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:29:30.36060[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:29:30.36061[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:29:30.36061[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:29:30.36061[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:29:30.36062[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:29:30.36062[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:29:30.36063[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:29:30.36063[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:29:30.36064[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:29:30.36064[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Theo' 
-----------------------
17-09-2025 18:29:30.36065[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:29:30.36065[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:29:30.36065[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:29:30.36090[2][4] - Elapsed time: 0.247 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 18:29:30.36091[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
17-09-2025 18:29:30.36119[4][4] - Elapsed time: 0.275 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 18:29:30.36120[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 18:29:30.36120[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 18:29:30.36121[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SIAPA NAMA SAYA: raw say = Siapa nama saya 
-----------------------
17-09-2025 18:29:30.36121[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 18:29:30.36122[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [user_say] array 
-----------------------
17-09-2025 18:29:30.36123[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 18:29:30.36123[0][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Siapa nama saya, RAW say = Siapa nama saya 
-----------------------
17-09-2025 18:29:30.36124[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:29:30.36125[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 18:29:30.36125[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:29:30.36126[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:29:30.36127[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:29:30.36141[4][4] - Elapsed time: 0.147 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 18:29:30.36143[3][4] - Elapsed time: 0.015 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 (
        'SIAPA NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'OKE AKU AKAN INGAT NAMAMU HALO THEO' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 18:29:30.36156[2][4] - Elapsed time: 0.134 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 18:29:30.36158[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 18:29:30.36158[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:29:30.36186[4][4] - Elapsed time: 0.275 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '*' 
-----------------------
17-09-2025 18:29:30.36188[3][4] - Elapsed time: 0.021 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 (
        'SIAPA NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'OKE AKU AKAN INGAT NAMAMU HALO THEO' 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:29:30.36210[3][4] - Elapsed time: 0.224 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 18:29:30.36211[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
17-09-2025 18:29:30.36226[1][4] - Elapsed time: 0.144 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = OKE AKU AKAN INGAT NAMAMU HALO THEO 
-----------------------
17-09-2025 18:29:30.36227[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
17-09-2025 18:29:30.36228[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 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:29:30.36230[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
17-09-2025 18:29:30.36230[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 18:29:30.36245[4][4] - Elapsed time: 0.145 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 61
            [bot_id] => 1
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
            [score] => 264
            [current_that] => oke aku akan ingat namamu halo theo
            [aiml_id] => 61
            [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: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

)
 
-----------------------
17-09-2025 18:29:30.36246[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 61
            [bot_id] => 1
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
            [score] => 264
            [current_that] => oke aku akan ingat namamu halo theo
            [aiml_id] => 61
            [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: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

)

 
-----------------------
17-09-2025 18:29:30.36251[4][4] - Elapsed time: 0.051 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 61
    [bot_id] => 1
    [pattern] => SIAPA NAMA SAYA
    [thatpattern] => 
    [topic] => 
    [filename] => Syifaa.admin_added.aiml.txt
    [template] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
    [score] => 264
    [current_that] => oke aku akan ingat namamu halo theo
    [aiml_id] => 61
    [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: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
)
 
-----------------------
17-09-2025 18:29:30.36252[2][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
17-09-2025 18:29:30.36253[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:61 (SIAPA NAMA SAYA) 
-----------------------
17-09-2025 18:29:30.36253[3][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-09-2025 18:29:30.36254[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:29:30.36254[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 18:29:30.36255[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 18:29:30.36256[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 61
    [category_id] => 61
    [html_template] => 
    [lookingfor] => SIAPA NAMA SAYA
    [pattern] => SIAPA NAMA SAYA
    [score] => 264
    [stars] => Array
        (
        )

    [template] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Siapa nama saya
)
 
-----------------------
17-09-2025 18:29:30.36257[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
17-09-2025 18:29:30.36257[2][4] - Elapsed time: 0.005 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:29:30.36258[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Tentu aku tahu, nama kamu </text><get name="namauser"/><text>. Benar kan?</text></template> 
-----------------------
17-09-2025 18:29:30.36261[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:29:30.36263[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Tentu aku tahu, nama kamu </text><get name="namauser"/><text>. Benar kan?</text></template>
 
-----------------------
17-09-2025 18:29:30.36264[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 18:29:30.36265[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:29:30.36266[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Tentu aku tahu, nama kamu </text> 
-----------------------
17-09-2025 18:29:30.36267[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:29:30.36267[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:29:30.36268[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 18:29:30.36268[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Tentu aku tahu, nama kamu ' to the response array. tag name is text 
-----------------------
17-09-2025 18:29:30.36269[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:29:30.36269[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu aku tahu, nama kamu 
)

 
-----------------------
17-09-2025 18:29:30.36270[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:29:30.36270[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu aku tahu, nama kamu ' 
-----------------------
17-09-2025 18:29:30.36271[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Tentu aku tahu, nama kamu ' to the response array. tag name is template. 
-----------------------
17-09-2025 18:29:30.36271[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:29:30.36272[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 1. element XML = <get name="namauser"/> 
-----------------------
17-09-2025 18:29:30.36272[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
17-09-2025 18:29:30.36273[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
17-09-2025 18:29:30.36273[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => ::1
    [name] => Seeker
    [namauser] => Theo
    [topic] => *
)
 
-----------------------
17-09-2025 18:29:30.36274[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
17-09-2025 18:29:30.36275[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => ::1
    [name] => Seeker
    [namauser] => Theo
    [topic] => *
)
 
-----------------------
17-09-2025 18:29:30.36275[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Theo' to the response array. tag name is get 
-----------------------
17-09-2025 18:29:30.36276[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:29:30.36276[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Theo
)

 
-----------------------
17-09-2025 18:29:30.36276[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:29:30.36277[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Theo' 
-----------------------
17-09-2025 18:29:30.36277[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Theo' to the response array. tag name is template. 
-----------------------
17-09-2025 18:29:30.36278[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:29:30.36278[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>. Benar kan?</text> 
-----------------------
17-09-2025 18:29:30.36279[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:29:30.36279[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
17-09-2025 18:29:30.36280[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 18:29:30.36280[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '. Benar kan?' to the response array. tag name is text 
-----------------------
17-09-2025 18:29:30.36281[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:29:30.36281[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => . Benar kan?
)

 
-----------------------
17-09-2025 18:29:30.36281[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:29:30.36282[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '. Benar kan?' 
-----------------------
17-09-2025 18:29:30.36282[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '. Benar kan?' to the response array. tag name is template. 
-----------------------
17-09-2025 18:29:30.36283[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:29:30.36283[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu aku tahu, nama kamu 
    [1] => Theo
    [2] => . Benar kan?
)

 
-----------------------
17-09-2025 18:29:30.36284[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:29:30.36284[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu aku tahu, nama kamu Theo . Benar kan?' 
-----------------------
17-09-2025 18:29:30.36285[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: Tentu aku tahu, nama kamu Theo. Benar kan? 
-----------------------
17-09-2025 18:29:30.36286[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 18:29:30.36286[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:29:30.36286[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_raw] array 
-----------------------
17-09-2025 18:29:30.36287[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 18:29:30.36289[2][4] - Elapsed time: 0.018 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:29:30.36290[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tentu aku tahu, nama kamu Theo.' 
-----------------------
17-09-2025 18:29:30.36290[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu aku tahu, nama kamu Theo.' 
-----------------------
17-09-2025 18:29:30.36291[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU THEO' 
-----------------------
17-09-2025 18:29:30.36292[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU THEO' 
-----------------------
17-09-2025 18:29:30.36292[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Benar kan?' 
-----------------------
17-09-2025 18:29:30.36293[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Benar kan?' 
-----------------------
17-09-2025 18:29:30.36293[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BENAR KAN' 
-----------------------
17-09-2025 18:29:30.36294[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BENAR KAN' 
-----------------------
17-09-2025 18:29:30.36294[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Tentu aku tahu, nama kamu Theo. Benar kan?' to the front of the [parsed_template] array 
-----------------------
17-09-2025 18:29:30.36295[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 18:29:30.36296[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?' to the front of the [template] array 
-----------------------
17-09-2025 18:29:30.36296[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 18:29:30.36297[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 18:29:30.36298[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 ,
      'Siapa nama saya',
      'Tentu aku tahu, nama kamu Theo. Benar kan?',
      6,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-09-2025 18:29:30.36481[4][4] - Elapsed time: 1.830 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 18:29:30.36496[3][4] - Elapsed time: 0.145 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:29:30.36514[2][4] - Elapsed time: 0.184 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 18:29:30.36515[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 18:29:30.36516[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 18:29:30.36517[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"Siapa nama saya","botsay":"Tentu aku tahu, nama kamu Theo. Benar kan?","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Siapa nama saya","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":"61","bot_id":"1","pattern":"SIAPA NAMA SAYA","thatpattern":"","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"Tentu aku tahu, nama kamu <get name=\"namauser\"\/>. Benar kan?","score":264,"current_that":"oke aku akan ingat namamu halo theo","aiml_id":"61","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: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}} 
-----------------------
17-09-2025 18:29:30.36537[2][4] - Elapsed time: 0.195 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 18:29:30.36540[0][4] - Elapsed time: 0.034 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 28.075 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Siapa nama saya
    [conversation] => Array
        (
            [convo_id] => 
            [bot_name] => Syifa
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 6
            [totallines] => 1
            [rawSay] => Siapa nama saya
            [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] => 61
                    [bot_id] => 1
                    [pattern] => SIAPA NAMA SAYA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => Syifaa.admin_added.aiml.txt
                    [template] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
                    [score] => 264
                    [current_that] => oke aku akan ingat namamu halo theo
                    [aiml_id] => 61
                    [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: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Siapa nama saya
            [lookingfor] => SIAPA NAMA SAYA
            [category_id] => 61
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [template] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
            [html_template] => 
            [topic] => 
            [score] => 264
            [aiml_id] => 61
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Tentu aku tahu, nama kamu Theo. Benar kan?
        )

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

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [0] => Tidak, aku anak kedua
                    [1] => 
                )

            [10] => Array
                (
                    [0] => Saudaraku bernama Rina dan Andi
                    [1] => 
                )

        )

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

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

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

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

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

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

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

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

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

            [10] => Array
                (
                    [1] => TIDAK AKU ANAK KEDUA
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => Siapa nama saya
            [2] => NAMA SAYA THEO
            [3] => AKU SUKA NASI GORENG
            [4] => AKU SUKA NASI GORENG
            [5] => KAMU SUKA NGAPAIN AJA
            [6] => HELLO
            [7] => HELLO
            [8] => HELLO
            [9] => HELLO
            [10] => APAKAH KAMU ANAK PERTAMA
        )

    [time_start] => 1758126570.3373
    [user_say] => Array
        (
            [1] => SIAPA NAMA SAYA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

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

    [parsed_template] => Array
        (
            [1] => Tentu aku tahu, nama kamu Theo. Benar kan?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Tentu aku tahu, nama kamu <get name="namauser"/>. Benar kan?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"","usersay":"Siapa nama saya","botsay":"Tentu aku tahu, nama kamu Theo. Benar kan?","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Siapa nama saya","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":"61","bot_id":"1","pattern":"SIAPA NAMA SAYA","thatpattern":"","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"Tentu aku tahu, nama kamu <get name=\"namauser\"\/>. Benar kan?","score":264,"current_that":"oke aku akan ingat namamu halo theo","aiml_id":"61","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: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}}
)

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