03-11-2025 00:13:43.37632[0][4] - Elapsed time: 0.730 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
03-11-2025 00:13:43.37654[4][4] - Elapsed time: 0.218 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
03-11-2025 00:13:43.37669[4][4] - Elapsed time: 0.156 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
03-11-2025 00:13:43.37678[4][4] - Elapsed time: 0.082 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
03-11-2025 00:13:43.37706[4][4] - Elapsed time: 0.284 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
03-11-2025 00:13:43.37707[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
03-11-2025 00:13:43.37718[1][4] - Elapsed time: 0.107 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
03-11-2025 00:13:43.37739[0][4] - Elapsed time: 0.216 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 931ab1bccb86fc4478b3fdec0c5d4ed6 
-----------------------
03-11-2025 00:13:43.37740[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'APA KABAR'. 
-----------------------
03-11-2025 00:13:43.37741[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
03-11-2025 00:13:43.37742[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
03-11-2025 00:13:43.37743[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
03-11-2025 00:13:43.37763[4][4] - Elapsed time: 0.198 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
03-11-2025 00:13:43.37764[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
03-11-2025 00:13:43.37765[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
03-11-2025 00:13:43.37787[2][4] - Elapsed time: 0.220 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
03-11-2025 00:13:43.37788[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
03-11-2025 00:13:43.37807[3][4] - Elapsed time: 0.189 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
03-11-2025 00:13:43.37827[2][4] - Elapsed time: 0.204 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
03-11-2025 00:13:43.37828[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on APA. 
-----------------------
03-11-2025 00:13:43.37830[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
03-11-2025 00:13:43.37861[2][4] - Elapsed time: 0.311 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:13:43.37863[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on KABAR. 
-----------------------
03-11-2025 00:13:43.37865[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.37866[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.37867[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA KABAR
Convo id: 931ab1bccb86fc4478b3fdec0c5d4ed6
Bot id: 1
Format: json 
-----------------------
03-11-2025 00:13:43.37867[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
03-11-2025 00:13:43.37868[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
03-11-2025 00:13:43.37869[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
03-11-2025 00:13:43.37893[1][4] - Elapsed time: 0.242 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => APA KABAR
    [1] => Aku suka coding
    [2] => Aku suka coding
    [3] => Aku suka koding
    [4] => Nama aku Riski
    [5] => Ya suka
    [6] => Saya suka Lakers
    [7] => Bahas basket
    [8] => Apa kamu suka film
    [9] => apa kamu suka film
)
 
-----------------------
03-11-2025 00:13:43.37894[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
03-11-2025 00:13:43.37895[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Masih semangat belajar! Kamu?
    [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [2] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Senang kenal kamu, Riski ! Lagi ngapain nih?
    [5] => Nah itu dia! Selera kita sama nih????
    [6] => Lakers solid banget sih permainannya????
    [7] => Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?
    [8] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [9] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
)
 
-----------------------
03-11-2025 00:13:43.37897[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37897[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:13:43.37898[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37899[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37899[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37900[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37901[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37902[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37902[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37903[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
03-11-2025 00:13:43.37905[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37906[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37907[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37907[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37908[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37909[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:13:43.37909[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37910[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37910[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37911[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37912[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37912[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37913[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37914[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37914[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37915[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37915[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37916[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37917[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah asik
    [1] =>  Aku juga suka basket
    [2] => 
    [3] => 
    [4] => 
    [5] => 
    [6] =>  Tim favorit kamu siapa
    [7] => 
)

 
-----------------------
03-11-2025 00:13:43.37917[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37918[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah asik Aku juga suka basket   Tim favorit kamu siapa ' 
-----------------------
03-11-2025 00:13:43.37918[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah asik Aku juga suka basket   Tim favorit kamu siapa ' 
-----------------------
03-11-2025 00:13:43.37919[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah asik Aku juga suka basket   Tim favorit kamu siapa ' 
-----------------------
03-11-2025 00:13:43.37920[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:13:43.37920[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:13:43.37921[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37922[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:13:43.37922[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:13:43.37923[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:13:43.37923[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:13:43.37924[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37925[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Lakers solid banget sih permainannya
    [1] => 
    [2] => 
    [3] => 
    [4] => 
)

 
-----------------------
03-11-2025 00:13:43.37925[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37926[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:13:43.37926[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:13:43.37927[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:13:43.37927[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:13:43.37928[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:13:43.37928[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'LAKERS SOLID BANGET SIH PERMAINANNYA' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37930[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:13:43.37930[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:13:43.37931[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:13:43.37932[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:13:43.37932[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37933[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nah itu dia
    [1] =>  Selera kita sama nih
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
03-11-2025 00:13:43.37933[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37934[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nah itu dia Selera kita sama nih  ' 
-----------------------
03-11-2025 00:13:43.37934[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nah itu dia Selera kita sama nih  ' 
-----------------------
03-11-2025 00:13:43.37935[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nah itu dia Selera kita sama nih  ' 
-----------------------
03-11-2025 00:13:43.37936[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:13:43.37936[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:13:43.37937[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAH ITU DIA SELERA KITA SAMA NIH' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37938[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:13:43.37938[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:13:43.37939[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:13:43.37939[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:13:43.37940[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37941[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Senang kenal kamu
    [1] =>  Riski 
    [2] =>  Lagi ngapain nih
    [3] => 
)

 
-----------------------
03-11-2025 00:13:43.37941[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37942[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Senang kenal kamu Riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:13:43.37942[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang kenal kamu Riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:13:43.37943[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang kenal kamu Riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:13:43.37944[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:13:43.37944[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:13:43.37944[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37945[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:13:43.37946[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:13:43.37947[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:13:43.37947[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:13:43.37948[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37948[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:13:43.37949[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37949[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37950[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37950[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37951[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37952[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37952[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37953[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37953[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37954[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37955[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37955[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37956[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:13:43.37957[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37957[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37958[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37958[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37959[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37960[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37960[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37961[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37962[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37962[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37963[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37963[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37964[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:13:43.37964[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37965[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37965[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37966[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:13:43.37967[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37967[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37968[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37968[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37969[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37970[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37970[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:13:43.37971[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37971[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Masih semangat belajar
    [1] =>  Kamu
    [2] => 
)

 
-----------------------
03-11-2025 00:13:43.37972[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37972[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Masih semangat belajar Kamu ' 
-----------------------
03-11-2025 00:13:43.37973[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Masih semangat belajar Kamu ' 
-----------------------
03-11-2025 00:13:43.37973[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Masih semangat belajar Kamu ' 
-----------------------
03-11-2025 00:13:43.37974[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MASIH SEMANGAT BELAJAR KAMU' 
-----------------------
03-11-2025 00:13:43.37975[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MASIH SEMANGAT BELAJAR KAMU' 
-----------------------
03-11-2025 00:13:43.37975[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MASIH SEMANGAT BELAJAR KAMU' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.37976[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MASIH SEMANGAT BELAJAR KAMU' 
-----------------------
03-11-2025 00:13:43.37977[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MASIH SEMANGAT BELAJAR KAMU' 
-----------------------
03-11-2025 00:13:43.37977[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MASIH SEMANGAT BELAJAR KAMU' 
-----------------------
03-11-2025 00:13:43.37978[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MASIH SEMANGAT BELAJAR KAMU' 
-----------------------
03-11-2025 00:13:43.37978[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
03-11-2025 00:13:43.37979[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37980[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa kamu suka film
)

 
-----------------------
03-11-2025 00:13:43.37980[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37981[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa kamu suka film' 
-----------------------
03-11-2025 00:13:43.37982[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa kamu suka film' 
-----------------------
03-11-2025 00:13:43.37982[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa kamu suka film' 
-----------------------
03-11-2025 00:13:43.37983[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:13:43.37983[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:13:43.37984[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KAMU SUKA FILM' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.37984[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
03-11-2025 00:13:43.37985[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37986[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa kamu suka film
)

 
-----------------------
03-11-2025 00:13:43.37986[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37987[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa kamu suka film' 
-----------------------
03-11-2025 00:13:43.37987[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa kamu suka film' 
-----------------------
03-11-2025 00:13:43.37988[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa kamu suka film' 
-----------------------
03-11-2025 00:13:43.37988[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:13:43.37989[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:13:43.37989[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KAMU SUKA FILM' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.37990[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37990[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas basket
)

 
-----------------------
03-11-2025 00:13:43.37991[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37992[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas basket' 
-----------------------
03-11-2025 00:13:43.37992[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas basket' 
-----------------------
03-11-2025 00:13:43.37993[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas basket' 
-----------------------
03-11-2025 00:13:43.37993[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:13:43.37994[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:13:43.37994[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS BASKET' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.37995[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.37996[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka Lakers
)

 
-----------------------
03-11-2025 00:13:43.37996[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.37997[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka Lakers' 
-----------------------
03-11-2025 00:13:43.37997[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka Lakers' 
-----------------------
03-11-2025 00:13:43.37998[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka Lakers' 
-----------------------
03-11-2025 00:13:43.37998[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA LAKERS' 
-----------------------
03-11-2025 00:13:43.37999[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA LAKERS' 
-----------------------
03-11-2025 00:13:43.37999[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA LAKERS' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38000[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38000[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ya suka
)

 
-----------------------
03-11-2025 00:13:43.38001[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38001[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ya suka' 
-----------------------
03-11-2025 00:13:43.38002[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ya suka' 
-----------------------
03-11-2025 00:13:43.38002[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ya suka' 
-----------------------
03-11-2025 00:13:43.38003[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'YA SUKA' 
-----------------------
03-11-2025 00:13:43.38004[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'YA SUKA' 
-----------------------
03-11-2025 00:13:43.38004[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'YA SUKA' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38005[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38005[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama aku Riski
)

 
-----------------------
03-11-2025 00:13:43.38006[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38006[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama aku Riski' 
-----------------------
03-11-2025 00:13:43.38007[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama aku Riski' 
-----------------------
03-11-2025 00:13:43.38007[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama aku Riski' 
-----------------------
03-11-2025 00:13:43.38008[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:13:43.38008[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:13:43.38009[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA AKU RISKI' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38010[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38010[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka koding
)

 
-----------------------
03-11-2025 00:13:43.38011[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38011[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka koding' 
-----------------------
03-11-2025 00:13:43.38012[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka koding' 
-----------------------
03-11-2025 00:13:43.38012[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka koding' 
-----------------------
03-11-2025 00:13:43.38013[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA KODING' 
-----------------------
03-11-2025 00:13:43.38013[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA KODING' 
-----------------------
03-11-2025 00:13:43.38014[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA KODING' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38014[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38015[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka coding
)

 
-----------------------
03-11-2025 00:13:43.38015[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38016[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka coding' 
-----------------------
03-11-2025 00:13:43.38016[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka coding' 
-----------------------
03-11-2025 00:13:43.38017[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka coding' 
-----------------------
03-11-2025 00:13:43.38018[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA CODING' 
-----------------------
03-11-2025 00:13:43.38018[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA CODING' 
-----------------------
03-11-2025 00:13:43.38018[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA CODING' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38019[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38020[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka coding
)

 
-----------------------
03-11-2025 00:13:43.38020[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38021[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka coding' 
-----------------------
03-11-2025 00:13:43.38021[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka coding' 
-----------------------
03-11-2025 00:13:43.38022[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka coding' 
-----------------------
03-11-2025 00:13:43.38022[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA CODING' 
-----------------------
03-11-2025 00:13:43.38023[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA CODING' 
-----------------------
03-11-2025 00:13:43.38023[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA CODING' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38024[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38024[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => APA KABAR
)

 
-----------------------
03-11-2025 00:13:43.38025[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38025[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38026[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38026[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38027[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38028[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38028[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KABAR' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38054[2][4] - Elapsed time: 0.259 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
03-11-2025 00:13:43.38055[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
03-11-2025 00:13:43.38075[4][4] - Elapsed time: 0.197 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
03-11-2025 00:13:43.38076[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
03-11-2025 00:13:43.38077[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
03-11-2025 00:13:43.38077[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA KABAR: raw say = APA KABAR 
-----------------------
03-11-2025 00:13:43.38078[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
03-11-2025 00:13:43.38078[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KABAR' to the front of the [user_say] array 
-----------------------
03-11-2025 00:13:43.38079[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
03-11-2025 00:13:43.38080[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = APA KABAR, RAW say = APA KABAR 
-----------------------
03-11-2025 00:13:43.38081[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KABAR' to the front of the [input] array 
-----------------------
03-11-2025 00:13:43.38082[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
03-11-2025 00:13:43.38082[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38083[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38084[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 
-----------------------
03-11-2025 00:13:43.38104[4][4] - Elapsed time: 0.199 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
03-11-2025 00:13:43.38105[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'APA KABAR' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MASIH SEMANGAT BELAJAR KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:13:43.38126[2][4] - Elapsed time: 0.212 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
03-11-2025 00:13:43.38127[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
03-11-2025 00:13:43.38128[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
03-11-2025 00:13:43.38148[4][4] - Elapsed time: 0.202 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'BASKET' 
-----------------------
03-11-2025 00:13:43.38150[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'APA KABAR' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MASIH SEMANGAT BELAJAR KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'BASKET' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:13:43.38178[3][4] - Elapsed time: 0.285 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
03-11-2025 00:13:43.38179[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
03-11-2025 00:13:43.38199[1][4] - Elapsed time: 0.200 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = MASIH SEMANGAT BELAJAR KAMU 
-----------------------
03-11-2025 00:13:43.38200[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
03-11-2025 00:13:43.38201[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 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38205[4][4] - Elapsed time: 0.047 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
03-11-2025 00:13:43.38206[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
03-11-2025 00:13:43.38228[4][4] - Elapsed time: 0.212 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 646
            [bot_id] => 1
            [pattern] => APA KABAR
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>
            [score] => 262
            [current_that] => masih semangat belajar kamu
            [aiml_id] => 646
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: kabar (2 points)
        )

    [1] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => masih semangat belajar kamu
            [aiml_id] => 657
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
03-11-2025 00:13:43.38230[2][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 646
            [bot_id] => 1
            [pattern] => APA KABAR
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>
            [score] => 262
            [current_that] => masih semangat belajar kamu
            [aiml_id] => 646
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: kabar (2 points)
        )

)

 
-----------------------
03-11-2025 00:13:43.38243[4][4] - Elapsed time: 0.127 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 646
    [bot_id] => 1
    [pattern] => APA KABAR
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => <random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>
    [score] => 262
    [current_that] => masih semangat belajar kamu
    [aiml_id] => 646
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: kabar (2 points)
)
 
-----------------------
03-11-2025 00:13:43.38243[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
03-11-2025 00:13:43.38245[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:646 (APA KABAR) 
-----------------------
03-11-2025 00:13:43.38245[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
03-11-2025 00:13:43.38246[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA KABAR' 
-----------------------
03-11-2025 00:13:43.38247[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
03-11-2025 00:13:43.38247[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
03-11-2025 00:13:43.38248[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 646
    [category_id] => 646
    [html_template] => 
    [lookingfor] => APA KABAR
    [pattern] => APA KABAR
    [score] => 262
    [stars] => Array
        (
        )

    [template] => <random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => APA KABAR
)
 
-----------------------
03-11-2025 00:13:43.38249[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
03-11-2025 00:13:43.38250[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
03-11-2025 00:13:43.38251[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Baik nih, </text><get name="user_name"/><text>! Kamu gimana?</text></li><li><text>Lumayan, lagi santai aja. Kamu sendiri gimana?</text></li><li><text>Masih semangat belajar! Kamu?</text></li></random></template> 
-----------------------
03-11-2025 00:13:43.38257[2][4] - Elapsed time: 0.053 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:13:43.38260[4][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Baik nih, </text><get name="user_name"/><text>! Kamu gimana?</text></li><li><text>Lumayan, lagi santai aja. Kamu sendiri gimana?</text></li><li><text>Masih semangat belajar! Kamu?</text></li></random></template>
 
-----------------------
03-11-2025 00:13:43.38261[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
03-11-2025 00:13:43.38262[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:13:43.38264[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Baik nih, </text><get name="user_name"/><text>! Kamu gimana?</text></li><li><text>Lumayan, lagi santai aja. Kamu sendiri gimana?</text></li><li><text>Masih semangat belajar! Kamu?</text></li></random> 
-----------------------
03-11-2025 00:13:43.38264[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
03-11-2025 00:13:43.38265[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
03-11-2025 00:13:43.38265[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
03-11-2025 00:13:43.38268[4][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Baik nih, 
                    [1] => ! Kamu gimana?
                )

            [get] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [name] => user_name
                        )

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Lumayan, lagi santai aja. Kamu sendiri gimana?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Masih semangat belajar! Kamu?
        )

)
 
-----------------------
03-11-2025 00:13:43.38269[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #1 from random tag.
 
-----------------------
03-11-2025 00:13:43.38269[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:13:43.38270[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Lumayan, lagi santai aja. Kamu sendiri gimana?</text></li> 
-----------------------
03-11-2025 00:13:43.38271[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. 
-----------------------
03-11-2025 00:13:43.38272[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:13:43.38273[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Lumayan, lagi santai aja. Kamu sendiri gimana?</text> 
-----------------------
03-11-2025 00:13:43.38273[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
03-11-2025 00:13:43.38274[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
03-11-2025 00:13:43.38274[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:13:43.38275[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the response array. tag name is text 
-----------------------
03-11-2025 00:13:43.38275[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38276[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Lumayan, lagi santai aja. Kamu sendiri gimana?
)

 
-----------------------
03-11-2025 00:13:43.38276[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38277[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Lumayan, lagi santai aja. Kamu sendiri gimana?' 
-----------------------
03-11-2025 00:13:43.38278[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the response array. tag name is li. 
-----------------------
03-11-2025 00:13:43.38278[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38279[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Lumayan, lagi santai aja. Kamu sendiri gimana?
)

 
-----------------------
03-11-2025 00:13:43.38279[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38280[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Lumayan, lagi santai aja. Kamu sendiri gimana?' 
-----------------------
03-11-2025 00:13:43.38280[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Lumayan, lagi santai aja. Kamu sendiri gimana?' for output. 
-----------------------
03-11-2025 00:13:43.38281[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the response array. tag name is random 
-----------------------
03-11-2025 00:13:43.38281[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38282[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Lumayan, lagi santai aja. Kamu sendiri gimana?
)

 
-----------------------
03-11-2025 00:13:43.38282[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38283[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Lumayan, lagi santai aja. Kamu sendiri gimana?' 
-----------------------
03-11-2025 00:13:43.38283[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the response array. tag name is template. 
-----------------------
03-11-2025 00:13:43.38284[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:13:43.38285[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Lumayan, lagi santai aja. Kamu sendiri gimana?
)

 
-----------------------
03-11-2025 00:13:43.38285[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:13:43.38286[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Lumayan, lagi santai aja. Kamu sendiri gimana?' 
-----------------------
03-11-2025 00:13:43.38286[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Lumayan, lagi santai aja. Kamu sendiri gimana? 
-----------------------
03-11-2025 00:13:43.38287[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
03-11-2025 00:13:43.38288[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
03-11-2025 00:13:43.38288[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the front of the [that_raw] array 
-----------------------
03-11-2025 00:13:43.38289[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
03-11-2025 00:13:43.38291[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the front of the [that] array 
-----------------------
03-11-2025 00:13:43.38292[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Lumayan, lagi santai aja.' 
-----------------------
03-11-2025 00:13:43.38293[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Lumayan, lagi santai aja.' 
-----------------------
03-11-2025 00:13:43.38294[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LUMAYAN LAGI SANTAI AJA' 
-----------------------
03-11-2025 00:13:43.38294[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LUMAYAN LAGI SANTAI AJA' 
-----------------------
03-11-2025 00:13:43.38295[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kamu sendiri gimana?' 
-----------------------
03-11-2025 00:13:43.38295[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kamu sendiri gimana?' 
-----------------------
03-11-2025 00:13:43.38296[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SENDIRI GIMANA' 
-----------------------
03-11-2025 00:13:43.38296[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SENDIRI GIMANA' 
-----------------------
03-11-2025 00:13:43.38297[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Lumayan, lagi santai aja. Kamu sendiri gimana?' to the front of the [parsed_template] array 
-----------------------
03-11-2025 00:13:43.38298[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
03-11-2025 00:13:43.38299[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>' to the front of the [template] array 
-----------------------
03-11-2025 00:13:43.38299[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
03-11-2025 00:13:43.38300[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
03-11-2025 00:13:43.38302[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'APA KABAR',
      'Lumayan, lagi santai aja. Kamu sendiri gimana?',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
03-11-2025 00:13:43.38527[4][4] - Elapsed time: 2.255 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
03-11-2025 00:13:43.38546[3][4] - Elapsed time: 0.184 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
03-11-2025 00:13:43.38567[2][4] - Elapsed time: 0.215 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
03-11-2025 00:13:43.38568[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
03-11-2025 00:13:43.38569[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
03-11-2025 00:13:43.38570[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"APA KABAR","botsay":"Lumayan, lagi santai aja. Kamu sendiri gimana?","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"APA KABAR","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"646","bot_id":"1","pattern":"APA KABAR","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<random>\n      <li>Baik nih, <get name=\"user_name\"\/>! Kamu gimana?<\/li>\n      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?<\/li>\n      <li>Masih semangat belajar! Kamu?<\/li>\n    <\/random>","score":262,"current_that":"masih semangat belajar kamu","aiml_id":"646","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: kabar (2 points)"}}} 
-----------------------
03-11-2025 00:13:43.38590[2][4] - Elapsed time: 0.194 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
03-11-2025 00:13:43.38591[0][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 10.312 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => APA KABAR
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => APA KABAR
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 646
                    [bot_id] => 1
                    [pattern] => APA KABAR
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => <random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>
                    [score] => 262
                    [current_that] => masih semangat belajar kamu
                    [aiml_id] => 646
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: kabar (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => APA KABAR
            [lookingfor] => APA KABAR
            [category_id] => 646
            [pattern] => APA KABAR
            [thatpattern] => 
            [template] => <random>
      <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li>
      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li>
      <li>Masih semangat belajar! Kamu?</li>
    </random>
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 646
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Lumayan, lagi santai aja. Kamu sendiri gimana?
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
            [user_name] => Riski
            [topic] => basket
            [tim_favorit] => Lakers
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Masih semangat belajar! Kamu?
                )

            [2] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [3] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [4] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [5] => Array
                (
                    [0] => Senang kenal kamu, Riski ! Lagi ngapain nih?
                )

            [6] => Array
                (
                    [0] => Nah itu dia! Selera kita sama nih????
                )

            [7] => Array
                (
                    [0] => Lakers solid banget sih permainannya????
                )

            [8] => Array
                (
                    [0] => Wah asik! Aku juga suka basket????
                    [1] =>  Tim favorit kamu siapa?
                )

            [9] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [10] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => KAMU SENDIRI GIMANA
                    [2] => LUMAYAN LAGI SANTAI AJA
                )

            [2] => Array
                (
                    [1] => MASIH SEMANGAT BELAJAR KAMU
                )

            [3] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [4] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [5] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [6] => Array
                (
                    [1] => SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH
                )

            [7] => Array
                (
                    [1] => NAH ITU DIA SELERA KITA SAMA NIH
                )

            [8] => Array
                (
                    [1] => LAKERS SOLID BANGET SIH PERMAINANNYA
                )

            [9] => Array
                (
                    [1] => WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA
                )

            [10] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => APA KABAR
            [2] => APA KABAR
            [3] => AKU SUKA CODING
            [4] => AKU SUKA CODING
            [5] => AKU SUKA KODING
            [6] => NAMA AKU RISKI
            [7] => YA SUKA
            [8] => SAYA SUKA LAKERS
            [9] => BAHAS BASKET
            [10] => APA KAMU SUKA FILM
        )

    [time_start] => 1762103623.3756
    [user_say] => Array
        (
            [1] => APA KABAR
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Kamu sendiri gimana?
                    [3] => Lumayan, lagi santai aja.
                )

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

    [parsed_template] => Array
        (
            [1] => Lumayan, lagi santai aja. Kamu sendiri gimana?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Baik nih, <get name="user_name"/>! Kamu gimana?</li> <li>Lumayan, lagi santai aja. Kamu sendiri gimana?</li> <li>Masih semangat belajar! Kamu?</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"APA KABAR","botsay":"Lumayan, lagi santai aja. Kamu sendiri gimana?","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"APA KABAR","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"646","bot_id":"1","pattern":"APA KABAR","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<random>\n      <li>Baik nih, <get name=\"user_name\"\/>! Kamu gimana?<\/li>\n      <li>Lumayan, lagi santai aja. Kamu sendiri gimana?<\/li>\n      <li>Masih semangat belajar! Kamu?<\/li>\n    <\/random>","score":262,"current_that":"masih semangat belajar kamu","aiml_id":"646","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: kabar (2 points)"}}}
)

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