28-10-2025 22:34:40.73049[0][4] - Elapsed time: 0.660 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 
-----------------------
28-10-2025 22:34:40.73070[4][4] - Elapsed time: 0.215 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
28-10-2025 22:34:40.73087[4][4] - Elapsed time: 0.169 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
28-10-2025 22:34:40.73095[4][4] - Elapsed time: 0.081 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
28-10-2025 22:34:40.73123[4][4] - Elapsed time: 0.274 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
28-10-2025 22:34:40.73124[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
28-10-2025 22:34:40.73134[1][4] - Elapsed time: 0.103 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/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
28-10-2025 22:34:40.73162[0][4] - Elapsed time: 0.276 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = f505fd1a02a6a9fccde86578005f668f 
-----------------------
28-10-2025 22:34:40.73163[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'ganti topik aja'. 
-----------------------
28-10-2025 22:34:40.73164[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
28-10-2025 22:34:40.73165[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
28-10-2025 22:34:40.73165[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
28-10-2025 22:34:40.73185[4][4] - Elapsed time: 0.197 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
28-10-2025 22:34:40.73186[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
28-10-2025 22:34:40.73187[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
28-10-2025 22:34:40.73208[2][4] - Elapsed time: 0.207 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
28-10-2025 22:34:40.73209[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
28-10-2025 22:34:40.73228[3][4] - Elapsed time: 0.187 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 4 AND `bot_id` = 1; 
-----------------------
28-10-2025 22:34:40.73247[2][4] - Elapsed time: 0.190 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
28-10-2025 22:34:40.73248[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ganti. 
-----------------------
28-10-2025 22:34:40.73249[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
28-10-2025 22:34:40.73278[2][4] - Elapsed time: 0.293 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
28-10-2025 22:34:40.73280[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on topik. 
-----------------------
28-10-2025 22:34:40.73282[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
28-10-2025 22:34:40.73283[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aja. 
-----------------------
28-10-2025 22:34:40.73285[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik aja' 
-----------------------
28-10-2025 22:34:40.73286[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK AJA' 
-----------------------
28-10-2025 22:34:40.73287[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: GANTI TOPIK AJA
Convo id: f505fd1a02a6a9fccde86578005f668f
Bot id: 1
Format: json 
-----------------------
28-10-2025 22:34:40.73288[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
28-10-2025 22:34:40.73288[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
28-10-2025 22:34:40.73289[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_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
28-10-2025 22:34:40.73312[1][4] - Elapsed time: 0.233 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => siapa namaku
    [1] => siapa namamu
    [2] => namaku bagas
    [3] => halo namaku bagas
    [4] => aku anak musik
    [5] => contoh artis rock
    [6] => aku suka musik rock
    [7] => kamu suka musik
    [8] => niki
    [9] => metal
)
 
-----------------------
28-10-2025 22:34:40.73313[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
28-10-2025 22:34:40.73314[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [1] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [2] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [3] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [4] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [5] => Band Rock Indonesia legendaris itu ada Slank, Dewa 19, Kotak. Kalau luar ada Queen, Nirvana, atau Green Day. Kamu anak rock?
    [6] => Oh, kamu suka rock ya! Keren. Siapa artis rock favoritmu?
    [7] => Sebagai AI, aku nggak bisa \'mendengar\' musik, tapi aku punya banyak data soal itu! Aku tahu banyak genre dan artis. Kamu suka musik apa?
    [8] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
    [9] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
)
 
-----------------------
28-10-2025 22:34:40.73316[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73317[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk
    [1] =>  Siapa penyanyi favoritmu
    [2] => 
)

 
-----------------------
28-10-2025 22:34:40.73317[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73318[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73318[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73319[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73320[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73321[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73321[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73322[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
28-10-2025 22:34:40.73324[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73324[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73325[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73326[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73327[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73327[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih
    [1] =>  zen
    [2] =>  Mau bahas genre apa lagi
    [3] => 
)

 
-----------------------
28-10-2025 22:34:40.73328[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73328[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:34:40.73329[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:34:40.73329[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:34:40.73330[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73331[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73331[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73332[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73333[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73334[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73334[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73335[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73335[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Sebagai AI
    [1] =>  aku nggak bisa \'mendengar\' musik
    [2] =>  tapi aku punya banyak data soal itu
    [3] =>  Aku tahu banyak genre dan artis
    [4] =>  Kamu suka musik apa
    [5] => 
)

 
-----------------------
28-10-2025 22:34:40.73336[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73337[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Sebagai AI aku nggak bisa \'mendengar\' musik tapi aku punya banyak data soal itu Aku tahu banyak genre dan artis Kamu suka musik apa ' 
-----------------------
28-10-2025 22:34:40.73337[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Sebagai AI aku nggak bisa \'mendengar\' musik tapi aku punya banyak data soal itu Aku tahu banyak genre dan artis Kamu suka musik apa ' 
-----------------------
28-10-2025 22:34:40.73338[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Sebagai AI aku nggak bisa \'mendengar\' musik tapi aku punya banyak data soal itu Aku tahu banyak genre dan artis Kamu suka musik apa ' 
-----------------------
28-10-2025 22:34:40.73339[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:34:40.73339[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:34:40.73340[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73341[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:34:40.73341[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:34:40.73342[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:34:40.73342[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:34:40.73343[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73344[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oh
    [1] =>  kamu suka rock ya
    [2] =>  Keren
    [3] =>  Siapa artis rock favoritmu
    [4] => 
)

 
-----------------------
28-10-2025 22:34:40.73344[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73345[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oh kamu suka rock ya Keren Siapa artis rock favoritmu ' 
-----------------------
28-10-2025 22:34:40.73345[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oh kamu suka rock ya Keren Siapa artis rock favoritmu ' 
-----------------------
28-10-2025 22:34:40.73346[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oh kamu suka rock ya Keren Siapa artis rock favoritmu ' 
-----------------------
28-10-2025 22:34:40.73347[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73347[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73347[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73348[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73349[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73349[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73350[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73351[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73351[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Band Rock Indonesia legendaris itu ada Slank
    [1] =>  Dewa 19
    [2] =>  Kotak
    [3] =>  Kalau luar ada Queen
    [4] =>  Nirvana
    [5] =>  atau Green Day
    [6] =>  Kamu anak rock
    [7] => 
)

 
-----------------------
28-10-2025 22:34:40.73352[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73352[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Band Rock Indonesia legendaris itu ada Slank Dewa 19 Kotak Kalau luar ada Queen Nirvana atau Green Day Kamu anak rock ' 
-----------------------
28-10-2025 22:34:40.73353[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Band Rock Indonesia legendaris itu ada Slank Dewa 19 Kotak Kalau luar ada Queen Nirvana atau Green Day Kamu anak rock ' 
-----------------------
28-10-2025 22:34:40.73353[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Band Rock Indonesia legendaris itu ada Slank Dewa 19 Kotak Kalau luar ada Queen Nirvana atau Green Day Kamu anak rock ' 
-----------------------
28-10-2025 22:34:40.73354[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:34:40.73355[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:34:40.73355[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73356[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:34:40.73357[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:34:40.73358[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:34:40.73358[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:34:40.73359[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73360[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk
    [1] =>  Siapa penyanyi favoritmu
    [2] => 
)

 
-----------------------
28-10-2025 22:34:40.73360[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73361[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73361[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73362[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73362[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73363[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73363[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73364[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73365[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73366[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73366[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73367[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73367[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk
    [1] =>  Siapa penyanyi favoritmu
    [2] => 
)

 
-----------------------
28-10-2025 22:34:40.73368[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73368[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73369[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73369[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73370[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73371[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73371[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73372[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73373[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73373[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73374[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73374[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73375[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  aku kurang paham
    [2] =>  Balik ke topik musik ya
    [3] =>  kamu suka Pop
    [4] =>  Rock
    [5] =>  atau Jazz
    [6] => 
)

 
-----------------------
28-10-2025 22:34:40.73375[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73376[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
28-10-2025 22:34:40.73377[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
28-10-2025 22:34:40.73377[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
28-10-2025 22:34:40.73378[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73379[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73380[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73381[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73381[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73382[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73383[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73383[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73384[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk
    [1] =>  Siapa penyanyi favoritmu
    [2] => 
)

 
-----------------------
28-10-2025 22:34:40.73385[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73385[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73386[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73386[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:34:40.73387[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73387[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73388[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73389[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73389[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73390[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73390[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:34:40.73391[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73392[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  aku kurang paham
    [2] =>  Balik ke topik musik ya
    [3] =>  kamu suka Pop
    [4] =>  Rock
    [5] =>  atau Jazz
    [6] => 
)

 
-----------------------
28-10-2025 22:34:40.73392[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73393[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
28-10-2025 22:34:40.73393[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
28-10-2025 22:34:40.73394[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
28-10-2025 22:34:40.73395[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73395[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73395[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73396[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73397[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73398[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73398[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
28-10-2025 22:34:40.73399[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
28-10-2025 22:34:40.73400[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73400[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => metal
)

 
-----------------------
28-10-2025 22:34:40.73401[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73401[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'metal' 
-----------------------
28-10-2025 22:34:40.73402[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'metal' 
-----------------------
28-10-2025 22:34:40.73403[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'metal' 
-----------------------
28-10-2025 22:34:40.73403[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'METAL' 
-----------------------
28-10-2025 22:34:40.73404[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'METAL' 
-----------------------
28-10-2025 22:34:40.73404[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'METAL' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73405[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
28-10-2025 22:34:40.73406[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73406[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => niki
)

 
-----------------------
28-10-2025 22:34:40.73407[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73407[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'niki' 
-----------------------
28-10-2025 22:34:40.73408[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'niki' 
-----------------------
28-10-2025 22:34:40.73408[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'niki' 
-----------------------
28-10-2025 22:34:40.73409[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NIKI' 
-----------------------
28-10-2025 22:34:40.73409[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NIKI' 
-----------------------
28-10-2025 22:34:40.73410[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NIKI' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73411[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73411[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu suka musik
)

 
-----------------------
28-10-2025 22:34:40.73412[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73412[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu suka musik' 
-----------------------
28-10-2025 22:34:40.73413[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu suka musik' 
-----------------------
28-10-2025 22:34:40.73413[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
28-10-2025 22:34:40.73414[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
28-10-2025 22:34:40.73414[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
28-10-2025 22:34:40.73415[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU SUKA MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73416[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73416[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik rock
)

 
-----------------------
28-10-2025 22:34:40.73417[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73417[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik rock' 
-----------------------
28-10-2025 22:34:40.73418[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik rock' 
-----------------------
28-10-2025 22:34:40.73418[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik rock' 
-----------------------
28-10-2025 22:34:40.73419[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK ROCK' 
-----------------------
28-10-2025 22:34:40.73419[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK ROCK' 
-----------------------
28-10-2025 22:34:40.73420[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA MUSIK ROCK' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73421[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73421[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => contoh artis rock
)

 
-----------------------
28-10-2025 22:34:40.73422[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73422[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'contoh artis rock' 
-----------------------
28-10-2025 22:34:40.73423[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'contoh artis rock' 
-----------------------
28-10-2025 22:34:40.73423[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'contoh artis rock' 
-----------------------
28-10-2025 22:34:40.73424[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'CONTOH ARTIS ROCK' 
-----------------------
28-10-2025 22:34:40.73424[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'CONTOH ARTIS ROCK' 
-----------------------
28-10-2025 22:34:40.73425[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'CONTOH ARTIS ROCK' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73425[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73426[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku anak musik
)

 
-----------------------
28-10-2025 22:34:40.73426[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73427[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku anak musik' 
-----------------------
28-10-2025 22:34:40.73428[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku anak musik' 
-----------------------
28-10-2025 22:34:40.73428[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku anak musik' 
-----------------------
28-10-2025 22:34:40.73429[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU ANAK MUSIK' 
-----------------------
28-10-2025 22:34:40.73429[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU ANAK MUSIK' 
-----------------------
28-10-2025 22:34:40.73430[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU ANAK MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73430[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73431[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo namaku bagas
)

 
-----------------------
28-10-2025 22:34:40.73431[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73432[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo namaku bagas' 
-----------------------
28-10-2025 22:34:40.73432[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo namaku bagas' 
-----------------------
28-10-2025 22:34:40.73433[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo namaku bagas' 
-----------------------
28-10-2025 22:34:40.73433[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:34:40.73434[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:34:40.73434[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO NAMAKU BAGAS' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73435[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73436[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku bagas
)

 
-----------------------
28-10-2025 22:34:40.73436[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73436[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku bagas' 
-----------------------
28-10-2025 22:34:40.73437[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku bagas' 
-----------------------
28-10-2025 22:34:40.73438[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku bagas' 
-----------------------
28-10-2025 22:34:40.73438[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU BAGAS' 
-----------------------
28-10-2025 22:34:40.73439[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU BAGAS' 
-----------------------
28-10-2025 22:34:40.73439[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU BAGAS' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73440[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73440[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namamu
)

 
-----------------------
28-10-2025 22:34:40.73441[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73441[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namamu' 
-----------------------
28-10-2025 22:34:40.73442[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namamu' 
-----------------------
28-10-2025 22:34:40.73442[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namamu' 
-----------------------
28-10-2025 22:34:40.73443[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAMU' 
-----------------------
28-10-2025 22:34:40.73443[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAMU' 
-----------------------
28-10-2025 22:34:40.73444[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAMU' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73445[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73445[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
28-10-2025 22:34:40.73446[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73446[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
28-10-2025 22:34:40.73447[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
28-10-2025 22:34:40.73447[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
28-10-2025 22:34:40.73448[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:34:40.73448[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:34:40.73449[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73475[2][4] - Elapsed time: 0.265 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
28-10-2025 22:34:40.73476[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
28-10-2025 22:34:40.73495[4][4] - Elapsed time: 0.189 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
28-10-2025 22:34:40.73497[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
28-10-2025 22:34:40.73497[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
28-10-2025 22:34:40.73498[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = GANTI TOPIK AJA: raw say = ganti topik aja 
-----------------------
28-10-2025 22:34:40.73498[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
28-10-2025 22:34:40.73499[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK AJA' to the front of the [user_say] array 
-----------------------
28-10-2025 22:34:40.73499[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
28-10-2025 22:34:40.73501[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = ganti topik aja, RAW say = ganti topik aja 
-----------------------
28-10-2025 22:34:40.73501[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ganti topik aja' to the front of the [input] array 
-----------------------
28-10-2025 22:34:40.73502[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
28-10-2025 22:34:40.73503[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GANTI TOPIK AJA' 
-----------------------
28-10-2025 22:34:40.73504[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK AJA' 
-----------------------
28-10-2025 22:34:40.73504[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
28-10-2025 22:34:40.73523[4][4] - Elapsed time: 0.186 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
28-10-2025 22:34:40.73524[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_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'd691a9f1d78e60289ed8ed3fa176672d'
    AND (
        'GANTI TOPIK AJA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:34:40.73544[2][4] - Elapsed time: 0.199 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
28-10-2025 22:34:40.73545[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
28-10-2025 22:34:40.73546[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
28-10-2025 22:34:40.73563[4][4] - Elapsed time: 0.173 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
28-10-2025 22:34:40.73565[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'GANTI TOPIK AJA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'MUSIK' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:34:40.73603[3][4] - Elapsed time: 0.382 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
28-10-2025 22:34:40.73604[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (35) potential AIML matches 
-----------------------
28-10-2025 22:34:40.73629[1][4] - Elapsed time: 0.253 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ 
-----------------------
28-10-2025 22:34:40.73630[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 35 rows to unset bad matches 
-----------------------
28-10-2025 22:34:40.73631[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 'GANTI TOPIK AJA' 
-----------------------
28-10-2025 22:34:40.73651[4][4] - Elapsed time: 0.196 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
28-10-2025 22:34:40.73652[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:34:40.73672[4][4] - Elapsed time: 0.199 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 329
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => MUSIK
            [filename] => bot.aiml
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [score] => 302
            [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
            [aiml_id] => 329
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

    [1] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
            [aiml_id] => 366
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
28-10-2025 22:34:40.73673[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 329
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => MUSIK
            [filename] => bot.aiml
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [score] => 302
            [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
            [aiml_id] => 329
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
28-10-2025 22:34:40.73687[4][4] - Elapsed time: 0.140 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 329
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => MUSIK
    [filename] => bot.aiml
    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
    [score] => 302
    [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
    [aiml_id] => 329
    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
28-10-2025 22:34:40.73688[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:34:40.73690[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
28-10-2025 22:34:40.73690[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
28-10-2025 22:34:40.73711[2][4] - Elapsed time: 0.203 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
28-10-2025 22:34:40.73711[1][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'GANTI TOPIK AJA' to the unknown_inputs table. 
-----------------------
28-10-2025 22:34:40.73712[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:329 (*) 
-----------------------
28-10-2025 22:34:40.73713[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
28-10-2025 22:34:40.73713[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
28-10-2025 22:34:40.73714[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
28-10-2025 22:34:40.73714[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching ganti topik aja for a match. 
-----------------------
28-10-2025 22:34:40.73715[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => ganti topik aja
        )

    [1] => Array
        (
            [0] => ganti topik aja
        )

)
 
-----------------------
28-10-2025 22:34:40.73716[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'ganti topik aja' to the stars stack. 
-----------------------
28-10-2025 22:34:40.73717[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => ganti topik aja
)
 
-----------------------
28-10-2025 22:34:40.73717[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:34:40.73718[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:34:40.73719[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 329
    [category_id] => 329
    [html_template] => 
    [lookingfor] => GANTI TOPIK AJA
    [pattern] => *
    [score] => 302
    [stars] => Array
        (
            [1] => ganti topik aja
        )

    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => ganti topik aja
)
 
-----------------------
28-10-2025 22:34:40.73720[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
28-10-2025 22:34:40.73720[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... 
-----------------------
28-10-2025 22:34:40.73722[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random></template> 
-----------------------
28-10-2025 22:34:40.73727[2][4] - Elapsed time: 0.050 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:34:40.73730[4][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random></template>
 
-----------------------
28-10-2025 22:34:40.73731[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:34:40.73732[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:34:40.73734[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random> 
-----------------------
28-10-2025 22:34:40.73735[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
28-10-2025 22:34:40.73735[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
28-10-2025 22:34:40.73736[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
28-10-2025 22:34:40.73739[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Kita lagi asyik ngobrolin musik nih, 
                    [1] => . Mau bahas genre apa lagi?
                )

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

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
        )

)
 
-----------------------
28-10-2025 22:34:40.73739[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #0 from random tag.
 
-----------------------
28-10-2025 22:34:40.73740[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:34:40.73742[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li> 
-----------------------
28-10-2025 22:34:40.73743[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:34:40.73744[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:34:40.73745[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Kita lagi asyik ngobrolin musik nih, </text> 
-----------------------
28-10-2025 22:34:40.73745[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:34:40.73746[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:34:40.73746[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:34:40.73747[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Kita lagi asyik ngobrolin musik nih, ' to the response array. tag name is text 
-----------------------
28-10-2025 22:34:40.73748[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73748[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, 
)

 
-----------------------
28-10-2025 22:34:40.73749[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73749[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, ' 
-----------------------
28-10-2025 22:34:40.73750[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Kita lagi asyik ngobrolin musik nih, ' to the response array. tag name is li. 
-----------------------
28-10-2025 22:34:40.73750[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:34:40.73751[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 3. element XML = <get name="namaku"/> 
-----------------------
28-10-2025 22:34:40.73752[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
28-10-2025 22:34:40.73752[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
28-10-2025 22:34:40.73753[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => zen
    [topic] => MUSIK
    [musikfavorit] => rock
)
 
-----------------------
28-10-2025 22:34:40.73754[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
28-10-2025 22:34:40.73755[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => zen
    [topic] => MUSIK
    [musikfavorit] => rock
)
 
-----------------------
28-10-2025 22:34:40.73756[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'zen' to the response array. tag name is get 
-----------------------
28-10-2025 22:34:40.73757[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73757[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => zen
)

 
-----------------------
28-10-2025 22:34:40.73758[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73758[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'zen' 
-----------------------
28-10-2025 22:34:40.73759[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'zen' to the response array. tag name is li. 
-----------------------
28-10-2025 22:34:40.73759[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:34:40.73760[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>. Mau bahas genre apa lagi?</text> 
-----------------------
28-10-2025 22:34:40.73761[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:34:40.73761[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:34:40.73762[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:34:40.73762[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '. Mau bahas genre apa lagi?' to the response array. tag name is text 
-----------------------
28-10-2025 22:34:40.73763[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73763[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:34:40.73764[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73764[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '. Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:34:40.73765[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '. Mau bahas genre apa lagi?' to the response array. tag name is li. 
-----------------------
28-10-2025 22:34:40.73765[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73766[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, 
    [1] => zen
    [2] => . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:34:40.73766[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73767[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:34:40.73768[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' for output. 
-----------------------
28-10-2025 22:34:40.73768[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' to the response array. tag name is random 
-----------------------
28-10-2025 22:34:40.73769[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73769[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:34:40.73770[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73770[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:34:40.73771[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:34:40.73772[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:34:40.73772[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:34:40.73773[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:34:40.73773[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:34:40.73774[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi? 
-----------------------
28-10-2025 22:34:40.73775[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
28-10-2025 22:34:40.73775[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
28-10-2025 22:34:40.73776[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?' to the front of the [that_raw] array 
-----------------------
28-10-2025 22:34:40.73777[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
28-10-2025 22:34:40.73779[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?' to the front of the [that] array 
-----------------------
28-10-2025 22:34:40.73781[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita lagi asyik ngobrolin musik nih, zen.' 
-----------------------
28-10-2025 22:34:40.73781[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita lagi asyik ngobrolin musik nih, zen.' 
-----------------------
28-10-2025 22:34:40.73783[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN' 
-----------------------
28-10-2025 22:34:40.73783[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN' 
-----------------------
28-10-2025 22:34:40.73784[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:34:40.73784[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:34:40.73785[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73785[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:34:40.73786[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?' to the front of the [parsed_template] array 
-----------------------
28-10-2025 22:34:40.73787[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
28-10-2025 22:34:40.73788[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>' to the front of the [template] array 
-----------------------
28-10-2025 22:34:40.73789[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
28-10-2025 22:34:40.73790[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
28-10-2025 22:34:40.73791[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'ganti topik aja',
      'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
28-10-2025 22:34:40.73985[4][4] - Elapsed time: 1.944 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
28-10-2025 22:34:40.74006[3][4] - Elapsed time: 0.206 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
28-10-2025 22:34:40.74031[2][4] - Elapsed time: 0.248 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
28-10-2025 22:34:40.74032[4][4] - Elapsed time: 0.015 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
28-10-2025 22:34:40.74033[2][4] - Elapsed time: 0.008 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
28-10-2025 22:34:40.74035[4][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"ganti topik aja","botsay":"Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"ganti topik aja","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"329","bot_id":"1","pattern":"*","thatpattern":"","topic":"MUSIK","filename":"bot.aiml","template":"<random>\n                <li>Kita lagi asyik ngobrolin musik nih, <get name=\"namaku\"\/>. Mau bahas genre apa lagi?<\/li>\n                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?<\/li>\n                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?<\/li>\n            <\/random>","score":302,"current_that":"maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz","aiml_id":"329","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
28-10-2025 22:34:40.74056[2][4] - Elapsed time: 0.219 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
28-10-2025 22:34:40.74059[0][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 10.748 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => ganti topik aja
    [conversation] => Array
        (
            [convo_id] => d691a9f1d78e60289ed8ed3fa176672d
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 4
            [totallines] => 1
            [rawSay] => ganti topik aja
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 329
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => MUSIK
                    [filename] => bot.aiml
                    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
                    [score] => 302
                    [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
                    [aiml_id] => 329
                    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => ganti topik aja
            [lookingfor] => GANTI TOPIK AJA
            [category_id] => 329
            [pattern] => *
            [thatpattern] => 
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [html_template] => 
            [topic] => MUSIK
            [score] => 302
            [aiml_id] => 329
            [stars] => Array
                (
                    [1] => ganti topik aja
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
        )

    [client_properties] => Array
        (
            [ip_address] => 182.8.195.90
            [name] => Seeker
            [namaku] => zen
            [topic] => MUSIK
            [musikfavorit] => rock
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Maaf, aku kurang paham
                    [1] =>  Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
                )

            [2] => Array
                (
                    [0] => Ngomongin musik aja yuk
                    [1] =>  Siapa penyanyi favoritmu?
                )

            [3] => Array
                (
                    [0] => Maaf, aku kurang paham
                    [1] =>  Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
                )

            [4] => Array
                (
                    [0] => Ngomongin musik aja yuk
                    [1] =>  Siapa penyanyi favoritmu?
                )

            [5] => Array
                (
                    [0] => Ngomongin musik aja yuk
                    [1] =>  Siapa penyanyi favoritmu?
                )

            [6] => Array
                (
                    [0] => Band Rock Indonesia legendaris itu ada Slank, Dewa 19, Kotak
                    [1] =>  Kalau luar ada Queen, Nirvana, atau Green Day
                    [2] =>  Kamu anak rock?
                )

            [7] => Array
                (
                    [0] => Oh, kamu suka rock ya! Keren
                    [1] =>  Siapa artis rock favoritmu?
                )

            [8] => Array
                (
                    [0] => Sebagai AI, aku nggak bisa \'mendengar\' musik, tapi aku punya banyak data soal itu! Aku tahu banyak genre dan artis
                    [1] =>  Kamu suka musik apa?
                )

            [9] => Array
                (
                    [0] => Kita lagi asyik ngobrolin musik nih, zen
                    [1] =>  Mau bahas genre apa lagi?
                )

            [10] => Array
                (
                    [0] => Ngomongin musik aja yuk
                    [1] =>  Siapa penyanyi favoritmu?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MAU BAHAS GENRE APA LAGI
                    [2] => KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN
                )

            [2] => Array
                (
                    [1] => MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ
                )

            [3] => Array
                (
                    [1] => NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU
                )

            [4] => Array
                (
                    [1] => MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ
                )

            [5] => Array
                (
                    [1] => NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU
                )

            [6] => Array
                (
                    [1] => NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU
                )

            [7] => Array
                (
                    [1] => BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK
                )

            [8] => Array
                (
                    [1] => OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU
                )

            [9] => Array
                (
                    [1] => SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA
                )

            [10] => Array
                (
                    [1] => KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => ganti topik aja
            [2] => SIAPA NAMAKU
            [3] => SIAPA NAMAMU
            [4] => NAMAKU BAGAS
            [5] => HALO NAMAKU BAGAS
            [6] => AKU ANAK MUSIK
            [7] => CONTOH ARTIS ROCK
            [8] => AKU SUKA MUSIK ROCK
            [9] => KAMU SUKA MUSIK
            [10] => NIKI
        )

    [time_start] => 1761665680.7298
    [user_say] => Array
        (
            [1] => GANTI TOPIK AJA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Mau bahas genre apa lagi?
                    [3] => Kita lagi asyik ngobrolin musik nih, zen.
                )

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

    [parsed_template] => Array
        (
            [1] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li> <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li> <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"ganti topik aja","botsay":"Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"ganti topik aja","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"329","bot_id":"1","pattern":"*","thatpattern":"","topic":"MUSIK","filename":"bot.aiml","template":"<random>\n                <li>Kita lagi asyik ngobrolin musik nih, <get name=\"namaku\"\/>. Mau bahas genre apa lagi?<\/li>\n                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?<\/li>\n                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?<\/li>\n            <\/random>","score":302,"current_that":"maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz","aiml_id":"329","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

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