02-11-2025 23:50:58.88845[0][4] - Elapsed time: 0.850 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:50:58.89785[4][4] - Elapsed time: 9.401 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 23:50:58.90090[4][4] - Elapsed time: 3.045 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 23:50:58.90139[4][4] - Elapsed time: 0.494 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 23:50:58.90367[4][4] - Elapsed time: 2.279 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 23:50:58.90368[4][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 23:50:58.90381[1][4] - Elapsed time: 0.129 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:50:58.90415[0][4] - Elapsed time: 0.340 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = bc9985dddacda51275dde081f74cb24b 
-----------------------
02-11-2025 23:50:58.90417[4][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'gabut'. 
-----------------------
02-11-2025 23:50:58.90419[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 23:50:58.90419[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 23:50:58.90420[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:50:58.90467[4][4] - Elapsed time: 0.463 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 23:50:58.90468[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 23:50:58.90469[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
02-11-2025 23:50:58.90490[2][4] - Elapsed time: 0.213 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 23:50:58.90491[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:50:58.90525[3][4] - Elapsed time: 0.338 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:50:58.90558[2][4] - Elapsed time: 0.334 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 23:50:58.90566[2][4] - Elapsed time: 0.076 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on gabut. 
-----------------------
02-11-2025 23:50:58.90567[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 23:50:58.90610[4][4] - Elapsed time: 0.428 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'gabut' 
-----------------------
02-11-2025 23:50:58.90624[4][4] - Elapsed time: 0.142 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:50:58.90625[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: GABUT
Convo id: bc9985dddacda51275dde081f74cb24b
Bot id: 1
Format: json 
-----------------------
02-11-2025 23:50:58.90626[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 23:50:58.90626[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 23:50:58.90627[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
02-11-2025 23:50:58.90667[1][4] - Elapsed time: 0.395 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => namaku riski
    [1] => halo
    [2] => aku bosan
    [3] => aku
    [4] => bosan
    [5] => bosan
    [6] => AKU BOSAN
    [7] => aku bosan
    [8] => HALo
    [9] => aku lupa
)
 
-----------------------
02-11-2025 23:50:58.90668[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 23:50:58.90668[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [1] => Heyy! Lama gak ngobrol nih????
    [2] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [3] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [5] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [6] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [7] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [8] => Halo juga! Siapa namamu?
    [9] => Gapapa kok, aku bisa bantu inget kalau mau????
)
 
-----------------------
02-11-2025 23:50:58.90670[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:50:58.90671[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Gapapa kok
    [1] =>  aku bisa bantu inget kalau mau
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 23:50:58.90671[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:50:58.90672[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Gapapa kok aku bisa bantu inget kalau mau  ' 
-----------------------
02-11-2025 23:50:58.90673[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Gapapa kok aku bisa bantu inget kalau mau  ' 
-----------------------
02-11-2025 23:50:58.90673[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Gapapa kok aku bisa bantu inget kalau mau  ' 
-----------------------
02-11-2025 23:50:58.90675[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:50:58.90675[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:50:58.90676[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' to the front of the [that] array 
-----------------------
02-11-2025 23:50:58.90679[4][4] - Elapsed time: 0.032 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 23:50:58.90686[4][4] - Elapsed time: 0.072 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:50:58.90687[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:50:58.90688[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:50:58.90688[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GAPAPA KOK AKU BISA BANTU INGET KALAU MAU' 
-----------------------
02-11-2025 23:50:58.90690[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:50:58.90690[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga
    [1] =>  Siapa namamu
    [2] => 
)

 
-----------------------
02-11-2025 23:50:58.90691[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:50:58.90691[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:50:58.90692[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:50:58.90692[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:50:58.90693[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:50:58.90694[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:50:58.90694[2][4] - Elapsed time: 0.006 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:50:58.90695[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:50:58.90696[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:50:58.90697[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:50:58.90697[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:50:58.90698[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:50:58.90698[2][4] - Elapsed time: 0.006 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:50:58.90699[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90700[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90701[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90702[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:50:58.90704[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90705[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90706[2][4] - Elapsed time: 0.011 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:50:58.90708[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90709[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90710[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90711[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90713[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90714[2][4] - Elapsed time: 0.011 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:50:58.90715[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90716[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90717[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90718[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90720[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90721[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90722[2][4] - Elapsed time: 0.010 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:50:58.90723[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90725[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90726[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90727[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90729[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90731[2][4] - Elapsed time: 0.012 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:50:58.90731[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90732[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:50:58.90733[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:50:58.90733[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:50:58.90734[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90735[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:50:58.90735[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:50:58.90736[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90737[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:50:58.90737[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90738[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:50:58.90739[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:50:58.90739[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:50:58.90739[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:50:58.90740[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:50:58.90741[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90742[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:50:58.90743[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90744[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90745[2][4] - Elapsed time: 0.009 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:50:58.90747[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90748[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90749[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90750[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90752[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90753[2][4] - Elapsed time: 0.012 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:50:58.90754[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90755[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90756[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:50:58.90757[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90759[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90759[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:50:58.90760[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:50:58.90761[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:50:58.90761[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:50:58.90762[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:50:58.90763[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:50:58.90764[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:50:58.90764[2][4] - Elapsed time: 0.008 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:50:58.90766[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90767[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90768[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90769[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90770[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90772[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90773[2][4] - Elapsed time: 0.010 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:50:58.90774[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90775[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90777[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90778[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90779[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90780[2][4] - Elapsed time: 0.011 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:50:58.90781[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90783[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:50:58.90784[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:50:58.90785[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:50:58.90787[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:50:58.90787[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:50:58.90788[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:50:58.90789[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:50:58.90790[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:50:58.90790[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:50:58.90791[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:50:58.90792[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:50:58.90792[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:50:58.90793[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90794[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90795[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90796[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:50:58.90798[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90799[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90800[2][4] - Elapsed time: 0.010 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:50:58.90802[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90803[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90804[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90805[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.90807[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 23:50:58.90809[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90810[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku lupa
)

 
-----------------------
02-11-2025 23:50:58.90810[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90812[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku lupa' 
-----------------------
02-11-2025 23:50:58.90813[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku lupa' 
-----------------------
02-11-2025 23:50:58.90814[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku lupa' 
-----------------------
02-11-2025 23:50:58.90815[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LUPA' 
-----------------------
02-11-2025 23:50:58.90816[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU LUPA' 
-----------------------
02-11-2025 23:50:58.90817[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU LUPA' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90818[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 23:50:58.90820[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90821[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => HALo
)

 
-----------------------
02-11-2025 23:50:58.90822[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90823[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'HALo' 
-----------------------
02-11-2025 23:50:58.90824[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALo' 
-----------------------
02-11-2025 23:50:58.90825[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALo' 
-----------------------
02-11-2025 23:50:58.90826[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:50:58.90827[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:50:58.90828[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90831[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90832[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosan
)

 
-----------------------
02-11-2025 23:50:58.90833[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90834[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosan' 
-----------------------
02-11-2025 23:50:58.90835[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosan' 
-----------------------
02-11-2025 23:50:58.90836[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosan' 
-----------------------
02-11-2025 23:50:58.90838[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90839[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90840[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90841[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90842[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSAN
)

 
-----------------------
02-11-2025 23:50:58.90843[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:50:58.90844[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90844[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90844[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90845[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90846[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90846[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:50:58.90847[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:50:58.90848[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bosan
)

 
-----------------------
02-11-2025 23:50:58.90848[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:50:58.90849[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bosan' 
-----------------------
02-11-2025 23:50:58.90849[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bosan' 
-----------------------
02-11-2025 23:50:58.90850[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bosan' 
-----------------------
02-11-2025 23:50:58.90850[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOSAN' 
-----------------------
02-11-2025 23:50:58.90851[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOSAN' 
-----------------------
02-11-2025 23:50:58.90851[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90852[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:50:58.90852[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bosan
)

 
-----------------------
02-11-2025 23:50:58.90853[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:50:58.90854[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bosan' 
-----------------------
02-11-2025 23:50:58.90854[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bosan' 
-----------------------
02-11-2025 23:50:58.90855[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bosan' 
-----------------------
02-11-2025 23:50:58.90855[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOSAN' 
-----------------------
02-11-2025 23:50:58.90856[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOSAN' 
-----------------------
02-11-2025 23:50:58.90856[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90857[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:50:58.90858[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku
)

 
-----------------------
02-11-2025 23:50:58.90859[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90860[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku' 
-----------------------
02-11-2025 23:50:58.90861[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku' 
-----------------------
02-11-2025 23:50:58.90862[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku' 
-----------------------
02-11-2025 23:50:58.90863[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU' 
-----------------------
02-11-2025 23:50:58.90864[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU' 
-----------------------
02-11-2025 23:50:58.90865[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90867[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90868[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosan
)

 
-----------------------
02-11-2025 23:50:58.90869[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90870[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosan' 
-----------------------
02-11-2025 23:50:58.90871[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosan' 
-----------------------
02-11-2025 23:50:58.90872[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosan' 
-----------------------
02-11-2025 23:50:58.90874[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90874[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:50:58.90875[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:50:58.90876[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:50:58.90876[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:50:58.90877[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:50:58.90877[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:50:58.90878[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:50:58.90878[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:50:58.90879[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:50:58.90880[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:50:58.90881[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90883[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.90884[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:50:58.90885[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.90886[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:50:58.90887[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:50:58.90888[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:50:58.90889[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:50:58.90890[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:50:58.90891[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90941[2][4] - Elapsed time: 0.495 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 23:50:58.90943[3][4] - Elapsed time: 0.023 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:50:58.90969[4][4] - Elapsed time: 0.264 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 23:50:58.90971[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 23:50:58.90972[0][4] - Elapsed time: 0.008 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 23:50:58.90973[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = GABUT: raw say = gabut 
-----------------------
02-11-2025 23:50:58.90973[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 23:50:58.90974[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [user_say] array 
-----------------------
02-11-2025 23:50:58.90975[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 23:50:58.90977[0][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = gabut, RAW say = gabut 
-----------------------
02-11-2025 23:50:58.90979[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'gabut' to the front of the [input] array 
-----------------------
02-11-2025 23:50:58.90980[4][4] - Elapsed time: 0.017 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 23:50:58.90982[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
02-11-2025 23:50:58.90983[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:50:58.90984[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:50:58.91007[4][4] - Elapsed time: 0.225 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:50:58.91009[3][4] - Elapsed time: 0.029 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 (
        'GABUT' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:50:58.91052[2][4] - Elapsed time: 0.426 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:50:58.91054[4][4] - Elapsed time: 0.022 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:50:58.91055[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:50:58.91077[4][4] - Elapsed time: 0.214 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:50:58.91080[3][4] - Elapsed time: 0.030 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 (
        'GABUT' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI 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:50:58.91125[3][4] - Elapsed time: 0.454 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:50:58.91127[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
02-11-2025 23:50:58.91150[1][4] - Elapsed time: 0.224 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG 
-----------------------
02-11-2025 23:50:58.91151[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 23:50:58.91152[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'GABUT' 
-----------------------
02-11-2025 23:50:58.91160[4][4] - Elapsed time: 0.083 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
02-11-2025 23:50:58.91162[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:50:58.91184[4][4] - Elapsed time: 0.218 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => 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 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:50:58.91187[2][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => 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 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:50:58.91219[4][4] - Elapsed time: 0.321 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: 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 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:50:58.91220[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:50:58.91223[4][4] - Elapsed time: 0.025 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
02-11-2025 23:50:58.91224[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
02-11-2025 23:50:58.91262[2][4] - Elapsed time: 0.379 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
02-11-2025 23:50:58.91264[1][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'GABUT' to the unknown_inputs table. 
-----------------------
02-11-2025 23:50:58.91265[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:657 (*) 
-----------------------
02-11-2025 23:50:58.91266[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:50:58.91267[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
02-11-2025 23:50:58.91267[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
02-11-2025 23:50:58.91268[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching gabut for a match. 
-----------------------
02-11-2025 23:50:58.91273[2][4] - Elapsed time: 0.052 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => gabut
        )

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

)
 
-----------------------
02-11-2025 23:50:58.91275[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'gabut' to the stars stack. 
-----------------------
02-11-2025 23:50:58.91276[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => gabut
)
 
-----------------------
02-11-2025 23:50:58.91277[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:50:58.91278[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:50:58.91280[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 657
    [category_id] => 657
    [html_template] => 
    [lookingfor] => GABUT
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] => gabut
        )

    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => gabut
)
 
-----------------------
02-11-2025 23:50:58.91282[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:50:58.91283[2][4] - Elapsed time: 0.014 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:50:58.91290[4][4] - Elapsed time: 0.072 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template> 
-----------------------
02-11-2025 23:50:58.91307[2][4] - Elapsed time: 0.165 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:50:58.91312[4][4] - Elapsed time: 0.053 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template>
 
-----------------------
02-11-2025 23:50:58.91314[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:50:58.91316[2][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:50:58.91319[4][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text> 
-----------------------
02-11-2025 23:50:58.91320[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:50:58.91321[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:50:58.91322[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:50:58.91323[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is text 
-----------------------
02-11-2025 23:50:58.91324[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:50:58.91324[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
02-11-2025 23:50:58.91325[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:50:58.91326[4][4] - Elapsed time: 0.010 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:50:58.91327[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is template. 
-----------------------
02-11-2025 23:50:58.91330[2][4] - Elapsed time: 0.030 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:50:58.91331[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
02-11-2025 23:50:58.91332[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:50:58.91334[4][4] - Elapsed time: 0.011 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:50:58.91335[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
-----------------------
02-11-2025 23:50:58.91336[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 23:50:58.91338[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 23:50:58.91339[2][4] - Elapsed time: 0.011 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_raw] array 
-----------------------
02-11-2025 23:50:58.91340[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 23:50:58.91343[2][4] - Elapsed time: 0.030 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:50:58.91344[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm, bisa ulangi lagi gak?' 
-----------------------
02-11-2025 23:50:58.91345[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm, bisa ulangi lagi gak?' 
-----------------------
02-11-2025 23:50:58.91346[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
02-11-2025 23:50:58.91347[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
02-11-2025 23:50:58.91348[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kadang aku suka bingung????' 
-----------------------
02-11-2025 23:50:58.91349[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kadang aku suka bingung????' 
-----------------------
02-11-2025 23:50:58.91351[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.91352[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:50:58.91354[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [parsed_template] array 
-----------------------
02-11-2025 23:50:58.91355[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 23:50:58.91357[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the front of the [template] array 
-----------------------
02-11-2025 23:50:58.91358[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 23:50:58.91360[2][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 23:50:58.91362[3][4] - Elapsed time: 0.019 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 ,
      'gabut',
      'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 23:50:58.91490[4][4] - Elapsed time: 1.280 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 23:50:58.91510[3][4] - Elapsed time: 0.201 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:50:58.91536[2][4] - Elapsed time: 0.258 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 23:50:58.91538[4][4] - Elapsed time: 0.021 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 23:50:58.91540[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 23:50:58.91544[4][4] - Elapsed time: 0.042 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"gabut","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","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":"gabut","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":"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 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:50:58.91586[2][4] - Elapsed time: 0.425 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 23:50:58.91590[0][4] - Elapsed time: 0.039 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 28.283 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => gabut
    [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] => gabut
            [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] => 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 kadang aku suka bingung
                    [aiml_id] => 657
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => gabut
            [lookingfor] => GABUT
            [category_id] => 657
            [pattern] => *
            [thatpattern] => 
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [html_template] => 
            [topic] => 
            [score] => 252
            [aiml_id] => 657
            [stars] => Array
                (
                    [1] => gabut
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
        )

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

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

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

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

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

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

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

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

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

            [10] => Array
                (
                    [0] => Gapapa kok, aku bisa bantu inget kalau mau????
                )

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => gabut
            [2] => NAMAKU RISKI
            [3] => HALO
            [4] => AKU BOSAN
            [5] => AKU
            [6] => BOSAN
            [7] => BOSAN
            [8] => AKU BOSAN
            [9] => AKU BOSAN
            [10] => HALO
        )

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

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

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

    [parsed_template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"gabut","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","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":"gabut","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":"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 kadang aku suka bingung","aiml_id":"657","track_score":"current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

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