03-11-2025 00:08:34.26769[0][4] - Elapsed time: 8.781 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:08:34.27841[4][4] - Elapsed time: 10.723 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
03-11-2025 00:08:34.28149[4][4] - Elapsed time: 3.079 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
03-11-2025 00:08:34.28200[4][4] - Elapsed time: 0.507 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
03-11-2025 00:08:34.28437[4][4] - Elapsed time: 2.374 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
03-11-2025 00:08:34.28439[4][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
03-11-2025 00:08:34.28452[1][4] - Elapsed time: 0.133 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:08:34.28479[0][4] - Elapsed time: 0.265 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 42acae3282b11c06f3ac50fb0df7b3c8 
-----------------------
03-11-2025 00:08:34.28480[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Nama aku Riski'. 
-----------------------
03-11-2025 00:08:34.28482[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
03-11-2025 00:08:34.28483[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
03-11-2025 00:08:34.28484[3][4] - Elapsed time: 0.009 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:08:34.28540[4][4] - Elapsed time: 0.565 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
03-11-2025 00:08:34.28542[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
03-11-2025 00:08:34.28543[3][4] - Elapsed time: 0.010 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:08:34.28584[2][4] - Elapsed time: 0.406 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
03-11-2025 00:08:34.28585[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
03-11-2025 00:08:34.28622[3][4] - Elapsed time: 0.365 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:08:34.28658[2][4] - Elapsed time: 0.368 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
03-11-2025 00:08:34.28665[2][4] - Elapsed time: 0.064 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Nama. 
-----------------------
03-11-2025 00:08:34.28666[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
03-11-2025 00:08:34.28712[2][4] - Elapsed time: 0.460 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:08:34.28714[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
03-11-2025 00:08:34.28716[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:08:34.28717[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Riski. 
-----------------------
03-11-2025 00:08:34.28719[4][4] - Elapsed time: 0.021 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama aku Riski' 
-----------------------
03-11-2025 00:08:34.28733[4][4] - Elapsed time: 0.140 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:08:34.28734[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: NAMA AKU RISKI
Convo id: 42acae3282b11c06f3ac50fb0df7b3c8
Bot id: 1
Format: json 
-----------------------
03-11-2025 00:08:34.28735[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
03-11-2025 00:08:34.28736[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
03-11-2025 00:08:34.28736[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 `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
03-11-2025 00:08:34.28778[1][4] - Elapsed time: 0.412 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Ya suka
    [1] => Saya suka Lakers
    [2] => Bahas basket
    [3] => Apa kamu suka film
    [4] => apa kamu suka film
    [5] => butuh semangat
    [6] => butuh semangat
    [7] => AKU BOSEN
    [8] => GABUT
    [9] => aku lagi bosen
)
 
-----------------------
03-11-2025 00:08:34.28779[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
03-11-2025 00:08:34.28779[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Nah itu dia! Selera kita sama nih????
    [1] => Lakers solid banget sih permainannya????
    [2] => Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [5] => Semangat ya! Kamu pasti bisa????
    [6] => Jangan menyerah, aku percaya kamu!
    [7] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [8] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [9] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
)
 
-----------------------
03-11-2025 00:08:34.28781[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:08:34.28782[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:08:34.28782[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:08:34.28783[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:08:34.28784[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:08:34.28784[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:08:34.28785[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:08:34.28786[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:08:34.28787[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:08:34.28789[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
03-11-2025 00:08:34.28796[4][4] - Elapsed time: 0.071 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:08:34.28797[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:08:34.28798[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:08:34.28799[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:08:34.28800[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:08:34.28801[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:08:34.28801[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:08:34.28802[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:08:34.28802[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:08:34.28803[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:08:34.28804[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:08:34.28804[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:08:34.28805[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:08:34.28806[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:08:34.28806[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:08:34.28807[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:08:34.28807[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:08:34.28808[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:08:34.28809[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:08:34.28809[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:08:34.28810[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:08:34.28811[4][4] - Elapsed time: 0.007 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:08:34.28811[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:08:34.28812[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:08:34.28813[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:08:34.28813[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:08:34.28814[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:08:34.28814[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:08:34.28815[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:08:34.28816[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:08:34.28816[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:08:34.28817[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Jangan menyerah
    [1] =>  aku percaya kamu
    [2] => 
)

 
-----------------------
03-11-2025 00:08:34.28817[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:08:34.28818[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:08:34.28818[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:08:34.28819[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:08:34.28820[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:08:34.28820[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:08:34.28821[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JANGAN MENYERAH AKU PERCAYA KAMU' to the front of the [that] array 
-----------------------
03-11-2025 00:08:34.28821[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:08:34.28822[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:08:34.28823[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:08:34.28823[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:08:34.28824[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:08:34.28824[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Semangat ya
    [1] =>  Kamu pasti bisa
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
03-11-2025 00:08:34.28825[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:08:34.28825[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:08:34.28826[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:08:34.28826[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:08:34.28827[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:08:34.28828[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:08:34.28828[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEMANGAT YA KAMU PASTI BISA' to the front of the [that] array 
-----------------------
03-11-2025 00:08:34.28830[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:08:34.28831[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:08:34.28831[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:08:34.28832[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:08:34.28833[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:08:34.28833[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:08:34.28834[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:08:34.28834[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:08:34.28835[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:08:34.28835[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:08:34.28836[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:08:34.28836[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:08:34.28837[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:08:34.28838[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:08:34.28838[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:08:34.28839[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:08:34.28840[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:08:34.28840[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:08:34.28841[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:08:34.28841[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:08:34.28842[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:08:34.28842[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:08:34.28843[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:08:34.28844[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:08:34.28844[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:08:34.28845[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:08:34.28845[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:08:34.28846[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:08:34.28847[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:08:34.28847[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:08:34.28848[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:08:34.28848[2][4] - Elapsed time: 0.005 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:08:34.28849[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:08:34.28850[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:08:34.28850[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:08:34.28851[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:08:34.28851[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:08:34.28852[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:08:34.28852[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:08:34.28853[4][4] - Elapsed time: 0.008 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:08:34.28854[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:08:34.28854[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:08:34.28855[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH ASIK AKU JUGA SUKA BASKET TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:08:34.28856[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:08:34.28856[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:08:34.28857[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:08:34.28857[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:08:34.28858[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:08:34.28858[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:08:34.28859[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:08:34.28860[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:08:34.28860[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:08:34.28861[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:08:34.28861[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:08:34.28862[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:08:34.28863[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:08:34.28863[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:08:34.28864[2][4] - Elapsed time: 0.005 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:08:34.28864[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:08:34.28865[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nah itu dia Selera kita sama nih  ' 
-----------------------
03-11-2025 00:08:34.28865[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:08:34.28866[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:08:34.28867[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:08:34.28867[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAH ITU DIA SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:08:34.28868[2][4] - Elapsed time: 0.005 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:08:34.28868[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:08:34.28869[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:08:34.28870[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:08:34.28870[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:08:34.28871[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:08:34.28871[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:08:34.28872[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku lagi bosen
)

 
-----------------------
03-11-2025 00:08:34.28873[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:08:34.28873[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku lagi bosen' 
-----------------------
03-11-2025 00:08:34.28874[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku lagi bosen' 
-----------------------
03-11-2025 00:08:34.28874[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku lagi bosen' 
-----------------------
03-11-2025 00:08:34.28875[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:08:34.28875[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:08:34.28876[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU LAGI BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28876[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
03-11-2025 00:08:34.28877[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:08:34.28878[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
03-11-2025 00:08:34.28878[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:08:34.28879[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
03-11-2025 00:08:34.28879[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
03-11-2025 00:08:34.28880[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
03-11-2025 00:08:34.28881[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
03-11-2025 00:08:34.28881[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
03-11-2025 00:08:34.28881[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28882[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:08:34.28883[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
03-11-2025 00:08:34.28883[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:08:34.28884[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
03-11-2025 00:08:34.28884[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
03-11-2025 00:08:34.28885[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:08:34.28886[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:08:34.28886[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:08:34.28887[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28887[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:08:34.28888[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:08:34.28888[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:08:34.28889[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:08:34.28889[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:08:34.28890[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:08:34.28890[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:08:34.28891[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:08:34.28891[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28892[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:08:34.28893[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:08:34.28893[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:08:34.28894[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:08:34.28894[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:08:34.28895[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:08:34.28895[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:08:34.28896[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:08:34.28896[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28897[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:08:34.28897[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa kamu suka film
)

 
-----------------------
03-11-2025 00:08:34.28898[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:08:34.28898[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa kamu suka film' 
-----------------------
03-11-2025 00:08:34.28899[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:08:34.28899[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa kamu suka film' 
-----------------------
03-11-2025 00:08:34.28900[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:08:34.28901[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:08:34.28901[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:08:34.28902[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:08:34.28902[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:08:34.28903[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:08:34.28903[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:08:34.28904[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:08:34.28904[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa kamu suka film' 
-----------------------
03-11-2025 00:08:34.28905[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:08:34.28905[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:08:34.28906[2][4] - Elapsed time: 0.006 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:08:34.28907[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:08:34.28907[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas basket
)

 
-----------------------
03-11-2025 00:08:34.28908[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:08:34.28908[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas basket' 
-----------------------
03-11-2025 00:08:34.28909[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas basket' 
-----------------------
03-11-2025 00:08:34.28909[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas basket' 
-----------------------
03-11-2025 00:08:34.28910[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:08:34.28910[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:08:34.28911[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:08:34.28911[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:08:34.28912[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:08:34.28912[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:08:34.28913[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka Lakers' 
-----------------------
03-11-2025 00:08:34.28913[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:08:34.28914[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka Lakers' 
-----------------------
03-11-2025 00:08:34.28915[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA LAKERS' 
-----------------------
03-11-2025 00:08:34.28915[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA LAKERS' 
-----------------------
03-11-2025 00:08:34.28916[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA LAKERS' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28916[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:08:34.28917[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ya suka
)

 
-----------------------
03-11-2025 00:08:34.28917[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:08:34.28918[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ya suka' 
-----------------------
03-11-2025 00:08:34.28918[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ya suka' 
-----------------------
03-11-2025 00:08:34.28919[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ya suka' 
-----------------------
03-11-2025 00:08:34.28920[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'YA SUKA' 
-----------------------
03-11-2025 00:08:34.28920[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'YA SUKA' 
-----------------------
03-11-2025 00:08:34.28920[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'YA SUKA' to the front of the [input] array 
-----------------------
03-11-2025 00:08:34.28949[2][4] - Elapsed time: 0.287 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
03-11-2025 00:08:34.28950[3][4] - Elapsed time: 0.013 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:08:34.28971[4][4] - Elapsed time: 0.207 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
03-11-2025 00:08:34.28973[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
03-11-2025 00:08:34.28973[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
03-11-2025 00:08:34.28974[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = NAMA AKU RISKI: raw say = Nama aku Riski 
-----------------------
03-11-2025 00:08:34.28974[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
03-11-2025 00:08:34.28975[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA AKU RISKI' to the front of the [user_say] array 
-----------------------
03-11-2025 00:08:34.28976[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
03-11-2025 00:08:34.28977[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Nama aku Riski, RAW say = Nama aku Riski 
-----------------------
03-11-2025 00:08:34.28977[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:08:34.28978[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
03-11-2025 00:08:34.28979[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:08:34.28980[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:08:34.28980[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:08:34.29000[4][4] - Elapsed time: 0.201 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
03-11-2025 00:08:34.29002[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 (
        'NAMA AKU RISKI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'NAH ITU DIA SELERA KITA SAMA NIH' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:08:34.29046[2][4] - Elapsed time: 0.436 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
03-11-2025 00:08:34.29047[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
03-11-2025 00:08:34.29047[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:08:34.29067[4][4] - Elapsed time: 0.194 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'BASKET' 
-----------------------
03-11-2025 00:08:34.29069[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 (
        'NAMA AKU RISKI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'NAH ITU DIA SELERA KITA SAMA NIH' 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:08:34.29114[3][4] - Elapsed time: 0.455 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
03-11-2025 00:08:34.29115[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
03-11-2025 00:08:34.29136[1][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = NAH ITU DIA SELERA KITA SAMA NIH 
-----------------------
03-11-2025 00:08:34.29137[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:08:34.29138[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 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:08:34.29160[4][4] - Elapsed time: 0.225 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
03-11-2025 00:08:34.29162[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
03-11-2025 00:08:34.29188[4][4] - Elapsed time: 0.261 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 645
            [bot_id] => 1
            [pattern] => NAMA AKU *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
            [score] => 256
            [current_that] => nah itu dia selera kita sama nih
            [aiml_id] => 645
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 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] => nah itu dia selera kita sama nih
            [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:08:34.29190[2][4] - Elapsed time: 0.025 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 645
            [bot_id] => 1
            [pattern] => NAMA AKU *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
            [score] => 256
            [current_that] => nah itu dia selera kita sama nih
            [aiml_id] => 645
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)
        )

)

 
-----------------------
03-11-2025 00:08:34.29218[4][4] - Elapsed time: 0.279 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 645
    [bot_id] => 1
    [pattern] => NAMA AKU *
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
    [score] => 256
    [current_that] => nah itu dia selera kita sama nih
    [aiml_id] => 645
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)
)
 
-----------------------
03-11-2025 00:08:34.29219[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
03-11-2025 00:08:34.29221[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:645 (NAMA AKU *) 
-----------------------
03-11-2025 00:08:34.29221[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
03-11-2025 00:08:34.29222[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'NAMA AKU *' 
-----------------------
03-11-2025 00:08:34.29222[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
03-11-2025 00:08:34.29223[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~NAMA AKU (.+)$~siuU: Searching Nama aku Riski for a match. 
-----------------------
03-11-2025 00:08:34.29227[2][4] - Elapsed time: 0.038 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => Nama aku Riski
        )

    [1] => Array
        (
            [0] => Riski
        )

)
 
-----------------------
03-11-2025 00:08:34.29228[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'Riski' to the stars stack. 
-----------------------
03-11-2025 00:08:34.29228[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => Riski
)
 
-----------------------
03-11-2025 00:08:34.29230[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
03-11-2025 00:08:34.29230[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
03-11-2025 00:08:34.29231[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 645
    [category_id] => 645
    [html_template] => 
    [lookingfor] => NAMA AKU RISKI
    [pattern] => NAMA AKU *
    [score] => 256
    [stars] => Array
        (
            [1] => Riski
        )

    [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Nama aku Riski
)
 
-----------------------
03-11-2025 00:08:34.29232[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:08:34.29233[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:08:34.29238[4][4] - Elapsed time: 0.049 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="user_name"><star/></set></think><text>    Senang kenal kamu, </text><get name="user_name"/><text>! Lagi ngapain nih?</text></template> 
-----------------------
03-11-2025 00:08:34.29251[2][4] - Elapsed time: 0.131 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29257[4][4] - Elapsed time: 0.061 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><think><set name="user_name"><star/></set></think><text>    Senang kenal kamu, </text><get name="user_name"/><text>! Lagi ngapain nih?</text></template>
 
-----------------------
03-11-2025 00:08:34.29258[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. 
-----------------------
03-11-2025 00:08:34.29260[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29262[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="user_name"><star/></set></think> 
-----------------------
03-11-2025 00:08:34.29262[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
03-11-2025 00:08:34.29263[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
03-11-2025 00:08:34.29264[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
03-11-2025 00:08:34.29264[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
03-11-2025 00:08:34.29265[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29266[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="user_name"><star/></set> 
-----------------------
03-11-2025 00:08:34.29267[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
03-11-2025 00:08:34.29267[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
03-11-2025 00:08:34.29268[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
03-11-2025 00:08:34.29268[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
03-11-2025 00:08:34.29269[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29270[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
03-11-2025 00:08:34.29270[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
03-11-2025 00:08:34.29271[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
03-11-2025 00:08:34.29271[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
03-11-2025 00:08:34.29272[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 3. element = <star/> 
-----------------------
03-11-2025 00:08:34.29273[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => Nama aku Riski
    [lookingfor] => NAMA AKU RISKI
    [category_id] => 645
    [pattern] => NAMA AKU *
    [thatpattern] => 
    [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
    [html_template] => 
    [topic] => 
    [score] => 256
    [aiml_id] => 645
    [stars] => Array
        (
            [1] => Riski
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
03-11-2025 00:08:34.29273[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
03-11-2025 00:08:34.29274[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'Riski' to the response array. 
-----------------------
03-11-2025 00:08:34.29275[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = Riski 
-----------------------
03-11-2025 00:08:34.29275[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:08:34.29275[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Riski
)

 
-----------------------
03-11-2025 00:08:34.29276[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:08:34.29277[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Riski' 
-----------------------
03-11-2025 00:08:34.29277[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Riski' to the response array. tag name is star 
-----------------------
03-11-2025 00:08:34.29278[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:08:34.29279[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Riski
        )

)

 
-----------------------
03-11-2025 00:08:34.29279[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:08:34.29280[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:08:34.29280[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Riski
)

 
-----------------------
03-11-2025 00:08:34.29281[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:08:34.29281[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Riski' 
-----------------------
03-11-2025 00:08:34.29282[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'user_name' to the client properties array. Value is 'Riski' 
-----------------------
03-11-2025 00:08:34.29283[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 114.10.16.60
    [name] => Seeker
    [username] => riski
    [user_name] => Riski
    [topic] => basket
    [tim_favorit] => Lakers
)
 
-----------------------
03-11-2025 00:08:34.29303[2][4] - Elapsed time: 0.203 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][586]
updating data in the DB 
-----------------------
03-11-2025 00:08:34.29327[4][4] - Elapsed time: 0.238 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Riski' to the response array. tag name is set 
-----------------------
03-11-2025 00:08:34.29328[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:08:34.29331[2][4] - Elapsed time: 0.026 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Riski
        )

)

 
-----------------------
03-11-2025 00:08:34.29331[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:08:34.29332[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:08:34.29332[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Riski
)

 
-----------------------
03-11-2025 00:08:34.29333[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:08:34.29334[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Riski' 
-----------------------
03-11-2025 00:08:34.29334[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
03-11-2025 00:08:34.29335[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:08:34.29335[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
03-11-2025 00:08:34.29336[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:08:34.29336[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
03-11-2025 00:08:34.29337[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
03-11-2025 00:08:34.29338[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29339[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>    Senang kenal kamu, </text> 
-----------------------
03-11-2025 00:08:34.29340[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:08:34.29340[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
03-11-2025 00:08:34.29341[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:08:34.29341[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '    Senang kenal kamu, ' to the response array. tag name is text 
-----------------------
03-11-2025 00:08:34.29342[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:08:34.29342[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>     Senang kenal kamu, 
)

 
-----------------------
03-11-2025 00:08:34.29343[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:08:34.29343[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '  Senang kenal kamu, ' 
-----------------------
03-11-2025 00:08:34.29344[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Senang kenal kamu, ' to the response array. tag name is template. 
-----------------------
03-11-2025 00:08:34.29345[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29345[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 1. element XML = <get name="user_name"/> 
-----------------------
03-11-2025 00:08:34.29346[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
03-11-2025 00:08:34.29346[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
03-11-2025 00:08:34.29347[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 114.10.16.60
    [name] => Seeker
    [username] => riski
    [user_name] => Riski
    [topic] => basket
    [tim_favorit] => Lakers
)
 
-----------------------
03-11-2025 00:08:34.29348[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
03-11-2025 00:08:34.29349[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 114.10.16.60
    [name] => Seeker
    [username] => riski
    [user_name] => Riski
    [topic] => basket
    [tim_favorit] => Lakers
)
 
-----------------------
03-11-2025 00:08:34.29349[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Riski' to the response array. tag name is get 
-----------------------
03-11-2025 00:08:34.29350[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:08:34.29350[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Riski
)

 
-----------------------
03-11-2025 00:08:34.29351[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:08:34.29351[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Riski' 
-----------------------
03-11-2025 00:08:34.29352[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Riski' to the response array. tag name is template. 
-----------------------
03-11-2025 00:08:34.29352[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:08:34.29353[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>! Lagi ngapain nih?</text> 
-----------------------
03-11-2025 00:08:34.29354[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:08:34.29354[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:08:34.29355[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:08:34.29355[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '! Lagi ngapain nih?' to the response array. tag name is text 
-----------------------
03-11-2025 00:08:34.29356[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:08:34.29356[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ! Lagi ngapain nih?
)

 
-----------------------
03-11-2025 00:08:34.29357[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:08:34.29358[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '! Lagi ngapain nih?' 
-----------------------
03-11-2025 00:08:34.29358[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '! Lagi ngapain nih?' to the response array. tag name is template. 
-----------------------
03-11-2025 00:08:34.29359[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:08:34.29359[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Senang kenal kamu, 
    [2] => Riski
    [3] => ! Lagi ngapain nih?
)

 
-----------------------
03-11-2025 00:08:34.29360[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:08:34.29360[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Senang kenal kamu, Riski ! Lagi ngapain nih?' 
-----------------------
03-11-2025 00:08:34.29361[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: Senang kenal kamu, Riski ! Lagi ngapain nih? 
-----------------------
03-11-2025 00:08:34.29362[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
03-11-2025 00:08:34.29363[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
03-11-2025 00:08:34.29363[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_raw] array 
-----------------------
03-11-2025 00:08:34.29364[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
03-11-2025 00:08:34.29366[2][4] - Elapsed time: 0.023 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:08:34.29367[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang kenal kamu, Riski !' 
-----------------------
03-11-2025 00:08:34.29368[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang kenal kamu, Riski !' 
-----------------------
03-11-2025 00:08:34.29369[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI' 
-----------------------
03-11-2025 00:08:34.29369[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI' 
-----------------------
03-11-2025 00:08:34.29370[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Lagi ngapain nih?' 
-----------------------
03-11-2025 00:08:34.29370[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Lagi ngapain nih?' 
-----------------------
03-11-2025 00:08:34.29371[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:08:34.29372[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:08:34.29373[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Senang kenal kamu, Riski ! Lagi ngapain nih?' to the front of the [parsed_template] array 
-----------------------
03-11-2025 00:08:34.29373[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
03-11-2025 00:08:34.29374[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?' to the front of the [template] array 
-----------------------
03-11-2025 00:08:34.29375[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
03-11-2025 00:08:34.29376[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
03-11-2025 00:08:34.29377[3][4] - Elapsed time: 0.011 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 ,
      'Nama aku Riski',
      'Senang kenal kamu, Riski ! Lagi ngapain nih?',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
03-11-2025 00:08:34.29658[4][4] - Elapsed time: 2.811 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
03-11-2025 00:08:34.29679[3][4] - Elapsed time: 0.210 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:08:34.29706[2][4] - Elapsed time: 0.263 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
03-11-2025 00:08:34.29707[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
03-11-2025 00:08:34.29707[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
03-11-2025 00:08:34.29711[4][4] - Elapsed time: 0.033 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Nama aku Riski","botsay":"Senang kenal kamu, Riski ! Lagi ngapain nih?","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":"Nama aku Riski","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":"645","bot_id":"1","pattern":"NAMA AKU *","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<think><set name=\"user_name\"><star\/><\/set><\/think>\n    Senang kenal kamu, <get name=\"user_name\"\/>! Lagi ngapain nih?","score":256,"current_that":"nah itu dia selera kita sama nih","aiml_id":"645","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)"}}} 
-----------------------
03-11-2025 00:08:34.29759[2][4] - Elapsed time: 0.484 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
03-11-2025 00:08:34.29763[0][4] - Elapsed time: 0.037 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 38.690 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Nama aku Riski
    [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] => Nama aku Riski
            [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] => 645
                    [bot_id] => 1
                    [pattern] => NAMA AKU *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
                    [score] => 256
                    [current_that] => nah itu dia selera kita sama nih
                    [aiml_id] => 645
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Nama aku Riski
            [lookingfor] => NAMA AKU RISKI
            [category_id] => 645
            [pattern] => NAMA AKU *
            [thatpattern] => 
            [template] => <think><set name="user_name"><star/></set></think>
    Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
            [html_template] => 
            [topic] => 
            [score] => 256
            [aiml_id] => 645
            [stars] => Array
                (
                    [1] => Riski
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Senang kenal kamu, Riski ! Lagi ngapain nih?
        )

    [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] => Nah itu dia! Selera kita sama nih????
                )

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

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

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

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

            [6] => Array
                (
                    [0] => Semangat ya! Kamu pasti bisa????
                )

            [7] => Array
                (
                    [0] => Jangan menyerah, aku percaya kamu!
                )

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

            [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] => LAGI NGAPAIN NIH
                    [2] => SENANG KENAL KAMU RISKI
                )

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

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

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

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

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

            [7] => Array
                (
                    [1] => SEMANGAT YA KAMU PASTI BISA
                )

            [8] => Array
                (
                    [1] => JANGAN MENYERAH AKU PERCAYA KAMU
                )

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => Nama aku Riski
            [2] => YA SUKA
            [3] => SAYA SUKA LAKERS
            [4] => BAHAS BASKET
            [5] => APA KAMU SUKA FILM
            [6] => APA KAMU SUKA FILM
            [7] => BUTUH SEMANGAT
            [8] => BUTUH SEMANGAT
            [9] => AKU BOSEN
            [10] => GABUT
        )

    [time_start] => 1762103314.2589
    [user_say] => Array
        (
            [1] => NAMA AKU RISKI
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Lagi ngapain nih?
                    [3] => Senang kenal kamu, Riski !
                )

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

    [parsed_template] => Array
        (
            [1] => Senang kenal kamu, Riski ! Lagi ngapain nih?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <think><set name="user_name"><star/></set></think> Senang kenal kamu, <get name="user_name"/>! Lagi ngapain nih?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Nama aku Riski","botsay":"Senang kenal kamu, Riski ! Lagi ngapain nih?","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":"Nama aku Riski","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":"645","bot_id":"1","pattern":"NAMA AKU *","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<think><set name=\"user_name\"><star\/><\/set><\/think>\n    Senang kenal kamu, <get name=\"user_name\"\/>! Lagi ngapain nih?","score":256,"current_that":"nah itu dia selera kita sama nih","aiml_id":"645","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)"}}}
)

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