17-09-2025 18:34:44.02490[0][4] - Elapsed time: 14.618 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:34:44.02809[4][4] - Elapsed time: 3.185 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 18:34:44.02934[4][4] - Elapsed time: 1.255 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 18:34:44.02964[4][4] - Elapsed time: 0.295 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 18:34:44.03172[4][4] - Elapsed time: 2.078 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 18:34:44.03174[4][4] - Elapsed time: 0.028 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 18:34:44.03224[1][4] - Elapsed time: 0.496 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:34:44.03265[0][4] - Elapsed time: 0.407 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = prdi17126n8qn6donhs3te5ard 
-----------------------
17-09-2025 18:34:44.03266[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Hello'. 
-----------------------
17-09-2025 18:34:44.03267[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 18:34:44.03268[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 18:34:44.03269[3][4] - Elapsed time: 0.009 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:34:44.03294[4][4] - Elapsed time: 0.259 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 18:34:44.03295[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 18:34:44.03296[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
17-09-2025 18:34:44.03312[2][4] - Elapsed time: 0.163 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 18:34:44.03313[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 18:34:44.03344[3][4] - Elapsed time: 0.308 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:34:44.03367[2][4] - Elapsed time: 0.233 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 18:34:44.03369[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Hello. 
-----------------------
17-09-2025 18:34:44.03371[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 18:34:44.03398[4][4] - Elapsed time: 0.272 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:34:44.03400[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:34:44.03401[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HELLO
Convo id: prdi17126n8qn6donhs3te5ard
Bot id: 1
Format:  
-----------------------
17-09-2025 18:34:44.03401[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 18:34:44.03402[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 18:34:44.03403[3][4] - Elapsed time: 0.007 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:34:44.03428[1][4] - Elapsed time: 0.255 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Hello
    [1] => Apa makanan favorit kamu
    [2] => apa minuman favorit kamu
    [3] => Apa warna favorit kamu
    [4] => sudah cukup
    [5] => Siapa nama saya
    [6] => Nama saya Theo
    [7] => Aku suka nasi goreng
    [8] => Aku suka nasi goreng
    [9] => kamu suka ngapain aja
)
 
-----------------------
17-09-2025 18:34:44.03429[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 18:34:44.03430[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo! Senang bertemu denganmu.
    [1] => Aku suka nasi goreng.
    [2] => Aku suka es teh manis.
    [3] => Warna favoritku biru.
    [4] => Maaf, tidak ada jawaban.
    [5] => Tentu aku tahu, nama kamu Theo. Benar kan?
    [6] => Oke, aku akan ingat namamu. Halo Theo !
    [7] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [8] => Wah, keren! Kenapa kamu bisa suka nasi goreng?
    [9] => Hobiku membaca, main game, dan coding.
)
 
-----------------------
17-09-2025 18:34:44.03432[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 18:34:44.03432[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:34:44.03433[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:34:44.03433[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:34:44.03434[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:34:44.03434[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hobiku membaca main game dan coding ' 
-----------------------
17-09-2025 18:34:44.03435[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:34:44.03436[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:34:44.03436[2][4] - Elapsed time: 0.006 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:34:44.03437[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 18:34:44.03439[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:34:44.03439[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
17-09-2025 18:34:44.03440[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:34:44.03440[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:34:44.03441[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:34:44.03441[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:34:44.03442[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:34:44.03442[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:34:44.03443[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:34:44.03443[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:34:44.03444[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03444[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:34:44.03445[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:34:44.03445[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03446[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:34:44.03446[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:34:44.03447[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:34:44.03447[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:34:44.03448[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:34:44.03448[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:34:44.03450[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:34:44.03450[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah keren Kenapa kamu bisa suka nasi goreng ' 
-----------------------
17-09-2025 18:34:44.03451[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:34:44.03451[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03452[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:34:44.03452[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:34:44.03453[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH KEREN KENAPA KAMU BISA SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03453[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:34:44.03454[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:34:44.03454[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:34:44.03455[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:34:44.03455[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:34:44.03455[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:34:44.03456[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:34:44.03456[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:34:44.03457[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:34:44.03457[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:34:44.03458[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:34:44.03458[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:34:44.03459[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:34:44.03459[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:34:44.03460[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:34:44.03460[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:34:44.03461[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:34:44.03461[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu aku tahu
    [1] =>  nama kamu Theo
    [2] =>  Benar kan
    [3] => 
)

 
-----------------------
17-09-2025 18:34:44.03461[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:34:44.03462[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:34:44.03462[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:34:44.03463[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:34:44.03463[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:34:44.03464[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:34:44.03464[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:34:44.03465[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:34:44.03465[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:34:44.03466[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:34:44.03466[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:34:44.03467[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:34:44.03467[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 18:34:44.03467[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:34:44.03468[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:34:44.03468[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:34:44.03469[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 18:34:44.03469[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:34:44.03470[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:34:44.03470[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
17-09-2025 18:34:44.03471[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:34:44.03471[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:34:44.03471[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:34:44.03472[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 18:34:44.03472[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:34:44.03473[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Warna favoritku biru
    [1] => 
)

 
-----------------------
17-09-2025 18:34:44.03473[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:34:44.03474[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:34:44.03474[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:34:44.03475[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Warna favoritku biru ' 
-----------------------
17-09-2025 18:34:44.03475[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:34:44.03475[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:34:44.03476[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WARNA FAVORITKU BIRU' to the front of the [that] array 
-----------------------
17-09-2025 18:34:44.03476[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:34:44.03477[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:34:44.03477[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:34:44.03478[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WARNA FAVORITKU BIRU' 
-----------------------
17-09-2025 18:34:44.03478[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:34:44.03479[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka es teh manis
    [1] => 
)

 
-----------------------
17-09-2025 18:34:44.03479[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:34:44.03480[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka es teh manis ' 
-----------------------
17-09-2025 18:34:44.03480[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka es teh manis ' 
-----------------------
17-09-2025 18:34:44.03480[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka es teh manis ' 
-----------------------
17-09-2025 18:34:44.03481[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:34:44.03481[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:34:44.03482[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA ES TEH MANIS' to the front of the [that] array 
-----------------------
17-09-2025 18:34:44.03482[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:34:44.03483[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:34:44.03483[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA ES TEH MANIS' 
-----------------------
17-09-2025 18:34:44.03484[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:34:44.03484[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:34:44.03485[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:34:44.03485[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:34:44.03485[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 18:34:44.03486[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:34:44.03486[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 18:34:44.03487[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03487[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03487[2][4] - Elapsed time: 0.003 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:34:44.03488[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03488[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03489[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03489[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03490[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:34:44.03490[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bertemu denganmu
    [2] => 
)

 
-----------------------
17-09-2025 18:34:44.03491[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:34:44.03491[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 18:34:44.03491[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 18:34:44.03492[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 18:34:44.03493[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 18:34:44.03493[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 18:34:44.03494[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BERTEMU DENGANMU' to the front of the [that] array 
-----------------------
17-09-2025 18:34:44.03495[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 18:34:44.03495[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 18:34:44.03495[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 18:34:44.03496[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 18:34:44.03496[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:34:44.03497[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:34:44.03498[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:34:44.03498[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:34:44.03498[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:34:44.03499[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:34:44.03499[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka ngapain aja' 
-----------------------
17-09-2025 18:34:44.03500[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:34:44.03500[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
17-09-2025 18:34:44.03501[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:34:44.03501[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 18:34:44.03502[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:34:44.03502[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:34:44.03502[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:34:44.03503[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:34:44.03503[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:34:44.03504[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:34:44.03504[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03505[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03505[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:34:44.03506[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:34:44.03506[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:34:44.03506[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:34:44.03507[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:34:44.03507[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:34:44.03508[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng' 
-----------------------
17-09-2025 18:34:44.03508[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03509[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 18:34:44.03509[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:34:44.03509[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:34:44.03510[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:34:44.03510[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:34:44.03511[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Theo' 
-----------------------
17-09-2025 18:34:44.03511[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:34:44.03512[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Theo' 
-----------------------
17-09-2025 18:34:44.03512[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:34:44.03513[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA THEO' 
-----------------------
17-09-2025 18:34:44.03513[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:34:44.03513[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:34:44.03514[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 18:34:44.03514[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:34:44.03515[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:34:44.03515[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa nama saya' 
-----------------------
17-09-2025 18:34:44.03516[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 18:34:44.03516[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:34:44.03516[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 18:34:44.03517[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:34:44.03517[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:34:44.03518[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => sudah cukup
)

 
-----------------------
17-09-2025 18:34:44.03518[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:34:44.03519[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'sudah cukup' 
-----------------------
17-09-2025 18:34:44.03519[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'sudah cukup' 
-----------------------
17-09-2025 18:34:44.03519[4][4] - Elapsed time: 0.004 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'sudah cukup' 
-----------------------
17-09-2025 18:34:44.03520[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SUDAH CUKUP' 
-----------------------
17-09-2025 18:34:44.03520[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SUDAH CUKUP' 
-----------------------
17-09-2025 18:34:44.03521[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SUDAH CUKUP' to the front of the [input] array 
-----------------------
17-09-2025 18:34:44.03521[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:34:44.03522[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa warna favorit kamu
)

 
-----------------------
17-09-2025 18:34:44.03522[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:34:44.03522[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:34:44.03523[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:34:44.03523[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa warna favorit kamu' 
-----------------------
17-09-2025 18:34:44.03524[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA WARNA FAVORIT KAMU' 
-----------------------
17-09-2025 18:34:44.03524[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA WARNA FAVORIT KAMU' 
-----------------------
17-09-2025 18:34:44.03525[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA WARNA FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 18:34:44.03525[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:34:44.03525[2][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa minuman favorit kamu
)

 
-----------------------
17-09-2025 18:34:44.03526[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:34:44.03526[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:34:44.03527[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:34:44.03527[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa minuman favorit kamu' 
-----------------------
17-09-2025 18:34:44.03528[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:34:44.03528[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MINUMAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:34:44.03528[2][4] - Elapsed time: 0.003 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:34:44.03529[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:34:44.03529[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa makanan favorit kamu
)

 
-----------------------
17-09-2025 18:34:44.03530[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:34:44.03530[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:34:44.03531[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:34:44.03531[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 18:34:44.03532[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:34:44.03532[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 18:34:44.03532[2][4] - Elapsed time: 0.004 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:34:44.03533[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:34:44.03533[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
17-09-2025 18:34:44.03534[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:34:44.03534[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 18:34:44.03535[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 18:34:44.03535[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 18:34:44.03535[4][4] - Elapsed time: 0.004 milliseconds  
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:34:44.03536[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 18:34:44.03537[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:34:44.03568[2][4] - Elapsed time: 0.310 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 18:34:44.03569[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
17-09-2025 18:34:44.03589[4][4] - Elapsed time: 0.206 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 18:34:44.03591[0][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 18:34:44.03592[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 18:34:44.03592[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HELLO: raw say = Hello 
-----------------------
17-09-2025 18:34:44.03593[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 18:34:44.03593[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [user_say] array 
-----------------------
17-09-2025 18:34:44.03594[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 18:34:44.03595[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Hello, RAW say = Hello 
-----------------------
17-09-2025 18:34:44.03595[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:34:44.03596[4][4] - Elapsed time: 0.007 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 18:34:44.03597[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HELLO' 
-----------------------
17-09-2025 18:34:44.03597[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 18:34:44.03598[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:34:44.03628[4][4] - Elapsed time: 0.302 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 18:34:44.03629[3][4] - Elapsed time: 0.013 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 (
        'HELLO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SENANG BERTEMU DENGANMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 18:34:44.03648[2][4] - Elapsed time: 0.184 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 18:34:44.03649[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 18:34:44.03650[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:34:44.03681[4][4] - Elapsed time: 0.310 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '*' 
-----------------------
17-09-2025 18:34:44.03683[3][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `Syifa`.`aiml` WHERE
    bot_id = 1 AND (
        'HELLO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SENANG BERTEMU DENGANMU' 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:34:44.03706[3][4] - Elapsed time: 0.227 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 18:34:44.03707[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
17-09-2025 18:34:44.03719[1][4] - Elapsed time: 0.118 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO SENANG BERTEMU DENGANMU 
-----------------------
17-09-2025 18:34:44.03720[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
17-09-2025 18:34:44.03720[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HELLO' 
-----------------------
17-09-2025 18:34:44.03723[4][4] - Elapsed time: 0.026 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 3 relevant rows 
-----------------------
17-09-2025 18:34:44.03723[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 18:34:44.03734[4][4] - Elapsed time: 0.106 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1
            [bot_id] => 1
            [pattern] => HELLO
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml
            [template] => Hii!! Apa kabar kamu ??
            [score] => 260
            [current_that] => halo senang bertemu denganmu
            [aiml_id] => 1
            [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: hello (2 points)
        )

    [1] => Array
        (
            [id] => 2
            [bot_id] => 1
            [pattern] => HELLO
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Hii!! Apa kabar kamu ??
            [score] => 260
            [current_that] => halo senang bertemu denganmu
            [aiml_id] => 2
            [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: hello (2 points)
        )

    [2] => Array
        (
            [id] => 56
            [bot_id] => 1
            [pattern] => HELLO
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => <random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>
            [score] => 260
            [current_that] => halo senang bertemu denganmu
            [aiml_id] => 56
            [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: hello (2 points)
        )

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

Array
(
    [0] => Array
        (
            [id] => 1
            [bot_id] => 1
            [pattern] => HELLO
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml
            [template] => Hii!! Apa kabar kamu ??
            [score] => 260
            [current_that] => halo senang bertemu denganmu
            [aiml_id] => 1
            [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: hello (2 points)
        )

    [1] => Array
        (
            [id] => 2
            [bot_id] => 1
            [pattern] => HELLO
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Hii!! Apa kabar kamu ??
            [score] => 260
            [current_that] => halo senang bertemu denganmu
            [aiml_id] => 2
            [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: hello (2 points)
        )

    [2] => Array
        (
            [id] => 56
            [bot_id] => 1
            [pattern] => HELLO
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => <random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>
            [score] => 260
            [current_that] => halo senang bertemu denganmu
            [aiml_id] => 56
            [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: hello (2 points)
        )

)

 
-----------------------
17-09-2025 18:34:44.03742[4][4] - Elapsed time: 0.063 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 56
    [bot_id] => 1
    [pattern] => HELLO
    [thatpattern] => 
    [topic] => 
    [filename] => Syifaa.admin_added.aiml.txt
    [template] => <random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>
    [score] => 260
    [current_that] => halo senang bertemu denganmu
    [aiml_id] => 56
    [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: hello (2 points)
)
 
-----------------------
17-09-2025 18:34:44.03742[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:34:44.03743[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:56 (HELLO) 
-----------------------
17-09-2025 18:34:44.03744[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:34:44.03744[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HELLO' 
-----------------------
17-09-2025 18:34:44.03745[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 18:34:44.03745[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 18:34:44.03747[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 56
    [category_id] => 56
    [html_template] => 
    [lookingfor] => HELLO
    [pattern] => HELLO
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Hello
)
 
-----------------------
17-09-2025 18:34:44.03747[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:34:44.03748[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
17-09-2025 18:34:44.03749[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Hii!! Apa kabar kamu ??</text></li><li><text>Halo! Senang bertemu denganmu.</text></li><li><text>Hai, ada yang bisa aku bantu?</text></li></random></template> 
-----------------------
17-09-2025 18:34:44.03753[2][4] - Elapsed time: 0.039 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:34:44.03755[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Hii!! Apa kabar kamu ??</text></li><li><text>Halo! Senang bertemu denganmu.</text></li><li><text>Hai, ada yang bisa aku bantu?</text></li></random></template>
 
-----------------------
17-09-2025 18:34:44.03756[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:34:44.03756[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:34:44.03757[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Hii!! Apa kabar kamu ??</text></li><li><text>Halo! Senang bertemu denganmu.</text></li><li><text>Hai, ada yang bisa aku bantu?</text></li></random> 
-----------------------
17-09-2025 18:34:44.03758[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
17-09-2025 18:34:44.03759[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
17-09-2025 18:34:44.03759[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
17-09-2025 18:34:44.03761[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Hii!! Apa kabar kamu ??
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Halo! Senang bertemu denganmu.
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Hai, ada yang bisa aku bantu?
        )

)
 
-----------------------
17-09-2025 18:34:44.03762[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #2 from random tag.
 
-----------------------
17-09-2025 18:34:44.03762[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:34:44.03763[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Hai, ada yang bisa aku bantu?</text></li> 
-----------------------
17-09-2025 18:34:44.03763[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 18:34:44.03764[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 18:34:44.03765[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Hai, ada yang bisa aku bantu?</text> 
-----------------------
17-09-2025 18:34:44.03765[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:34:44.03766[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:34:44.03766[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 18:34:44.03766[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hai, ada yang bisa aku bantu?' to the response array. tag name is text 
-----------------------
17-09-2025 18:34:44.03767[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:34:44.03767[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 18:34:44.03768[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:34:44.03768[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:34:44.03769[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hai, ada yang bisa aku bantu?' to the response array. tag name is li. 
-----------------------
17-09-2025 18:34:44.03769[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:34:44.03770[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 18:34:44.03770[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:34:44.03770[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 18:34:44.03771[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Hai, ada yang bisa aku bantu?' for output. 
-----------------------
17-09-2025 18:34:44.03771[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hai, ada yang bisa aku bantu?' to the response array. tag name is random 
-----------------------
17-09-2025 18:34:44.03772[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:34:44.03772[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 18:34:44.03773[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:34:44.03773[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:34:44.03774[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hai, ada yang bisa aku bantu?' to the response array. tag name is template. 
-----------------------
17-09-2025 18:34:44.03774[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:34:44.03775[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 18:34:44.03775[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:34:44.03776[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:34:44.03776[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hai, ada yang bisa aku bantu? 
-----------------------
17-09-2025 18:34:44.03777[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 18:34:44.03777[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:34:44.03778[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hai, ada yang bisa aku bantu?' to the front of the [that_raw] array 
-----------------------
17-09-2025 18:34:44.03778[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 18:34:44.03780[2][4] - Elapsed time: 0.016 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:34:44.03781[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 18:34:44.03781[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 18:34:44.03782[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 18:34:44.03782[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:34:44.03783[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hai, ada yang bisa aku bantu?' to the front of the [parsed_template] array 
-----------------------
17-09-2025 18:34:44.03784[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 18:34:44.03784[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>' to the front of the [template] array 
-----------------------
17-09-2025 18:34:44.03785[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 18:34:44.03786[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 18:34:44.03787[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `Syifa`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Hello',
      'Hai, ada yang bisa aku bantu?',
      6,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-09-2025 18:34:44.03941[4][4] - Elapsed time: 1.547 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 18:34:44.03959[3][4] - Elapsed time: 0.172 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:34:44.03975[2][4] - Elapsed time: 0.168 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 18:34:44.03976[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 18:34:44.03977[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 18:34:44.03978[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"Hello","botsay":"Hai, ada yang bisa aku bantu?","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Hello","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":"56","bot_id":"1","pattern":"HELLO","thatpattern":"","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"<random>\n        <li>Hii!! Apa kabar kamu ??<\/li>\n        <li>Halo! Senang bertemu denganmu.<\/li>\n        <li>Hai, ada yang bisa aku bantu?<\/li>\n      <\/random>","score":260,"current_that":"halo senang bertemu denganmu","aiml_id":"56","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: hello (2 points)"}}} 
-----------------------
17-09-2025 18:34:44.03992[2][4] - Elapsed time: 0.134 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 18:34:44.03994[0][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 29.644 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Hello
    [conversation] => Array
        (
            [convo_id] => 
            [bot_name] => Syifa
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 6
            [totallines] => 1
            [rawSay] => Hello
            [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] => 56
                    [bot_id] => 1
                    [pattern] => HELLO
                    [thatpattern] => 
                    [topic] => 
                    [filename] => Syifaa.admin_added.aiml.txt
                    [template] => <random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>
                    [score] => 260
                    [current_that] => halo senang bertemu denganmu
                    [aiml_id] => 56
                    [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: hello (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Hello
            [lookingfor] => HELLO
            [category_id] => 56
            [pattern] => HELLO
            [thatpattern] => 
            [template] => <random>
        <li>Hii!! Apa kabar kamu ??</li>
        <li>Halo! Senang bertemu denganmu.</li>
        <li>Hai, ada yang bisa aku bantu?</li>
      </random>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 56
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hai, ada yang bisa aku bantu?
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Halo! Senang bertemu denganmu
                    [1] => 
                )

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

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

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

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

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

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

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

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

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

        )

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

            [2] => Array
                (
                    [1] => HALO SENANG BERTEMU DENGANMU
                )

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

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

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

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

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

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

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

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

            [12] => 
        )

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

    [time_start] => 1758126884.0103
    [user_say] => Array
        (
            [1] => HELLO
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Hai, ada yang bisa aku bantu?
                )

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

    [parsed_template] => Array
        (
            [1] => Hai, ada yang bisa aku bantu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Hii!! Apa kabar kamu ??</li> <li>Halo! Senang bertemu denganmu.</li> <li>Hai, ada yang bisa aku bantu?</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"","usersay":"Hello","botsay":"Hai, ada yang bisa aku bantu?","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Hello","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":"56","bot_id":"1","pattern":"HELLO","thatpattern":"","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"<random>\n        <li>Hii!! Apa kabar kamu ??<\/li>\n        <li>Halo! Senang bertemu denganmu.<\/li>\n        <li>Hai, ada yang bisa aku bantu?<\/li>\n      <\/random>","score":260,"current_that":"halo senang bertemu denganmu","aiml_id":"56","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: hello (2 points)"}}}
)

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