03-11-2025 00:03:01.79618[0][4] - Elapsed time: 5.031 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
03-11-2025 00:03:01.79648[4][4] - Elapsed time: 0.296 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
03-11-2025 00:03:01.79668[4][4] - Elapsed time: 0.198 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
03-11-2025 00:03:01.79677[4][4] - Elapsed time: 0.094 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
03-11-2025 00:03:01.79717[4][4] - Elapsed time: 0.396 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
03-11-2025 00:03:01.79718[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
03-11-2025 00:03:01.79734[1][4] - Elapsed time: 0.160 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
03-11-2025 00:03:01.79763[0][4] - Elapsed time: 0.290 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 1628fd9d7e2683b09d6cf21a6dcb8e3b 
-----------------------
03-11-2025 00:03:01.79764[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Ya suka'. 
-----------------------
03-11-2025 00:03:01.79766[4][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
03-11-2025 00:03:01.79767[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
03-11-2025 00:03:01.79768[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
03-11-2025 00:03:01.79794[4][4] - Elapsed time: 0.261 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
03-11-2025 00:03:01.79796[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
03-11-2025 00:03:01.79797[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
03-11-2025 00:03:01.79825[2][4] - Elapsed time: 0.285 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
03-11-2025 00:03:01.79827[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
03-11-2025 00:03:01.79847[3][4] - Elapsed time: 0.207 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
03-11-2025 00:03:01.79869[2][4] - Elapsed time: 0.220 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
03-11-2025 00:03:01.79875[2][4] - Elapsed time: 0.061 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Ya. 
-----------------------
03-11-2025 00:03:01.79877[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
03-11-2025 00:03:01.79917[2][4] - Elapsed time: 0.405 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:03:01.79919[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on suka. 
-----------------------
03-11-2025 00:03:01.79921[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ya suka' 
-----------------------
03-11-2025 00:03:01.79936[4][4] - Elapsed time: 0.150 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'YA SUKA' 
-----------------------
03-11-2025 00:03:01.79937[2][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: YA SUKA
Convo id: 1628fd9d7e2683b09d6cf21a6dcb8e3b
Bot id: 1
Format: json 
-----------------------
03-11-2025 00:03:01.79938[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
03-11-2025 00:03:01.79939[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
03-11-2025 00:03:01.79940[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; 
-----------------------
03-11-2025 00:03:01.79965[1][4] - Elapsed time: 0.257 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Saya suka Lakers
    [1] => Bahas basket
    [2] => Apa kamu suka film
    [3] => apa kamu suka film
    [4] => butuh semangat
    [5] => butuh semangat
    [6] => AKU BOSEN
    [7] => GABUT
    [8] => aku lagi bosen
    [9] => aku bosen
)
 
-----------------------
03-11-2025 00:03:01.79966[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
03-11-2025 00:03:01.79967[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Lakers solid banget sih permainannya????
    [1] => Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?
    [2] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Semangat ya! Kamu pasti bisa????
    [5] => Jangan menyerah, aku percaya kamu!
    [6] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [7] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [8] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [9] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
)
 
-----------------------
03-11-2025 00:03:01.79969[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.79970[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:03:01.79970[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.79971[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.79972[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.79973[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.79974[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79974[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79975[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.79977[4][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
03-11-2025 00:03:01.79985[4][4] - Elapsed time: 0.076 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79986[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' 
-----------------------
03-11-2025 00:03:01.79987[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79987[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79989[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.79989[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
03-11-2025 00:03:01.79990[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.79990[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.79991[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.79991[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.79992[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79993[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79993[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.79994[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' 
-----------------------
03-11-2025 00:03:01.79995[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79995[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79996[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.79997[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.79997[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

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

 
-----------------------
03-11-2025 00:03:01.80006[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80006[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.80007[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.80008[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  ' 
-----------------------
03-11-2025 00:03:01.80008[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80009[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80009[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.80010[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80011[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80011[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80012[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80012[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80013[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Jangan menyerah
    [1] =>  aku percaya kamu
    [2] => 
)

 
-----------------------
03-11-2025 00:03:01.80013[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80014[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:03:01.80014[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:03:01.80015[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:03:01.80016[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:03:01.80016[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:03:01.80017[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JANGAN MENYERAH AKU PERCAYA KAMU' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.80017[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:03:01.80018[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:03:01.80019[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:03:01.80019[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:03:01.80020[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80021[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Semangat ya
    [1] =>  Kamu pasti bisa
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
03-11-2025 00:03:01.80021[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80022[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:03:01.80022[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:03:01.80023[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:03:01.80024[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:03:01.80024[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:03:01.80025[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEMANGAT YA KAMU PASTI BISA' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.80026[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:03:01.80026[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:03:01.80027[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:03:01.80027[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:03:01.80028[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80030[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

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

 
-----------------------
03-11-2025 00:03:01.80038[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80039[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.80040[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.80041[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:03:01.80042[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80042[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80043[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.80045[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' 
-----------------------
03-11-2025 00:03:01.80045[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80046[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80047[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:03:01.80047[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80048[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah asik
    [1] =>  Aku juga suka basket
    [2] => 
    [3] => 
    [4] => 
    [5] => 
    [6] =>  Tim favorit kamu siapa
    [7] => 
)

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

 
-----------------------
03-11-2025 00:03:01.80056[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80056[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:03:01.80057[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:03:01.80057[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Lakers solid banget sih permainannya  ' 
-----------------------
03-11-2025 00:03:01.80058[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80058[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80059[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'LAKERS SOLID BANGET SIH PERMAINANNYA' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.80060[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80060[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80061[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80061[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80062[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
03-11-2025 00:03:01.80063[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80064[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosen
)

 
-----------------------
03-11-2025 00:03:01.80064[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80065[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosen' 
-----------------------
03-11-2025 00:03:01.80065[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosen' 
-----------------------
03-11-2025 00:03:01.80066[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosen' 
-----------------------
03-11-2025 00:03:01.80067[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80067[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80067[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80068[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
03-11-2025 00:03:01.80069[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80070[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku lagi bosen
)

 
-----------------------
03-11-2025 00:03:01.80070[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80071[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku lagi bosen' 
-----------------------
03-11-2025 00:03:01.80071[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku lagi bosen' 
-----------------------
03-11-2025 00:03:01.80072[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku lagi bosen' 
-----------------------
03-11-2025 00:03:01.80072[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:03:01.80073[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:03:01.80073[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU LAGI BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80074[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80074[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
03-11-2025 00:03:01.80075[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80077[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
03-11-2025 00:03:01.80077[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
03-11-2025 00:03:01.80078[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
03-11-2025 00:03:01.80078[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
03-11-2025 00:03:01.80079[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
03-11-2025 00:03:01.80080[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80081[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80081[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
03-11-2025 00:03:01.80082[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80083[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80083[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80083[4][4] - Elapsed time: 0.005 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80084[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80085[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:03:01.80085[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80086[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80087[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:03:01.80087[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80088[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:03:01.80088[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:03:01.80089[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:03:01.80089[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:03:01.80090[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:03:01.80091[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80091[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80092[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:03:01.80092[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80093[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:03:01.80093[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:03:01.80094[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:03:01.80094[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:03:01.80095[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:03:01.80095[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80096[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80097[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa kamu suka film
)

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

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

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

 
-----------------------
03-11-2025 00:03:01.80112[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80112[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka Lakers' 
-----------------------
03-11-2025 00:03:01.80114[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka Lakers' 
-----------------------
03-11-2025 00:03:01.80115[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka Lakers' 
-----------------------
03-11-2025 00:03:01.80115[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA LAKERS' 
-----------------------
03-11-2025 00:03:01.80116[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA LAKERS' 
-----------------------
03-11-2025 00:03:01.80116[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA LAKERS' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80172[2][4] - Elapsed time: 0.556 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
03-11-2025 00:03:01.80173[3][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
03-11-2025 00:03:01.80195[4][4] - Elapsed time: 0.221 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
03-11-2025 00:03:01.80197[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
03-11-2025 00:03:01.80197[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
03-11-2025 00:03:01.80198[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = YA SUKA: raw say = Ya suka 
-----------------------
03-11-2025 00:03:01.80199[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
03-11-2025 00:03:01.80199[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'YA SUKA' to the front of the [user_say] array 
-----------------------
03-11-2025 00:03:01.80200[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
03-11-2025 00:03:01.80201[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Ya suka, RAW say = Ya suka 
-----------------------
03-11-2025 00:03:01.80202[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Ya suka' to the front of the [input] array 
-----------------------
03-11-2025 00:03:01.80202[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
03-11-2025 00:03:01.80203[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'YA SUKA' 
-----------------------
03-11-2025 00:03:01.80204[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'YA SUKA' 
-----------------------
03-11-2025 00:03:01.80204[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
03-11-2025 00:03:01.80226[4][4] - Elapsed time: 0.213 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
03-11-2025 00:03:01.80227[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 (
        'YA SUKA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'LAKERS SOLID BANGET SIH PERMAINANNYA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:03:01.80254[2][4] - Elapsed time: 0.262 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
03-11-2025 00:03:01.80255[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
03-11-2025 00:03:01.80255[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
03-11-2025 00:03:01.80277[4][4] - Elapsed time: 0.218 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'BASKET' 
-----------------------
03-11-2025 00:03:01.80280[3][4] - Elapsed time: 0.028 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 (
        'YA SUKA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'LAKERS SOLID BANGET SIH PERMAINANNYA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'BASKET' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:03:01.80311[3][4] - Elapsed time: 0.315 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
03-11-2025 00:03:01.80313[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (4) potential AIML matches 
-----------------------
03-11-2025 00:03:01.80335[1][4] - Elapsed time: 0.222 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = LAKERS SOLID BANGET SIH PERMAINANNYA 
-----------------------
03-11-2025 00:03:01.80336[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 4 rows to unset bad matches 
-----------------------
03-11-2025 00:03:01.80337[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 'YA SUKA' 
-----------------------
03-11-2025 00:03:01.80358[4][4] - Elapsed time: 0.212 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
03-11-2025 00:03:01.80359[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
03-11-2025 00:03:01.80386[4][4] - Elapsed time: 0.272 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 640
            [bot_id] => 1
            [pattern] => YA SUKA
            [thatpattern] => WAH AKU JUGA SUKA *
            [topic] => basket
            [filename] => chat_ai1.aiml
            [template] => Nah itu dia! Selera kita sama nih ????
            [score] => 311
            [current_that] => lakers solid banget sih permainannya
            [aiml_id] => 640
            [track_score] => current bot (250 points), direct topic match (50 points), direct pattern match (7 points), direct word match: ya (2 points), direct word match: suka (2 points)
        )

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

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

Array
(
    [0] => Array
        (
            [id] => 640
            [bot_id] => 1
            [pattern] => YA SUKA
            [thatpattern] => WAH AKU JUGA SUKA *
            [topic] => basket
            [filename] => chat_ai1.aiml
            [template] => Nah itu dia! Selera kita sama nih ????
            [score] => 311
            [current_that] => lakers solid banget sih permainannya
            [aiml_id] => 640
            [track_score] => current bot (250 points), direct topic match (50 points), direct pattern match (7 points), direct word match: ya (2 points), direct word match: suka (2 points)
        )

)

 
-----------------------
03-11-2025 00:03:01.80419[4][4] - Elapsed time: 0.311 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 640
    [bot_id] => 1
    [pattern] => YA SUKA
    [thatpattern] => WAH AKU JUGA SUKA *
    [topic] => basket
    [filename] => chat_ai1.aiml
    [template] => Nah itu dia! Selera kita sama nih ????
    [score] => 311
    [current_that] => lakers solid banget sih permainannya
    [aiml_id] => 640
    [track_score] => current bot (250 points), direct topic match (50 points), direct pattern match (7 points), direct word match: ya (2 points), direct word match: suka (2 points)
)
 
-----------------------
03-11-2025 00:03:01.80420[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
03-11-2025 00:03:01.80422[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:640 (YA SUKA) 
-----------------------
03-11-2025 00:03:01.80422[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
03-11-2025 00:03:01.80423[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'YA SUKA' 
-----------------------
03-11-2025 00:03:01.80424[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
03-11-2025 00:03:01.80424[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][336]
We have thatpattern stars to process! 
-----------------------
03-11-2025 00:03:01.80425[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80425[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [1] => LAKERS SOLID BANGET SIH PERMAINANNYA
)

 
-----------------------
03-11-2025 00:03:01.80426[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80427[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'LAKERS SOLID BANGET SIH PERMAINANNYA' 
-----------------------
03-11-2025 00:03:01.80427[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][339]
Checking thatpattern 'WAH AKU JUGA SUKA (.+)' against 'LAKERS SOLID BANGET SIH PERMAINANNYA'. 
-----------------------
03-11-2025 00:03:01.80433[2][4] - Elapsed time: 0.059 milliseconds
[parse_aiml.php][set_wildcards][354]
Something is not right here. 
-----------------------
03-11-2025 00:03:01.80434[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
03-11-2025 00:03:01.80435[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 640
    [category_id] => 640
    [html_template] => 
    [lookingfor] => YA SUKA
    [pattern] => YA SUKA
    [score] => 311
    [stars] => Array
        (
        )

    [template] => Nah itu dia! Selera kita sama nih ????
    [thatpattern] => WAH AKU JUGA SUKA *
    [that_stars] => Array
        (
        )

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

    [user_raw] => Ya suka
)
 
-----------------------
03-11-2025 00:03:01.80436[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
03-11-2025 00:03:01.80437[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
03-11-2025 00:03:01.80440[4][4] - Elapsed time: 0.039 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Nah itu dia! Selera kita sama nih ????</text></template> 
-----------------------
03-11-2025 00:03:01.80453[2][4] - Elapsed time: 0.130 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:03:01.80458[4][4] - Elapsed time: 0.047 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Nah itu dia! Selera kita sama nih ????</text></template>
 
-----------------------
03-11-2025 00:03:01.80459[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
03-11-2025 00:03:01.80461[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:03:01.80463[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Nah itu dia! Selera kita sama nih ????</text> 
-----------------------
03-11-2025 00:03:01.80463[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
03-11-2025 00:03:01.80464[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
03-11-2025 00:03:01.80465[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:03:01.80465[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nah itu dia! Selera kita sama nih ????' to the response array. tag name is text 
-----------------------
03-11-2025 00:03:01.80466[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80466[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nah itu dia! Selera kita sama nih ????
)

 
-----------------------
03-11-2025 00:03:01.80467[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80468[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nah itu dia! Selera kita sama nih ????' 
-----------------------
03-11-2025 00:03:01.80468[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Nah itu dia! Selera kita sama nih ????' to the response array. tag name is template. 
-----------------------
03-11-2025 00:03:01.80469[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:03:01.80470[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nah itu dia! Selera kita sama nih ????
)

 
-----------------------
03-11-2025 00:03:01.80470[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:03:01.80471[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nah itu dia! Selera kita sama nih ????' 
-----------------------
03-11-2025 00:03:01.80472[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Nah itu dia! Selera kita sama nih???? 
-----------------------
03-11-2025 00:03:01.80472[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
03-11-2025 00:03:01.80473[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
03-11-2025 00:03:01.80474[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nah itu dia! Selera kita sama nih????' to the front of the [that_raw] array 
-----------------------
03-11-2025 00:03:01.80474[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
03-11-2025 00:03:01.80477[2][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nah itu dia! Selera kita sama nih????' to the front of the [that] array 
-----------------------
03-11-2025 00:03:01.80478[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nah itu dia!' 
-----------------------
03-11-2025 00:03:01.80478[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nah itu dia!' 
-----------------------
03-11-2025 00:03:01.80479[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAH ITU DIA' 
-----------------------
03-11-2025 00:03:01.80480[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAH ITU DIA' 
-----------------------
03-11-2025 00:03:01.80481[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Selera kita sama nih????' 
-----------------------
03-11-2025 00:03:01.80481[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Selera kita sama nih????' 
-----------------------
03-11-2025 00:03:01.80482[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:03:01.80482[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELERA KITA SAMA NIH' 
-----------------------
03-11-2025 00:03:01.80483[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nah itu dia! Selera kita sama nih????' to the front of the [parsed_template] array 
-----------------------
03-11-2025 00:03:01.80484[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
03-11-2025 00:03:01.80485[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nah itu dia! Selera kita sama nih ????' to the front of the [template] array 
-----------------------
03-11-2025 00:03:01.80486[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
03-11-2025 00:03:01.80487[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
03-11-2025 00:03:01.80488[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 ,
      'Ya suka',
      'Nah itu dia! Selera kita sama nih????',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
03-11-2025 00:03:01.80775[4][4] - Elapsed time: 2.870 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
03-11-2025 00:03:01.80800[3][4] - Elapsed time: 0.247 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
03-11-2025 00:03:01.80827[2][4] - Elapsed time: 0.280 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
03-11-2025 00:03:01.80830[4][4] - Elapsed time: 0.026 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
03-11-2025 00:03:01.80831[2][4] - Elapsed time: 0.012 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
03-11-2025 00:03:01.80835[4][4] - Elapsed time: 0.041 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Ya suka","botsay":"Nah itu dia! Selera kita sama 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":"Ya suka","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":"640","bot_id":"1","pattern":"YA SUKA","thatpattern":"WAH AKU JUGA SUKA *","topic":"basket","filename":"chat_ai1.aiml","template":"Nah itu dia! Selera kita sama nih ????","score":311,"current_that":"lakers solid banget sih permainannya","aiml_id":"640","track_score":"current bot (250 points), direct topic match (50 points), direct pattern match (7 points), direct word match: ya (2 points), direct word match: suka (2 points)"}}} 
-----------------------
03-11-2025 00:03:01.80863[2][4] - Elapsed time: 0.279 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
03-11-2025 00:03:01.80867[0][4] - Elapsed time: 0.036 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 17.490 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Ya suka
    [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] => Ya suka
            [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] => 640
                    [bot_id] => 1
                    [pattern] => YA SUKA
                    [thatpattern] => WAH AKU JUGA SUKA *
                    [topic] => basket
                    [filename] => chat_ai1.aiml
                    [template] => Nah itu dia! Selera kita sama nih ????
                    [score] => 311
                    [current_that] => lakers solid banget sih permainannya
                    [aiml_id] => 640
                    [track_score] => current bot (250 points), direct topic match (50 points), direct pattern match (7 points), direct word match: ya (2 points), direct word match: suka (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Ya suka
            [lookingfor] => YA SUKA
            [category_id] => 640
            [pattern] => YA SUKA
            [thatpattern] => WAH AKU JUGA SUKA *
            [template] => Nah itu dia! Selera kita sama nih ????
            [html_template] => 
            [topic] => basket
            [score] => 311
            [aiml_id] => 640
            [stars] => Array
                (
                )

            [that_stars] => Array
                (
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Nah itu dia! Selera kita sama nih????
        )

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

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

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

            [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] => Semangat ya! Kamu pasti bisa????
                )

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

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

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

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

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

        )

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

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

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

            [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] => SEMANGAT YA KAMU PASTI BISA
                )

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

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

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

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

            [12] => 
        )

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

    [time_start] => 1762102981.7912
    [user_say] => Array
        (
            [1] => YA SUKA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Selera kita sama nih????
                    [3] => Nah itu dia!
                )

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

    [parsed_template] => Array
        (
            [1] => Nah itu dia! Selera kita sama nih????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Nah itu dia! Selera kita sama nih ????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Ya suka","botsay":"Nah itu dia! Selera kita sama 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":"Ya suka","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":"640","bot_id":"1","pattern":"YA SUKA","thatpattern":"WAH AKU JUGA SUKA *","topic":"basket","filename":"chat_ai1.aiml","template":"Nah itu dia! Selera kita sama nih ????","score":311,"current_that":"lakers solid banget sih permainannya","aiml_id":"640","track_score":"current bot (250 points), direct topic match (50 points), direct pattern match (7 points), direct word match: ya (2 points), direct word match: suka (2 points)"}}}
)

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