17-09-2025 16:56:17.88602[0][4] - Elapsed time: 4.971 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 16:56:17.89030[4][4] - Elapsed time: 4.272 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 16:56:17.89190[4][4] - Elapsed time: 1.605 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 16:56:17.89215[4][4] - Elapsed time: 0.246 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 16:56:17.89310[4][4] - Elapsed time: 0.949 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 16:56:17.89311[4][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 16:56:17.89340[1][4] - Elapsed time: 0.288 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 16:56:17.89380[0][4] - Elapsed time: 0.405 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = g2u2efu0jjik0u1ddpfvgjjl7d 
-----------------------
17-09-2025 16:56:17.89382[4][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Hello'. 
-----------------------
17-09-2025 16:56:17.89384[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 16:56:17.89386[4][4] - Elapsed time: 0.025 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 16:56:17.89387[3][4] - Elapsed time: 0.013 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 16:56:17.89425[4][4] - Elapsed time: 0.372 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 16:56:17.89426[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 16:56:17.89428[3][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
17-09-2025 16:56:17.89464[2][4] - Elapsed time: 0.362 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 16:56:17.89466[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 16:56:17.89507[3][4] - Elapsed time: 0.408 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 16:56:17.89546[2][4] - Elapsed time: 0.388 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 16:56:17.89549[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Hello. 
-----------------------
17-09-2025 16:56:17.89551[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 16:56:17.89611[4][4] - Elapsed time: 0.603 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 16:56:17.89614[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89614[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HELLO
Convo id: g2u2efu0jjik0u1ddpfvgjjl7d
Bot id: 1
Format:  
-----------------------
17-09-2025 16:56:17.89615[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 16:56:17.89616[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 16:56:17.89617[3][4] - Elapsed time: 0.009 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 16:56:17.89665[1][4] - Elapsed time: 0.481 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Hello
    [1] => hello
    [2] => halo
    [3] => hello
    [4] => hello
    [5] => halo
    [6] => hi
    [7] => hi
    [8] => hi
    [9] => hi
)
 
-----------------------
17-09-2025 16:56:17.89668[4][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 16:56:17.89669[1][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hai, ada yang bisa aku bantu?
    [1] => Halo! Senang bertemu denganmu.
    [2] => Maaf, tidak ada jawaban.
    [3] => Hai, ada yang bisa aku bantu?
    [4] => Halo! Senang bertemu denganmu.
    [5] => Maaf, tidak ada jawaban.
    [6] => Maaf, tidak ada jawaban.
    [7] => Maaf, tidak ada jawaban.
    [8] => Maaf, tidak ada jawaban.
    [9] => Maaf, tidak ada jawaban.
)
 
-----------------------
17-09-2025 16:56:17.89672[2][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89673[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 16:56:17.89674[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89675[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89677[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89678[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89680[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89681[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89682[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
17-09-2025 16:56:17.89683[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 16:56:17.89686[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89687[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89688[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89689[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89691[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 16:56:17.89692[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 16:56:17.89693[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89694[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89695[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89696[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89697[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89698[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89702[2][4] - Elapsed time: 0.040 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
17-09-2025 16:56:17.89704[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89708[4][4] - Elapsed time: 0.042 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89711[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89711[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89713[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89713[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 16:56:17.89714[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 16:56:17.89714[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 16:56:17.89715[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 16:56:17.89715[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89716[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89716[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89716[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 16:56:17.89718[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89718[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89719[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89719[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89720[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 16:56:17.89720[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 16:56:17.89721[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 16:56:17.89721[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 16:56:17.89721[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 16:56:17.89722[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89722[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89723[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89723[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
17-09-2025 16:56:17.89724[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 16:56:17.89724[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89725[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89725[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89726[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 16:56:17.89726[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 16:56:17.89727[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 16:56:17.89727[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 16:56:17.89728[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 16:56:17.89728[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89728[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89729[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89729[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 16:56:17.89730[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 16:56:17.89730[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89731[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89731[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89732[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 16:56:17.89732[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 16:56:17.89733[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 16:56:17.89733[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 16:56:17.89734[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 16:56:17.89734[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 16:56:17.89735[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89735[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89736[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BERTEMU DENGANMU' to the front of the [that] array 
-----------------------
17-09-2025 16:56:17.89737[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89737[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89738[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89739[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89739[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 16:56:17.89740[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 16:56:17.89740[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 16:56:17.89741[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 16:56:17.89742[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 16:56:17.89742[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 16:56:17.89743[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 16:56:17.89744[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89744[2][4] - Elapsed time: 0.006 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 16:56:17.89745[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89746[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89747[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 16:56:17.89748[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89749[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89750[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 16:56:17.89750[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89751[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89752[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89754[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 16:56:17.89755[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89756[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89757[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
17-09-2025 16:56:17.89758[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89759[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89759[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89760[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 16:56:17.89761[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89762[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bertemu denganmu
    [2] => 
)

 
-----------------------
17-09-2025 16:56:17.89762[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 16:56:17.89763[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 16:56:17.89764[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 16:56:17.89765[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu denganmu ' 
-----------------------
17-09-2025 16:56:17.89766[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89766[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89767[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BERTEMU DENGANMU' to the front of the [that] array 
-----------------------
17-09-2025 16:56:17.89768[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89769[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89770[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89771[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
17-09-2025 16:56:17.89772[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89772[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai
    [1] =>  ada yang bisa aku bantu
    [2] => 
)

 
-----------------------
17-09-2025 16:56:17.89773[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 16:56:17.89774[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 16:56:17.89774[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 16:56:17.89775[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai ada yang bisa aku bantu ' 
-----------------------
17-09-2025 16:56:17.89776[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 16:56:17.89776[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89777[2][4] - Elapsed time: 0.006 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 16:56:17.89778[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89779[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89780[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89781[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.89782[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
17-09-2025 16:56:17.89784[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89785[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hi
)

 
-----------------------
17-09-2025 16:56:17.89786[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89786[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hi' 
-----------------------
17-09-2025 16:56:17.89787[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hi' 
-----------------------
17-09-2025 16:56:17.89788[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hi' 
-----------------------
17-09-2025 16:56:17.89789[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HI' 
-----------------------
17-09-2025 16:56:17.89790[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HI' 
-----------------------
17-09-2025 16:56:17.89790[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HI' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89791[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 16:56:17.89792[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89793[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hi
)

 
-----------------------
17-09-2025 16:56:17.89793[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 16:56:17.89794[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hi' 
-----------------------
17-09-2025 16:56:17.89794[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hi' 
-----------------------
17-09-2025 16:56:17.89794[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hi' 
-----------------------
17-09-2025 16:56:17.89795[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HI' 
-----------------------
17-09-2025 16:56:17.89795[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HI' 
-----------------------
17-09-2025 16:56:17.89796[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HI' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89798[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89799[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hi
)

 
-----------------------
17-09-2025 16:56:17.89799[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 16:56:17.89800[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hi' 
-----------------------
17-09-2025 16:56:17.89800[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hi' 
-----------------------
17-09-2025 16:56:17.89801[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hi' 
-----------------------
17-09-2025 16:56:17.89801[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HI' 
-----------------------
17-09-2025 16:56:17.89802[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HI' 
-----------------------
17-09-2025 16:56:17.89802[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HI' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89803[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 16:56:17.89803[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hi
)

 
-----------------------
17-09-2025 16:56:17.89804[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 16:56:17.89804[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hi' 
-----------------------
17-09-2025 16:56:17.89805[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hi' 
-----------------------
17-09-2025 16:56:17.89805[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hi' 
-----------------------
17-09-2025 16:56:17.89806[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HI' 
-----------------------
17-09-2025 16:56:17.89806[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HI' 
-----------------------
17-09-2025 16:56:17.89807[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HI' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89808[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 16:56:17.89808[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
17-09-2025 16:56:17.89809[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89810[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
17-09-2025 16:56:17.89810[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
17-09-2025 16:56:17.89811[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
17-09-2025 16:56:17.89812[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
17-09-2025 16:56:17.89812[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
17-09-2025 16:56:17.89813[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89814[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89815[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hello
)

 
-----------------------
17-09-2025 16:56:17.89815[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89816[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hello' 
-----------------------
17-09-2025 16:56:17.89817[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hello' 
-----------------------
17-09-2025 16:56:17.89818[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hello' 
-----------------------
17-09-2025 16:56:17.89819[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89819[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89820[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89821[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 16:56:17.89822[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hello
)

 
-----------------------
17-09-2025 16:56:17.89822[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.89823[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hello' 
-----------------------
17-09-2025 16:56:17.89824[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hello' 
-----------------------
17-09-2025 16:56:17.89824[4][4] - Elapsed time: 0.007 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hello' 
-----------------------
17-09-2025 16:56:17.89825[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89826[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89826[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89827[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.89828[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
17-09-2025 16:56:17.89829[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 16:56:17.89829[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
17-09-2025 16:56:17.89830[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
17-09-2025 16:56:17.89831[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
17-09-2025 16:56:17.89832[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
17-09-2025 16:56:17.89832[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
17-09-2025 16:56:17.89832[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89833[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 16:56:17.89834[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hello
)

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

 
-----------------------
17-09-2025 16:56:17.89838[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 16:56:17.89839[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
17-09-2025 16:56:17.89839[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
17-09-2025 16:56:17.89840[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
17-09-2025 16:56:17.89840[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89841[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89842[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 16:56:17.89888[2][4] - Elapsed time: 0.462 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 16:56:17.89891[3][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
17-09-2025 16:56:17.89928[4][4] - Elapsed time: 0.369 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 16:56:17.89930[0][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 16:56:17.89931[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 16:56:17.89931[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HELLO: raw say = Hello 
-----------------------
17-09-2025 16:56:17.89932[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 16:56:17.89932[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [user_say] array 
-----------------------
17-09-2025 16:56:17.89933[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 16:56:17.89935[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Hello, RAW say = Hello 
-----------------------
17-09-2025 16:56:17.89935[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hello' to the front of the [input] array 
-----------------------
17-09-2025 16:56:17.89936[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 16:56:17.89937[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89938[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 16:56:17.89938[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
17-09-2025 16:56:17.89970[4][4] - Elapsed time: 0.316 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 16:56:17.89972[3][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `Syifa`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = ''
    AND (
        'HELLO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HAI ADA YANG BISA AKU BANTU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 16:56:17.90001[2][4] - Elapsed time: 0.288 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 16:56:17.90002[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 16:56:17.90003[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-09-2025 16:56:17.90027[4][4] - Elapsed time: 0.237 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
17-09-2025 16:56:17.90029[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 (
        'HELLO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HAI ADA YANG BISA AKU BANTU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 16:56:17.90076[3][4] - Elapsed time: 0.467 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 16:56:17.90077[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
17-09-2025 16:56:17.90104[1][4] - Elapsed time: 0.272 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HAI ADA YANG BISA AKU BANTU 
-----------------------
17-09-2025 16:56:17.90106[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
17-09-2025 16:56:17.90106[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 'HELLO' 
-----------------------
17-09-2025 16:56:17.90109[4][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 3 relevant rows 
-----------------------
17-09-2025 16:56:17.90110[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 16:56:17.90144[4][4] - Elapsed time: 0.346 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] => hai ada yang bisa aku bantu
            [aiml_id] => 1
            [track_score] => current bot (250 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] => hai ada yang bisa aku bantu
            [aiml_id] => 2
            [track_score] => current bot (250 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] => hai ada yang bisa aku bantu
            [aiml_id] => 56
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hello (2 points)
        )

)
 
-----------------------
17-09-2025 16:56:17.90147[2][4] - Elapsed time: 0.022 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] => hai ada yang bisa aku bantu
            [aiml_id] => 1
            [track_score] => current bot (250 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] => hai ada yang bisa aku bantu
            [aiml_id] => 2
            [track_score] => current bot (250 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] => hai ada yang bisa aku bantu
            [aiml_id] => 56
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hello (2 points)
        )

)

 
-----------------------
17-09-2025 16:56:17.90154[4][4] - Elapsed time: 0.078 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] => hai ada yang bisa aku bantu
    [aiml_id] => 56
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hello (2 points)
)
 
-----------------------
17-09-2025 16:56:17.90155[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
17-09-2025 16:56:17.90156[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:56 (HELLO) 
-----------------------
17-09-2025 16:56:17.90157[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-09-2025 16:56:17.90158[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HELLO' 
-----------------------
17-09-2025 16:56:17.90158[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 16:56:17.90159[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 16:56:17.90161[2][4] - Elapsed time: 0.016 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 16:56:17.90161[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
17-09-2025 16:56:17.90162[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
17-09-2025 16:56:17.90165[4][4] - Elapsed time: 0.028 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 16:56:17.90173[2][4] - Elapsed time: 0.075 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 16:56:17.90176[4][4] - Elapsed time: 0.032 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 16:56:17.90177[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 16:56:17.90178[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 16:56:17.90180[4][4] - Elapsed time: 0.018 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 16:56:17.90180[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
17-09-2025 16:56:17.90181[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
17-09-2025 16:56:17.90182[2][4] - Elapsed time: 0.008 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 16:56:17.90185[4][4] - Elapsed time: 0.028 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 16:56:17.90186[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #2 from random tag.
 
-----------------------
17-09-2025 16:56:17.90186[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 16:56:17.90187[4][4] - Elapsed time: 0.010 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 16:56:17.90188[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 16:56:17.90189[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 16:56:17.90190[4][4] - Elapsed time: 0.009 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 16:56:17.90191[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
17-09-2025 16:56:17.90191[4][4] - Elapsed time: 0.008 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
17-09-2025 16:56:17.90192[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 16:56:17.90193[4][4] - Elapsed time: 0.008 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 16:56:17.90194[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 16:56:17.90194[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 16:56:17.90195[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.90196[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 16:56:17.90197[4][4] - Elapsed time: 0.008 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 16:56:17.90198[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 16:56:17.90198[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 16:56:17.90199[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 16:56:17.90200[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 16:56:17.90200[4][4] - Elapsed time: 0.007 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 16:56:17.90201[4][4] - Elapsed time: 0.006 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 16:56:17.90202[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 16:56:17.90202[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 16:56:17.90203[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 16:56:17.90204[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 16:56:17.90204[4][4] - Elapsed time: 0.006 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 16:56:17.90206[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 16:56:17.90207[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hai, ada yang bisa aku bantu?
)

 
-----------------------
17-09-2025 16:56:17.90207[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 16:56:17.90208[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 16:56:17.90209[4][4] - Elapsed time: 0.010 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 16:56:17.90210[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 16:56:17.90212[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
17-09-2025 16:56:17.90213[2][4] - Elapsed time: 0.006 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 16:56:17.90214[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 16:56:17.90219[2][4] - Elapsed time: 0.051 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 16:56:17.90222[4][4] - Elapsed time: 0.033 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 16:56:17.90223[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hai, ada yang bisa aku bantu?' 
-----------------------
17-09-2025 16:56:17.90225[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.90226[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI ADA YANG BISA AKU BANTU' 
-----------------------
17-09-2025 16:56:17.90228[2][4] - Elapsed time: 0.015 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 16:56:17.90228[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 16:56:17.90230[2][4] - Elapsed time: 0.012 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 16:56:17.90230[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 16:56:17.90232[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 16:56:17.90235[3][4] - Elapsed time: 0.024 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 16:56:17.90428[4][4] - Elapsed time: 1.939 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 16:56:17.90462[3][4] - Elapsed time: 0.332 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 16:56:17.90500[2][4] - Elapsed time: 0.386 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 16:56:17.90503[4][4] - Elapsed time: 0.022 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 16:56:17.90504[2][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 16:56:17.90506[4][4] - Elapsed time: 0.023 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":"hai ada yang bisa aku bantu","aiml_id":"56","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hello (2 points)"}}} 
-----------------------
17-09-2025 16:56:17.90546[2][4] - Elapsed time: 0.394 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 16:56:17.90549[0][4] - Elapsed time: 0.031 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 24.422 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] => hai ada yang bisa aku bantu
                    [aiml_id] => 56
                    [track_score] => current bot (250 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
        )

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

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

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

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

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

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

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

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

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

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

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => Hello
            [2] => HELLO
            [3] => HELLO
            [4] => HALO
            [5] => HELLO
            [6] => HELLO
            [7] => HALO
            [8] => HI
            [9] => HI
            [10] => HI
        )

    [time_start] => 1758120977.8811
    [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":"hai ada yang bisa aku bantu","aiml_id":"56","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hello (2 points)"}}}
)

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