28-10-2025 22:35:18.84754[0][4] - Elapsed time: 4.650 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:35:18.84777[4][4] - Elapsed time: 0.229 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
28-10-2025 22:35:18.84795[4][4] - Elapsed time: 0.181 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
28-10-2025 22:35:18.84805[4][4] - Elapsed time: 0.098 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
28-10-2025 22:35:18.84839[4][4] - Elapsed time: 0.341 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
28-10-2025 22:35:18.84840[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
28-10-2025 22:35:18.84854[1][4] - Elapsed time: 0.143 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:35:18.84890[0][4] - Elapsed time: 0.362 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 861a9f42a9cab50c17a726f4fbfc7d8b 
-----------------------
28-10-2025 22:35:18.84891[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'hai'. 
-----------------------
28-10-2025 22:35:18.84893[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
28-10-2025 22:35:18.84894[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
28-10-2025 22:35:18.84895[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:35:18.84920[4][4] - Elapsed time: 0.256 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
28-10-2025 22:35:18.84922[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
28-10-2025 22:35:18.84923[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:35:18.84952[2][4] - Elapsed time: 0.291 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
28-10-2025 22:35:18.84953[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
28-10-2025 22:35:18.84977[3][4] - Elapsed time: 0.238 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:35:18.85001[2][4] - Elapsed time: 0.242 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
28-10-2025 22:35:18.85007[2][4] - Elapsed time: 0.061 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on hai. 
-----------------------
28-10-2025 22:35:18.85009[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
28-10-2025 22:35:18.85049[4][4] - Elapsed time: 0.407 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
28-10-2025 22:35:18.85063[4][4] - Elapsed time: 0.135 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
28-10-2025 22:35:18.85064[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HAI
Convo id: 861a9f42a9cab50c17a726f4fbfc7d8b
Bot id: 1
Format: json 
-----------------------
28-10-2025 22:35:18.85065[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
28-10-2025 22:35:18.85065[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
28-10-2025 22:35:18.85066[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
28-10-2025 22:35:18.85097[1][4] - Elapsed time: 0.310 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => halo
    [1] => namaku bagas
    [2] => siapa namaku
    [3] => ganti topik
    [4] => siapa namaku
    [5] => ganti topik aja
    [6] => siapa namaku
    [7] => siapa namamu
    [8] => namaku bagas
    [9] => halo namaku bagas
)
 
-----------------------
28-10-2025 22:35:18.85099[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
28-10-2025 22:35:18.85100[1][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo, bagas ! Ada yang bisa aku bantu?
    [1] => Halo bagas ! Senang berkenalan denganmu.
    [2] => Nama kamu zen, kan? Aku ingat!
    [3] => Oke, udahan dulu ya ngobrolin musiknya. Mau bahas apa kita sekarang?
    [4] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [5] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
    [6] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [7] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [8] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [9] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
)
 
-----------------------
28-10-2025 22:35:18.85102[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:35:18.85103[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:35:18.85103[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:35:18.85104[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:35:18.85104[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:35:18.85105[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:35:18.85106[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:35:18.85107[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:35:18.85107[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:35:18.85110[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
28-10-2025 22:35:18.85117[4][4] - Elapsed time: 0.070 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:35:18.85118[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:35:18.85119[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:35:18.85120[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:35:18.85121[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:35:18.85121[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:35:18.85122[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:35:18.85123[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:35:18.85123[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:35:18.85124[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:35:18.85124[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:35:18.85125[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:35:18.85125[2][4] - Elapsed time: 0.005 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:35:18.85126[4][4] - Elapsed time: 0.010 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:35:18.85127[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:35:18.85128[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:35:18.85128[4][4] - Elapsed time: 0.004 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:35:18.85129[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:35:18.85130[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:35:18.85130[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:35:18.85131[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:35:18.85131[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:35:18.85132[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:35:18.85133[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:35:18.85133[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:35:18.85134[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:35:18.85134[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:35:18.85135[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:35:18.85136[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:35:18.85136[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:35:18.85137[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:35:18.85137[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:35:18.85138[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:35:18.85139[4][4] - Elapsed time: 0.006 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:35:18.85139[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:35:18.85139[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:35:18.85140[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:35:18.85141[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:35:18.85141[2][4] - Elapsed time: 0.005 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:35:18.85142[4][4] - Elapsed time: 0.008 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:35:18.85143[4][4] - Elapsed time: 0.009 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:35:18.85144[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:35:18.85144[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:35:18.85145[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:35:18.85146[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:35:18.85146[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:35:18.85147[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:35:18.85147[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:35:18.85148[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:35:18.85148[4][4] - Elapsed time: 0.007 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:35:18.85149[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:35:18.85149[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:35:18.85150[4][4] - Elapsed time: 0.008 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:35:18.85151[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:35:18.85152[4][4] - Elapsed time: 0.011 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:35:18.85152[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:35:18.85153[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:35:18.85154[2][4] - Elapsed time: 0.008 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:35:18.85154[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:35:18.85155[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:35:18.85155[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:35:18.85156[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:35:18.85157[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:35:18.85157[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:35:18.85158[2][4] - Elapsed time: 0.008 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:35:18.85159[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:35:18.85159[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:35:18.85160[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:35:18.85161[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:35:18.85161[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:35:18.85162[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  udahan dulu ya ngobrolin musiknya
    [2] =>  Mau bahas apa kita sekarang
    [3] => 
)

 
-----------------------
28-10-2025 22:35:18.85162[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:35:18.85163[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
28-10-2025 22:35:18.85164[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
28-10-2025 22:35:18.85164[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
28-10-2025 22:35:18.85165[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
28-10-2025 22:35:18.85165[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
28-10-2025 22:35:18.85166[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' to the front of the [that] array 
-----------------------
28-10-2025 22:35:18.85167[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
28-10-2025 22:35:18.85167[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
28-10-2025 22:35:18.85168[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
28-10-2025 22:35:18.85168[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
28-10-2025 22:35:18.85169[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:35:18.85170[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu zen
    [1] =>  kan
    [2] =>  Aku ingat
    [3] => 
)

 
-----------------------
28-10-2025 22:35:18.85170[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:35:18.85171[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:35:18.85171[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:35:18.85172[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:35:18.85172[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:35:18.85174[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:35:18.85174[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA KAMU ZEN KAN AKU INGAT' to the front of the [that] array 
-----------------------
28-10-2025 22:35:18.85175[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:35:18.85176[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:35:18.85177[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:35:18.85178[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:35:18.85179[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:35:18.85180[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo bagas 
    [1] =>  Senang berkenalan denganmu
    [2] => 
)

 
-----------------------
28-10-2025 22:35:18.85181[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:35:18.85181[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo bagas  Senang berkenalan denganmu ' 
-----------------------
28-10-2025 22:35:18.85182[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo bagas  Senang berkenalan denganmu ' 
-----------------------
28-10-2025 22:35:18.85182[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo bagas  Senang berkenalan denganmu ' 
-----------------------
28-10-2025 22:35:18.85183[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO BAGAS SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:35:18.85184[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO BAGAS SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:35:18.85184[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO BAGAS SENANG BERKENALAN DENGANMU' to the front of the [that] array 
-----------------------
28-10-2025 22:35:18.85185[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO BAGAS SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:35:18.85186[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO BAGAS SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:35:18.85186[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO BAGAS SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:35:18.85187[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO BAGAS SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:35:18.85188[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:35:18.85188[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  bagas 
    [2] =>  Ada yang bisa aku bantu
    [3] => 
)

 
-----------------------
28-10-2025 22:35:18.85189[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:35:18.85189[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo bagas  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:35:18.85190[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo bagas  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:35:18.85190[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo bagas  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:35:18.85191[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO BAGAS ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85191[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO BAGAS ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85192[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO BAGAS ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
28-10-2025 22:35:18.85193[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO BAGAS ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85193[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO BAGAS ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85194[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO BAGAS ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85194[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO BAGAS ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85195[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
28-10-2025 22:35:18.85196[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:35:18.85197[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo namaku bagas
)

 
-----------------------
28-10-2025 22:35:18.85197[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:35:18.85198[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:35:18.85198[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:35:18.85199[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo namaku bagas' 
-----------------------
28-10-2025 22:35:18.85200[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:35:18.85200[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:35:18.85201[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:35:18.85201[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
28-10-2025 22:35:18.85202[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:35:18.85203[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku bagas
)

 
-----------------------
28-10-2025 22:35:18.85203[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:35:18.85204[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku bagas' 
-----------------------
28-10-2025 22:35:18.85204[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku bagas' 
-----------------------
28-10-2025 22:35:18.85205[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku bagas' 
-----------------------
28-10-2025 22:35:18.85205[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU BAGAS' 
-----------------------
28-10-2025 22:35:18.85206[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU BAGAS' 
-----------------------
28-10-2025 22:35:18.85206[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:35:18.85207[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:35:18.85208[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namamu
)

 
-----------------------
28-10-2025 22:35:18.85208[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:35:18.85209[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namamu' 
-----------------------
28-10-2025 22:35:18.85209[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namamu' 
-----------------------
28-10-2025 22:35:18.85209[4][4] - Elapsed time: 0.005 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namamu' 
-----------------------
28-10-2025 22:35:18.85210[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAMU' 
-----------------------
28-10-2025 22:35:18.85212[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAMU' 
-----------------------
28-10-2025 22:35:18.85212[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:35:18.85213[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:35:18.85213[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
28-10-2025 22:35:18.85215[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:35:18.85216[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85217[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85217[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85218[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:35:18.85218[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:35:18.85219[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:35:18.85219[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:35:18.85220[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik aja
)

 
-----------------------
28-10-2025 22:35:18.85220[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:35:18.85221[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik aja' 
-----------------------
28-10-2025 22:35:18.85221[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik aja' 
-----------------------
28-10-2025 22:35:18.85222[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik aja' 
-----------------------
28-10-2025 22:35:18.85223[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK AJA' 
-----------------------
28-10-2025 22:35:18.85224[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK AJA' 
-----------------------
28-10-2025 22:35:18.85224[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:35:18.85225[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:35:18.85225[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
28-10-2025 22:35:18.85226[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:35:18.85226[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85227[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85227[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85228[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:35:18.85228[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:35:18.85229[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
28-10-2025 22:35:18.85230[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:35:18.85230[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
28-10-2025 22:35:18.85231[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:35:18.85231[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
28-10-2025 22:35:18.85232[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
28-10-2025 22:35:18.85232[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
28-10-2025 22:35:18.85233[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
28-10-2025 22:35:18.85233[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
28-10-2025 22:35:18.85234[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [input] array 
-----------------------
28-10-2025 22:35:18.85234[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:35:18.85235[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
28-10-2025 22:35:18.85235[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:35:18.85236[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85236[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85237[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
28-10-2025 22:35:18.85238[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:35:18.85238[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
28-10-2025 22:35:18.85239[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:35:18.85239[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:35:18.85240[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku bagas
)

 
-----------------------
28-10-2025 22:35:18.85240[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:35:18.85241[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku bagas' 
-----------------------
28-10-2025 22:35:18.85241[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku bagas' 
-----------------------
28-10-2025 22:35:18.85242[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku bagas' 
-----------------------
28-10-2025 22:35:18.85243[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU BAGAS' 
-----------------------
28-10-2025 22:35:18.85243[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU BAGAS' 
-----------------------
28-10-2025 22:35:18.85243[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:35:18.85244[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:35:18.85245[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
28-10-2025 22:35:18.85245[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:35:18.85246[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
28-10-2025 22:35:18.85246[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
28-10-2025 22:35:18.85247[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
28-10-2025 22:35:18.85247[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
28-10-2025 22:35:18.85248[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
28-10-2025 22:35:18.85249[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
28-10-2025 22:35:18.85301[2][4] - Elapsed time: 0.517 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
28-10-2025 22:35:18.85302[3][4] - Elapsed time: 0.013 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:35:18.85326[4][4] - Elapsed time: 0.232 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
28-10-2025 22:35:18.85327[0][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
28-10-2025 22:35:18.85328[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
28-10-2025 22:35:18.85329[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HAI: raw say = hai 
-----------------------
28-10-2025 22:35:18.85329[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
28-10-2025 22:35:18.85330[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [user_say] array 
-----------------------
28-10-2025 22:35:18.85330[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
28-10-2025 22:35:18.85332[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = hai, RAW say = hai 
-----------------------
28-10-2025 22:35:18.85332[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'hai' to the front of the [input] array 
-----------------------
28-10-2025 22:35:18.85333[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
28-10-2025 22:35:18.85334[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HAI' 
-----------------------
28-10-2025 22:35:18.85334[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
28-10-2025 22:35:18.85336[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
28-10-2025 22:35:18.85359[4][4] - Elapsed time: 0.235 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
28-10-2025 22:35:18.85361[3][4] - Elapsed time: 0.021 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 (
        'HAI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO BAGAS ADA YANG BISA AKU BANTU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:35:18.85386[2][4] - Elapsed time: 0.251 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
28-10-2025 22:35:18.85388[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
28-10-2025 22:35:18.85388[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:35:18.85410[4][4] - Elapsed time: 0.221 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
28-10-2025 22:35:18.85413[3][4] - Elapsed time: 0.022 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 (
        'HAI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO BAGAS ADA YANG BISA AKU BANTU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:35:18.85447[3][4] - Elapsed time: 0.340 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
28-10-2025 22:35:18.85448[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
28-10-2025 22:35:18.85471[1][4] - Elapsed time: 0.231 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO BAGAS ADA YANG BISA AKU BANTU 
-----------------------
28-10-2025 22:35:18.85472[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
28-10-2025 22:35:18.85473[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 'HAI' 
-----------------------
28-10-2025 22:35:18.85491[4][4] - Elapsed time: 0.176 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
28-10-2025 22:35:18.85492[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:35:18.85517[4][4] - Elapsed time: 0.251 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 336
            [bot_id] => 1
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>
            [score] => 260
            [current_that] => halo bagas ada yang bisa aku bantu
            [aiml_id] => 336
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 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] => halo bagas ada yang bisa aku bantu
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
28-10-2025 22:35:18.85519[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 336
            [bot_id] => 1
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>
            [score] => 260
            [current_that] => halo bagas ada yang bisa aku bantu
            [aiml_id] => 336
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
        )

)

 
-----------------------
28-10-2025 22:35:18.85544[4][4] - Elapsed time: 0.255 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 336
    [bot_id] => 1
    [pattern] => HAI
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>
    [score] => 260
    [current_that] => halo bagas ada yang bisa aku bantu
    [aiml_id] => 336
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
)
 
-----------------------
28-10-2025 22:35:18.85545[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:35:18.85547[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:336 (HAI) 
-----------------------
28-10-2025 22:35:18.85547[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
28-10-2025 22:35:18.85548[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HAI' 
-----------------------
28-10-2025 22:35:18.85549[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:35:18.85549[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:35:18.85550[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 336
    [category_id] => 336
    [html_template] => 
    [lookingfor] => HAI
    [pattern] => HAI
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => hai
)
 
-----------------------
28-10-2025 22:35:18.85551[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:35:18.85552[2][4] - Elapsed time: 0.007 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:35:18.85558[4][4] - Elapsed time: 0.059 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random></template> 
-----------------------
28-10-2025 22:35:18.85572[2][4] - Elapsed time: 0.145 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:35:18.85577[4][4] - Elapsed time: 0.046 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random></template>
 
-----------------------
28-10-2025 22:35:18.85578[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:35:18.85581[2][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:35:18.85583[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random> 
-----------------------
28-10-2025 22:35:18.85584[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:35:18.85584[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
28-10-2025 22:35:18.85585[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:35:18.85591[4][4] - Elapsed time: 0.060 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Halo, 
                    [1] => ! Ada yang bisa aku bantu?
                )

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

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Hai juga! Lagi apa nih?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Halo! Senang bisa ngobrol sama kamu.
        )

)
 
-----------------------
28-10-2025 22:35:18.85592[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:35:18.85593[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:35:18.85594[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li> 
-----------------------
28-10-2025 22:35:18.85595[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:35:18.85595[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:35:18.85596[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo, </text> 
-----------------------
28-10-2025 22:35:18.85597[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:35:18.85597[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:35:18.85598[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:35:18.85598[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, ' to the response array. tag name is text 
-----------------------
28-10-2025 22:35:18.85599[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:35:18.85599[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, 
)

 
-----------------------
28-10-2025 22:35:18.85600[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:35:18.85601[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, ' 
-----------------------
28-10-2025 22:35:18.85601[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, ' to the response array. tag name is li. 
-----------------------
28-10-2025 22:35:18.85602[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:35:18.85603[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 3. element XML = <get name="namaku"/> 
-----------------------
28-10-2025 22:35:18.85603[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:35:18.85604[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:35:18.85605[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => bagas
    [topic] => 
    [musikfavorit] => rock
)
 
-----------------------
28-10-2025 22:35:18.85605[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:35:18.85606[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => bagas
    [topic] => 
    [musikfavorit] => rock
)
 
-----------------------
28-10-2025 22:35:18.85607[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'bagas' to the response array. tag name is get 
-----------------------
28-10-2025 22:35:18.85607[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:35:18.85608[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bagas
)

 
-----------------------
28-10-2025 22:35:18.85608[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:35:18.85609[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bagas' 
-----------------------
28-10-2025 22:35:18.85609[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'bagas' to the response array. tag name is li. 
-----------------------
28-10-2025 22:35:18.85610[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:35:18.85611[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>! Ada yang bisa aku bantu?</text> 
-----------------------
28-10-2025 22:35:18.85611[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:35:18.85612[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:35:18.85612[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:35:18.85613[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '! Ada yang bisa aku bantu?' to the response array. tag name is text 
-----------------------
28-10-2025 22:35:18.85613[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:35:18.85614[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:35:18.85614[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:35:18.85615[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:35:18.85615[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '! Ada yang bisa aku bantu?' to the response array. tag name is li. 
-----------------------
28-10-2025 22:35:18.85616[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:35:18.85617[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, 
    [1] => bagas
    [2] => ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:35:18.85617[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:35:18.85618[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, bagas ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:35:18.85618[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo, bagas ! Ada yang bisa aku bantu?' for output. 
-----------------------
28-10-2025 22:35:18.85619[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, bagas ! Ada yang bisa aku bantu?' to the response array. tag name is random 
-----------------------
28-10-2025 22:35:18.85619[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:35:18.85620[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, bagas ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:35:18.85620[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:35:18.85621[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, bagas ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:35:18.85621[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, bagas ! Ada yang bisa aku bantu?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:35:18.85622[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:35:18.85623[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, bagas ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:35:18.85623[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:35:18.85624[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, bagas ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:35:18.85625[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo, bagas ! Ada yang bisa aku bantu? 
-----------------------
28-10-2025 22:35:18.85626[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
28-10-2025 22:35:18.85626[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:35:18.85627[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, bagas ! Ada yang bisa aku bantu?' to the front of the [that_raw] array 
-----------------------
28-10-2025 22:35:18.85627[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
28-10-2025 22:35:18.85629[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, bagas ! Ada yang bisa aku bantu?' to the front of the [that] array 
-----------------------
28-10-2025 22:35:18.85630[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo, bagas !' 
-----------------------
28-10-2025 22:35:18.85631[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo, bagas !' 
-----------------------
28-10-2025 22:35:18.85632[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO BAGAS' 
-----------------------
28-10-2025 22:35:18.85632[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO BAGAS' 
-----------------------
28-10-2025 22:35:18.85633[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:35:18.85633[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:35:18.85634[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85635[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:35:18.85636[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, bagas ! Ada yang bisa aku bantu?' to the front of the [parsed_template] array 
-----------------------
28-10-2025 22:35:18.85636[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
28-10-2025 22:35:18.85637[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>' to the front of the [template] array 
-----------------------
28-10-2025 22:35:18.85638[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
28-10-2025 22:35:18.85639[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
28-10-2025 22:35:18.85640[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 ,
      'hai',
      'Halo, bagas ! Ada yang bisa aku bantu?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
28-10-2025 22:35:18.85854[4][4] - Elapsed time: 2.143 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
28-10-2025 22:35:18.85874[3][4] - Elapsed time: 0.196 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:35:18.85901[2][4] - Elapsed time: 0.273 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
28-10-2025 22:35:18.85903[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
28-10-2025 22:35:18.85903[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
28-10-2025 22:35:18.85906[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"hai","botsay":"Halo, bagas ! Ada yang bisa aku bantu?","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":"hai","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":"336","bot_id":"1","pattern":"HAI","thatpattern":"","topic":"","filename":"bot.aiml","template":"<random>\n            <li>Halo, <get name=\"namaku\"\/>! Ada yang bisa aku bantu?<\/li>\n            <li>Hai juga! Lagi apa nih?<\/li>\n            <li>Halo! Senang bisa ngobrol sama kamu.<\/li>\n        <\/random>","score":260,"current_that":"halo bagas ada yang bisa aku bantu","aiml_id":"336","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)"}}} 
-----------------------
28-10-2025 22:35:18.85932[2][4] - Elapsed time: 0.255 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
28-10-2025 22:35:18.85935[0][4] - Elapsed time: 0.037 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 16.440 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => hai
    [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] => hai
            [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] => 336
                    [bot_id] => 1
                    [pattern] => HAI
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>
                    [score] => 260
                    [current_that] => halo bagas ada yang bisa aku bantu
                    [aiml_id] => 336
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => hai
            [lookingfor] => HAI
            [category_id] => 336
            [pattern] => HAI
            [thatpattern] => 
            [template] => <random>
            <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li>
            <li>Hai juga! Lagi apa nih?</li>
            <li>Halo! Senang bisa ngobrol sama kamu.</li>
        </random>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 336
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Halo, bagas ! Ada yang bisa aku bantu?
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Halo, bagas ! Ada yang bisa aku bantu?
                )

            [2] => Array
                (
                    [0] => Halo bagas ! Senang berkenalan denganmu
                    [1] => 
                )

            [3] => Array
                (
                    [0] => Nama kamu zen, kan? Aku ingat!
                )

            [4] => Array
                (
                    [0] => Oke, udahan dulu ya ngobrolin musiknya
                    [1] =>  Mau bahas apa kita sekarang?
                )

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

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

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

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

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

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

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => ADA YANG BISA AKU BANTU
                    [2] => HALO BAGAS
                )

            [2] => Array
                (
                    [1] => HALO BAGAS ADA YANG BISA AKU BANTU
                )

            [3] => Array
                (
                    [1] => HALO BAGAS SENANG BERKENALAN DENGANMU
                )

            [4] => Array
                (
                    [1] => NAMA KAMU ZEN KAN AKU INGAT
                )

            [5] => Array
                (
                    [1] => OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG
                )

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => hai
            [2] => HALO
            [3] => NAMAKU BAGAS
            [4] => SIAPA NAMAKU
            [5] => GANTI TOPIK
            [6] => SIAPA NAMAKU
            [7] => GANTI TOPIK AJA
            [8] => SIAPA NAMAKU
            [9] => SIAPA NAMAMU
            [10] => NAMAKU BAGAS
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Ada yang bisa aku bantu?
                    [3] => Halo, bagas !
                )

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

    [parsed_template] => Array
        (
            [1] => Halo, bagas ! Ada yang bisa aku bantu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Halo, <get name="namaku"/>! Ada yang bisa aku bantu?</li> <li>Hai juga! Lagi apa nih?</li> <li>Halo! Senang bisa ngobrol sama kamu.</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"hai","botsay":"Halo, bagas ! Ada yang bisa aku bantu?","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":"hai","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":"336","bot_id":"1","pattern":"HAI","thatpattern":"","topic":"","filename":"bot.aiml","template":"<random>\n            <li>Halo, <get name=\"namaku\"\/>! Ada yang bisa aku bantu?<\/li>\n            <li>Hai juga! Lagi apa nih?<\/li>\n            <li>Halo! Senang bisa ngobrol sama kamu.<\/li>\n        <\/random>","score":260,"current_that":"halo bagas ada yang bisa aku bantu","aiml_id":"336","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)"}}}
)

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