02-11-2025 23:52:33.57888[0][4] - Elapsed time: 5.626 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 
-----------------------
02-11-2025 23:52:33.57913[4][4] - Elapsed time: 0.249 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 23:52:33.57933[4][4] - Elapsed time: 0.197 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 23:52:33.57942[4][4] - Elapsed time: 0.093 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 23:52:33.57979[4][4] - Elapsed time: 0.372 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 23:52:33.57980[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 23:52:33.57995[1][4] - Elapsed time: 0.147 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 
-----------------------
02-11-2025 23:52:33.58022[0][4] - Elapsed time: 0.271 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = a5db8a8522261e0bc8acc45c734cafc8 
-----------------------
02-11-2025 23:52:33.58023[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'nama aku riski'. 
-----------------------
02-11-2025 23:52:33.58026[4][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 23:52:33.58027[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 23:52:33.58028[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; 
-----------------------
02-11-2025 23:52:33.58051[4][4] - Elapsed time: 0.236 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 23:52:33.58052[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 23:52:33.58053[3][4] - Elapsed time: 0.009 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; 
-----------------------
02-11-2025 23:52:33.58081[2][4] - Elapsed time: 0.278 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 23:52:33.58082[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 23:52:33.58102[3][4] - Elapsed time: 0.201 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; 
-----------------------
02-11-2025 23:52:33.58123[2][4] - Elapsed time: 0.211 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 23:52:33.58129[2][4] - Elapsed time: 0.061 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
02-11-2025 23:52:33.58131[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 23:52:33.58169[2][4] - Elapsed time: 0.383 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:33.58171[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
02-11-2025 23:52:33.58172[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:33.58173[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on riski. 
-----------------------
02-11-2025 23:52:33.58175[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama aku riski' 
-----------------------
02-11-2025 23:52:33.58187[4][4] - Elapsed time: 0.123 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
02-11-2025 23:52:33.58188[2][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: NAMA AKU RISKI
Convo id: a5db8a8522261e0bc8acc45c734cafc8
Bot id: 1
Format: json 
-----------------------
02-11-2025 23:52:33.58189[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 23:52:33.58190[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 23:52:33.58191[3][4] - Elapsed time: 0.010 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; 
-----------------------
02-11-2025 23:52:33.58216[1][4] - Elapsed time: 0.250 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => namaku riski
    [1] => halo
    [2] => AKU BOSAN
    [3] => AKU BOSEN
    [4] => GABUT
    [5] => gabut
    [6] => namaku riski
    [7] => halo
    [8] => aku bosan
    [9] => aku
)
 
-----------------------
02-11-2025 23:52:33.58217[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 23:52:33.58217[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [1] => Halo juga! Siapa namamu?
    [2] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [5] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [6] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [7] => Heyy! Lama gak ngobrol nih????
    [8] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [9] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
)
 
-----------------------
02-11-2025 23:52:33.58219[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58220[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:33.58220[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58221[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58222[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58222[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58224[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58224[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58225[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:33.58227[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 23:52:33.58235[4][4] - Elapsed time: 0.078 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58236[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58237[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58238[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58239[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58239[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:33.58240[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58241[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58241[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58242[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58242[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58243[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58243[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:33.58244[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58245[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58246[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58246[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58247[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58248[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Heyy
    [1] =>  Lama gak ngobrol nih
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 23:52:33.58248[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58249[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:52:33.58249[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:52:33.58250[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:52:33.58251[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:33.58251[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:33.58252[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HEYY LAMA GAK NGOBROL NIH' to the front of the [that] array 
-----------------------
02-11-2025 23:52:33.58253[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:33.58253[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:33.58254[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:33.58254[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:33.58255[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58256[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:33.58256[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58257[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58257[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58258[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58258[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58259[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58259[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:33.58260[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58261[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58262[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58262[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58263[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58264[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] => 
)

 
-----------------------
02-11-2025 23:52:33.58264[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58265[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  ' 
-----------------------
02-11-2025 23:52:33.58265[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  ' 
-----------------------
02-11-2025 23:52:33.58266[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  ' 
-----------------------
02-11-2025 23:52:33.58267[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' 
-----------------------
02-11-2025 23:52:33.58267[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' 
-----------------------
02-11-2025 23:52:33.58268[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 
-----------------------
02-11-2025 23:52:33.58268[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' 
-----------------------
02-11-2025 23:52:33.58269[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58270[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' 
-----------------------
02-11-2025 23:52:33.58271[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' 
-----------------------
02-11-2025 23:52:33.58271[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58272[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] => 
)

 
-----------------------
02-11-2025 23:52:33.58272[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58273[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  ' 
-----------------------
02-11-2025 23:52:33.58273[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  ' 
-----------------------
02-11-2025 23:52:33.58274[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58275[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' 
-----------------------
02-11-2025 23:52:33.58276[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' 
-----------------------
02-11-2025 23:52:33.58276[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 
-----------------------
02-11-2025 23:52:33.58277[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58277[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' 
-----------------------
02-11-2025 23:52:33.58278[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' 
-----------------------
02-11-2025 23:52:33.58279[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' 
-----------------------
02-11-2025 23:52:33.58279[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58280[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] => 
)

 
-----------------------
02-11-2025 23:52:33.58280[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58281[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  ' 
-----------------------
02-11-2025 23:52:33.58281[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  ' 
-----------------------
02-11-2025 23:52:33.58282[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  ' 
-----------------------
02-11-2025 23:52:33.58283[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' 
-----------------------
02-11-2025 23:52:33.58283[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' 
-----------------------
02-11-2025 23:52:33.58284[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 
-----------------------
02-11-2025 23:52:33.58284[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' 
-----------------------
02-11-2025 23:52:33.58285[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' 
-----------------------
02-11-2025 23:52:33.58286[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' 
-----------------------
02-11-2025 23:52:33.58286[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' 
-----------------------
02-11-2025 23:52:33.58287[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58287[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] => 
)

 
-----------------------
02-11-2025 23:52:33.58288[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58289[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:33.58290[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  ' 
-----------------------
02-11-2025 23:52:33.58290[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  ' 
-----------------------
02-11-2025 23:52:33.58291[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' 
-----------------------
02-11-2025 23:52:33.58291[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' 
-----------------------
02-11-2025 23:52:33.58292[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 
-----------------------
02-11-2025 23:52:33.58294[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:33.58295[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' 
-----------------------
02-11-2025 23:52:33.58295[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' 
-----------------------
02-11-2025 23:52:33.58296[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' 
-----------------------
02-11-2025 23:52:33.58296[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58297[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga
    [1] =>  Siapa namamu
    [2] => 
)

 
-----------------------
02-11-2025 23:52:33.58297[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58298[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:52:33.58299[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:52:33.58299[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:52:33.58300[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:33.58300[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:33.58301[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO JUGA SIAPA NAMAMU' to the front of the [that] array 
-----------------------
02-11-2025 23:52:33.58302[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:33.58302[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:33.58303[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:33.58303[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:33.58304[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58305[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] => 
)

 
-----------------------
02-11-2025 23:52:33.58305[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58306[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  ' 
-----------------------
02-11-2025 23:52:33.58306[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  ' 
-----------------------
02-11-2025 23:52:33.58307[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  ' 
-----------------------
02-11-2025 23:52:33.58307[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' 
-----------------------
02-11-2025 23:52:33.58308[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' 
-----------------------
02-11-2025 23:52:33.58308[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 
-----------------------
02-11-2025 23:52:33.58309[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' 
-----------------------
02-11-2025 23:52:33.58310[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' 
-----------------------
02-11-2025 23:52:33.58310[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' 
-----------------------
02-11-2025 23:52:33.58311[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' 
-----------------------
02-11-2025 23:52:33.58312[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 23:52:33.58313[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58313[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku
)

 
-----------------------
02-11-2025 23:52:33.58314[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58314[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku' 
-----------------------
02-11-2025 23:52:33.58315[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku' 
-----------------------
02-11-2025 23:52:33.58315[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku' 
-----------------------
02-11-2025 23:52:33.58316[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU' 
-----------------------
02-11-2025 23:52:33.58317[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU' 
-----------------------
02-11-2025 23:52:33.58317[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58318[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 23:52:33.58319[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58319[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosan
)

 
-----------------------
02-11-2025 23:52:33.58320[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58320[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosan' 
-----------------------
02-11-2025 23:52:33.58321[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosan' 
-----------------------
02-11-2025 23:52:33.58322[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosan' 
-----------------------
02-11-2025 23:52:33.58322[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58323[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58323[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58324[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58325[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:52:33.58327[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58327[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:52:33.58328[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:52:33.58329[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:52:33.58330[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:52:33.58330[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:52:33.58331[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58332[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58333[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:52:33.58333[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58334[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:52:33.58334[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:52:33.58335[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:52:33.58335[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:33.58336[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:33.58336[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58337[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58338[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => gabut
)

 
-----------------------
02-11-2025 23:52:33.58338[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58339[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'gabut' 
-----------------------
02-11-2025 23:52:33.58339[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'gabut' 
-----------------------
02-11-2025 23:52:33.58340[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'gabut' 
-----------------------
02-11-2025 23:52:33.58340[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:52:33.58341[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
02-11-2025 23:52:33.58341[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58342[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58343[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
02-11-2025 23:52:33.58343[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58344[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
02-11-2025 23:52:33.58344[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
02-11-2025 23:52:33.58345[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
02-11-2025 23:52:33.58345[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:52:33.58346[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
02-11-2025 23:52:33.58346[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58347[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58348[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
02-11-2025 23:52:33.58348[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58349[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:33.58349[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:33.58350[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:33.58351[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:33.58351[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:33.58351[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 
-----------------------
02-11-2025 23:52:33.58352[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58353[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSAN
)

 
-----------------------
02-11-2025 23:52:33.58353[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58354[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58354[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58355[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58355[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58356[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:33.58356[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58357[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58358[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:52:33.58358[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58359[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:52:33.58359[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:52:33.58360[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:52:33.58360[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:52:33.58361[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:52:33.58361[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58362[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58362[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:52:33.58363[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58365[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:52:33.58365[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:52:33.58366[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:52:33.58366[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:33.58367[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:33.58367[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58418[2][4] - Elapsed time: 0.511 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 23:52:33.58419[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 23:52:33.58440[4][4] - Elapsed time: 0.203 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 23:52:33.58441[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 23:52:33.58442[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 23:52:33.58442[0][4] - Elapsed time: 0.006 milliseconds 
[conversation_start.php][Called outside of function][235]
Say = NAMA AKU RISKI: raw say = nama aku riski 
-----------------------
02-11-2025 23:52:33.58443[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 23:52:33.58444[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA AKU RISKI' to the front of the [user_say] array 
-----------------------
02-11-2025 23:52:33.58444[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 23:52:33.58446[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 
-----------------------
02-11-2025 23:52:33.58446[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'nama aku riski' to the front of the [input] array 
-----------------------
02-11-2025 23:52:33.58447[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 23:52:33.58448[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA AKU RISKI' 
-----------------------
02-11-2025 23:52:33.58448[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
02-11-2025 23:52:33.58449[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:52:33.58468[4][4] - Elapsed time: 0.193 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:52:33.58470[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 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:52:33.58493[2][4] - Elapsed time: 0.225 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:52:33.58494[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:52:33.58494[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:52:33.58512[4][4] - Elapsed time: 0.183 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:52:33.58514[3][4] - Elapsed time: 0.016 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 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:52:33.58542[3][4] - Elapsed time: 0.282 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:52:33.58543[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
02-11-2025 23:52:33.58562[1][4] - Elapsed time: 0.191 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG 
-----------------------
02-11-2025 23:52:33.58563[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
02-11-2025 23:52:33.58564[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' 
-----------------------
02-11-2025 23:52:33.58574[4][4] - Elapsed time: 0.103 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
02-11-2025 23:52:33.58575[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:52:33.58599[4][4] - Elapsed time: 0.239 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] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 645
            [track_score] => current bot (250 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] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
02-11-2025 23:52:33.58601[2][4] - Elapsed time: 0.018 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] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 645
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)
        )

)

 
-----------------------
02-11-2025 23:52:33.58630[4][4] - Elapsed time: 0.289 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] => hmm bisa ulangi lagi gak kadang aku suka bingung
    [aiml_id] => 645
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)
)
 
-----------------------
02-11-2025 23:52:33.58631[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:52:33.58632[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:645 (NAMA AKU *) 
-----------------------
02-11-2025 23:52:33.58633[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 23:52:33.58634[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'NAMA AKU *' 
-----------------------
02-11-2025 23:52:33.58634[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
02-11-2025 23:52:33.58635[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~NAMA AKU (.+)$~siuU: Searching nama aku riski for a match. 
-----------------------
02-11-2025 23:52:33.58639[2][4] - Elapsed time: 0.037 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => nama aku riski
        )

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

)
 
-----------------------
02-11-2025 23:52:33.58639[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'riski' to the stars stack. 
-----------------------
02-11-2025 23:52:33.58640[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => riski
)
 
-----------------------
02-11-2025 23:52:33.58641[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:52:33.58641[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:52:33.58642[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
)
 
-----------------------
02-11-2025 23:52:33.58643[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:52:33.58644[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... 
-----------------------
02-11-2025 23:52:33.58649[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> 
-----------------------
02-11-2025 23:52:33.58663[2][4] - Elapsed time: 0.144 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58668[4][4] - Elapsed time: 0.045 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>
 
-----------------------
02-11-2025 23:52:33.58669[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:52:33.58670[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58672[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="user_name"><star/></set></think> 
-----------------------
02-11-2025 23:52:33.58673[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:33.58673[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
02-11-2025 23:52:33.58674[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
02-11-2025 23:52:33.58675[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
02-11-2025 23:52:33.58675[2][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58676[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="user_name"><star/></set> 
-----------------------
02-11-2025 23:52:33.58677[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:33.58677[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
02-11-2025 23:52:33.58678[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
02-11-2025 23:52:33.58679[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
02-11-2025 23:52:33.58679[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58680[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
02-11-2025 23:52:33.58680[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:33.58681[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
02-11-2025 23:52:33.58682[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
02-11-2025 23:52:33.58682[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 3. element = <star/> 
-----------------------
02-11-2025 23:52:33.58683[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
        (
        )

)
 
-----------------------
02-11-2025 23:52:33.58684[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
02-11-2025 23:52:33.58684[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'riski' to the response array. 
-----------------------
02-11-2025 23:52:33.58685[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = riski 
-----------------------
02-11-2025 23:52:33.58685[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58686[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => riski
)

 
-----------------------
02-11-2025 23:52:33.58686[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58687[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'riski' 
-----------------------
02-11-2025 23:52:33.58687[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'riski' to the response array. tag name is star 
-----------------------
02-11-2025 23:52:33.58688[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58689[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => riski
        )

)

 
-----------------------
02-11-2025 23:52:33.58689[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58690[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58690[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => riski
)

 
-----------------------
02-11-2025 23:52:33.58691[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58692[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'riski' 
-----------------------
02-11-2025 23:52:33.58693[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' 
-----------------------
02-11-2025 23:52:33.58693[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
)
 
-----------------------
02-11-2025 23:52:33.58716[2][4] - Elapsed time: 0.224 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
02-11-2025 23:52:33.58737[4][4] - Elapsed time: 0.212 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'riski' to the response array. tag name is set 
-----------------------
02-11-2025 23:52:33.58738[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58738[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => riski
        )

)

 
-----------------------
02-11-2025 23:52:33.58739[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58740[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58740[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => riski
)

 
-----------------------
02-11-2025 23:52:33.58741[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58741[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'riski' 
-----------------------
02-11-2025 23:52:33.58742[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
02-11-2025 23:52:33.58742[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58743[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
02-11-2025 23:52:33.58743[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58744[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
02-11-2025 23:52:33.58745[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
02-11-2025 23:52:33.58745[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58746[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>    Senang kenal kamu, </text> 
-----------------------
02-11-2025 23:52:33.58747[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:33.58748[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:52:33.58748[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:52:33.58749[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 
-----------------------
02-11-2025 23:52:33.58749[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58750[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>     Senang kenal kamu, 
)

 
-----------------------
02-11-2025 23:52:33.58750[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58751[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '  Senang kenal kamu, ' 
-----------------------
02-11-2025 23:52:33.58751[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. 
-----------------------
02-11-2025 23:52:33.58752[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58753[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 1. element XML = <get name="user_name"/> 
-----------------------
02-11-2025 23:52:33.58753[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:33.58754[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
02-11-2025 23:52:33.58754[2][4] - Elapsed time: 0.007 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
)
 
-----------------------
02-11-2025 23:52:33.58755[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. 
-----------------------
02-11-2025 23:52:33.58756[2][4] - Elapsed time: 0.010 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
)
 
-----------------------
02-11-2025 23:52:33.58757[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'riski' to the response array. tag name is get 
-----------------------
02-11-2025 23:52:33.58757[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58758[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => riski
)

 
-----------------------
02-11-2025 23:52:33.58758[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58759[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'riski' 
-----------------------
02-11-2025 23:52:33.58759[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'riski' to the response array. tag name is template. 
-----------------------
02-11-2025 23:52:33.58760[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:33.58761[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>! Lagi ngapain nih?</text> 
-----------------------
02-11-2025 23:52:33.58761[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:33.58762[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:52:33.58763[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:52:33.58763[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 
-----------------------
02-11-2025 23:52:33.58764[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58764[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ! Lagi ngapain nih?
)

 
-----------------------
02-11-2025 23:52:33.58765[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58766[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '! Lagi ngapain nih?' 
-----------------------
02-11-2025 23:52:33.58766[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. 
-----------------------
02-11-2025 23:52:33.58767[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:33.58767[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?
)

 
-----------------------
02-11-2025 23:52:33.58768[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:33.58768[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Senang kenal kamu, riski ! Lagi ngapain nih?' 
-----------------------
02-11-2025 23:52:33.58769[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? 
-----------------------
02-11-2025 23:52:33.58770[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 23:52:33.58771[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 23:52:33.58771[2][4] - Elapsed time: 0.006 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 
-----------------------
02-11-2025 23:52:33.58772[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 23:52:33.58774[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Senang kenal kamu, riski ! Lagi ngapain nih?' to the front of the [that] array 
-----------------------
02-11-2025 23:52:33.58775[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang kenal kamu, riski !' 
-----------------------
02-11-2025 23:52:33.58776[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang kenal kamu, riski !' 
-----------------------
02-11-2025 23:52:33.58777[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI' 
-----------------------
02-11-2025 23:52:33.58777[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI' 
-----------------------
02-11-2025 23:52:33.58778[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Lagi ngapain nih?' 
-----------------------
02-11-2025 23:52:33.58778[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Lagi ngapain nih?' 
-----------------------
02-11-2025 23:52:33.58779[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:33.58779[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:33.58780[2][4] - Elapsed time: 0.010 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 
-----------------------
02-11-2025 23:52:33.58781[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 23:52:33.58782[2][4] - Elapsed time: 0.010 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 
-----------------------
02-11-2025 23:52:33.58783[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 23:52:33.58784[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 23:52:33.58785[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'nama aku riski',
      'Senang kenal kamu, riski ! Lagi ngapain nih?',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 23:52:33.58939[4][4] - Elapsed time: 1.539 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 23:52:33.58959[3][4] - Elapsed time: 0.204 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 
-----------------------
02-11-2025 23:52:33.58982[2][4] - Elapsed time: 0.230 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 23:52:33.58983[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 23:52:33.58984[2][4] - Elapsed time: 0.008 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 23:52:33.58987[4][4] - Elapsed time: 0.029 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":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"645","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: aku (2 points), star word match (1 points)"}}} 
-----------------------
02-11-2025 23:52:33.59011[2][4] - Elapsed time: 0.240 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 23:52:33.59014[0][4] - Elapsed time: 0.033 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 16.864 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] => hmm bisa ulangi lagi gak kadang aku suka bingung
                    [aiml_id] => 645
                    [track_score] => current bot (250 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
        )

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

            [2] => Array
                (
                    [0] => Halo juga! Siapa namamu?
                )

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

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

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

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

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

            [8] => Array
                (
                    [0] => Heyy! Lama gak ngobrol nih????
                )

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

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

        )

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

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

            [3] => Array
                (
                    [1] => HALO JUGA SIAPA NAMAMU
                )

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

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

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

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

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

            [9] => Array
                (
                    [1] => HEYY LAMA GAK NGOBROL NIH
                )

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

            [12] => 
        )

    [input] => Array
        (
            [1] => nama aku riski
            [2] => NAMAKU RISKI
            [3] => HALO
            [4] => AKU BOSAN
            [5] => AKU BOSEN
            [6] => GABUT
            [7] => GABUT
            [8] => NAMAKU RISKI
            [9] => HALO
            [10] => AKU BOSAN
        )

    [time_start] => 1762102353.5733
    [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":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"645","track_score":"current bot (250 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: 16.864 Milliseconds. Goodbye.