10-09-2025 21:15:32.11958[0][4] - Elapsed time: 22.876 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              Apache/2.4.51 (Win64) OpenSSL/1.1.1l PHP/7.3.33
  PHP Version:                  7.3.33
  OS:                           Windows NT
  OS Version:                   build 22631 (Windows 10)
  MySQL Version:                10.4.22-MariaDB
  Multi-byte functions enabled: true 
-----------------------
10-09-2025 21:15:32.12340[4][4] - Elapsed time: 3.816 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-09-2025 21:15:32.12518[4][4] - Elapsed time: 1.780 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-09-2025 21:15:32.12560[4][4] - Elapsed time: 0.425 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-09-2025 21:15:32.12751[4][4] - Elapsed time: 1.913 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-09-2025 21:15:32.12754[4][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-09-2025 21:15:32.12794[1][4] - Elapsed time: 0.401 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in C:\xmpp\htdocs\Program-O-master\chatbot\conversation_start.php on Line 118 
-----------------------
10-09-2025 21:15:32.12820[0][4] - Elapsed time: 0.259 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 8srn04t2p493u1df8jcgvrh2hq 
-----------------------
10-09-2025 21:15:32.12821[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'KENAPA SUKA ITU'. 
-----------------------
10-09-2025 21:15:32.12822[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-09-2025 21:15:32.12823[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-09-2025 21:15:32.12824[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `Syifa`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
10-09-2025 21:15:32.12853[4][4] - Elapsed time: 0.295 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: hqh8i4b934ujqe69h7bljk2dcf 
-----------------------
10-09-2025 21:15:32.12855[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-09-2025 21:15:32.12856[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
10-09-2025 21:15:32.12878[2][4] - Elapsed time: 0.227 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-09-2025 21:15:32.12881[2][4] - Elapsed time: 0.033 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-09-2025 21:15:32.12915[3][4] - Elapsed time: 0.338 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `Syifa`.`client_properties` WHERE `user_id` = 5 AND `bot_id` = 1; 
-----------------------
10-09-2025 21:15:32.12936[2][4] - Elapsed time: 0.211 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-09-2025 21:15:32.12938[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on KENAPA. 
-----------------------
10-09-2025 21:15:32.12939[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-09-2025 21:15:32.12973[2][4] - Elapsed time: 0.342 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-09-2025 21:15:32.12975[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on SUKA. 
-----------------------
10-09-2025 21:15:32.12976[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-09-2025 21:15:32.12977[2][4] - Elapsed time: 0.006 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ITU. 
-----------------------
10-09-2025 21:15:32.12978[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KENAPA SUKA ITU' 
-----------------------
10-09-2025 21:15:32.12979[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENAPA SUKA ITU' 
-----------------------
10-09-2025 21:15:32.12979[2][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: KENAPA SUKA ITU
Convo id: 8srn04t2p493u1df8jcgvrh2hq
Bot id: 1
Format: json 
-----------------------
10-09-2025 21:15:32.12980[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-09-2025 21:15:32.12981[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-09-2025 21:15:32.12981[3][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `Syifa`.`conversation_log` WHERE `user_id` = 5 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-09-2025 21:15:32.13005[1][4] - Elapsed time: 0.239 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => KAMU SUKA NGAPAIN AJA
    [1] => Hello
    [2] => Hello
    [3] => Hii!! Apa kabar kamu ??
    [4] => Hii!! Apa kabar kamu ??
)
 
-----------------------
10-09-2025 21:15:32.13006[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
10-09-2025 21:15:32.13006[1][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hobiku membaca, main game, dan coding.
    [1] => Hii!! Apa kabar kamu??
    [2] => Halo! Senang bertemu denganmu.
    [3] => Maaf, tidak ada jawaban.
    [4] => Maaf, tidak ada jawaban.
)
 
-----------------------
10-09-2025 21:15:32.13007[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13008[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
10-09-2025 21:15:32.13008[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13009[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
10-09-2025 21:15:32.13010[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
10-09-2025 21:15:32.13010[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
10-09-2025 21:15:32.13012[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13012[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13013[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
10-09-2025 21:15:32.13013[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-09-2025 21:15:32.13015[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13015[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13016[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13016[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13017[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13017[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
10-09-2025 21:15:32.13018[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13018[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
10-09-2025 21:15:32.13018[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
10-09-2025 21:15:32.13019[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
10-09-2025 21:15:32.13019[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13020[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13020[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF TIDAK ADA JAWABAN' to the front of the [that] array 
-----------------------
10-09-2025 21:15:32.13021[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13021[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13021[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13022[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
10-09-2025 21:15:32.13022[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13023[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bertemu denganmu
    [2] => 
)

 
-----------------------
10-09-2025 21:15:32.13023[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13024[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu denganmu ' 
-----------------------
10-09-2025 21:15:32.13024[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu denganmu ' 
-----------------------
10-09-2025 21:15:32.13024[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu denganmu ' 
-----------------------
10-09-2025 21:15:32.13025[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
10-09-2025 21:15:32.13025[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
10-09-2025 21:15:32.13025[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BERTEMU DENGANMU' to the front of the [that] array 
-----------------------
10-09-2025 21:15:32.13026[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
10-09-2025 21:15:32.13026[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
10-09-2025 21:15:32.13027[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
10-09-2025 21:15:32.13027[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGANMU' 
-----------------------
10-09-2025 21:15:32.13028[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13028[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu
    [3] => 
    [4] => 
)

 
-----------------------
10-09-2025 21:15:32.13028[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13029[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu ' 
-----------------------
10-09-2025 21:15:32.13029[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu ' 
-----------------------
10-09-2025 21:15:32.13030[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
10-09-2025 21:15:32.13030[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13030[4][4] - Elapsed time: 0.004 milliseconds  
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13031[2][4] - Elapsed time: 0.003 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [that] array 
-----------------------
10-09-2025 21:15:32.13031[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13032[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13032[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13033[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13033[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13033[2][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hobiku membaca
    [1] =>  main game
    [2] =>  dan coding
    [3] => 
)

 
-----------------------
10-09-2025 21:15:32.13034[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13034[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hobiku membaca main game dan coding ' 
-----------------------
10-09-2025 21:15:32.13034[4][4] - Elapsed time: 0.003 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hobiku membaca main game dan coding ' 
-----------------------
10-09-2025 21:15:32.13035[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hobiku membaca main game dan coding ' 
-----------------------
10-09-2025 21:15:32.13035[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
10-09-2025 21:15:32.13036[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
10-09-2025 21:15:32.13036[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HOBIKU MEMBACA MAIN GAME DAN CODING' to the front of the [that] array 
-----------------------
10-09-2025 21:15:32.13036[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
10-09-2025 21:15:32.13037[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
10-09-2025 21:15:32.13037[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
10-09-2025 21:15:32.13038[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HOBIKU MEMBACA MAIN GAME DAN CODING' 
-----------------------
10-09-2025 21:15:32.13038[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
10-09-2025 21:15:32.13039[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13039[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu 
    [3] => 
    [4] => 
)

 
-----------------------
10-09-2025 21:15:32.13039[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13040[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu  ' 
-----------------------
10-09-2025 21:15:32.13040[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu  ' 
-----------------------
10-09-2025 21:15:32.13041[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu  ' 
-----------------------
10-09-2025 21:15:32.13041[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13042[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13042[2][4] - Elapsed time: 0.003 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [input] array 
-----------------------
10-09-2025 21:15:32.13042[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-09-2025 21:15:32.13043[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13043[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hii
    [1] => 
    [2] =>  Apa kabar kamu 
    [3] => 
    [4] => 
)

 
-----------------------
10-09-2025 21:15:32.13044[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13044[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu  ' 
-----------------------
10-09-2025 21:15:32.13045[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu  ' 
-----------------------
10-09-2025 21:15:32.13045[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu  ' 
-----------------------
10-09-2025 21:15:32.13045[4][4] - Elapsed time: 0.004 milliseconds  
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13046[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
10-09-2025 21:15:32.13046[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HII APA KABAR KAMU' to the front of the [input] array 
-----------------------
10-09-2025 21:15:32.13047[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13047[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
10-09-2025 21:15:32.13047[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13048[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
10-09-2025 21:15:32.13048[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
10-09-2025 21:15:32.13048[4][4] - Elapsed time: 0.003 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
10-09-2025 21:15:32.13049[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
10-09-2025 21:15:32.13049[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
10-09-2025 21:15:32.13050[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
10-09-2025 21:15:32.13050[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13051[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hello
)

 
-----------------------
10-09-2025 21:15:32.13051[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13051[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hello' 
-----------------------
10-09-2025 21:15:32.13052[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hello' 
-----------------------
10-09-2025 21:15:32.13052[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hello' 
-----------------------
10-09-2025 21:15:32.13053[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
10-09-2025 21:15:32.13053[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
10-09-2025 21:15:32.13053[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
10-09-2025 21:15:32.13054[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13055[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => KAMU SUKA NGAPAIN AJA
)

 
-----------------------
10-09-2025 21:15:32.13055[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13055[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'KAMU SUKA NGAPAIN AJA' 
-----------------------
10-09-2025 21:15:32.13056[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KAMU SUKA NGAPAIN AJA' 
-----------------------
10-09-2025 21:15:32.13056[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
10-09-2025 21:15:32.13057[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
10-09-2025 21:15:32.13057[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA NGAPAIN AJA' 
-----------------------
10-09-2025 21:15:32.13057[2][4] - Elapsed time: 0.003 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU SUKA NGAPAIN AJA' to the front of the [input] array 
-----------------------
10-09-2025 21:15:32.13096[2][4] - Elapsed time: 0.390 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-09-2025 21:15:32.13098[3][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
10-09-2025 21:15:32.13131[4][4] - Elapsed time: 0.331 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-09-2025 21:15:32.13133[0][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-09-2025 21:15:32.13133[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-09-2025 21:15:32.13134[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = KENAPA SUKA ITU: raw say = KENAPA SUKA ITU 
-----------------------
10-09-2025 21:15:32.13135[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-09-2025 21:15:32.13135[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENAPA SUKA ITU' to the front of the [user_say] array 
-----------------------
10-09-2025 21:15:32.13136[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-09-2025 21:15:32.13137[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = KENAPA SUKA ITU, RAW say = KENAPA SUKA ITU 
-----------------------
10-09-2025 21:15:32.13137[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENAPA SUKA ITU' to the front of the [input] array 
-----------------------
10-09-2025 21:15:32.13138[4][4] - Elapsed time: 0.007 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-09-2025 21:15:32.13138[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KENAPA SUKA ITU' 
-----------------------
10-09-2025 21:15:32.13139[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENAPA SUKA ITU' 
-----------------------
10-09-2025 21:15:32.13140[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-09-2025 21:15:32.13180[4][4] - Elapsed time: 0.402 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-09-2025 21:15:32.13182[3][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `Syifa`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'hqh8i4b934ujqe69h7bljk2dcf'
    AND (
        'KENAPA SUKA ITU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HOBIKU MEMBACA MAIN GAME DAN CODING' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-09-2025 21:15:32.13210[2][4] - Elapsed time: 0.273 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-09-2025 21:15:32.13211[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-09-2025 21:15:32.13212[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-09-2025 21:15:32.13234[4][4] - Elapsed time: 0.226 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-09-2025 21:15:32.13237[3][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `Syifa`.`aiml` WHERE
    bot_id = 1 AND (
        'KENAPA SUKA ITU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HOBIKU MEMBACA MAIN GAME DAN CODING' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-09-2025 21:15:32.13284[3][4] - Elapsed time: 0.474 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-09-2025 21:15:32.13285[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
10-09-2025 21:15:32.13308[1][4] - Elapsed time: 0.228 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HOBIKU MEMBACA MAIN GAME DAN CODING 
-----------------------
10-09-2025 21:15:32.13309[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
10-09-2025 21:15:32.13310[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 'KENAPA SUKA ITU' 
-----------------------
10-09-2025 21:15:32.13320[4][4] - Elapsed time: 0.099 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
10-09-2025 21:15:32.13321[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-09-2025 21:15:32.13341[4][4] - Elapsed time: 0.200 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 58
            [bot_id] => 1
            [pattern] => KENAPA SUKA ITU
            [thatpattern] => AKU SUKA NASI GORENG
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Karena rasanya enak dan praktis untuk dibuat!
            [score] => 263
            [current_that] => hobiku membaca main game dan coding
            [aiml_id] => 58
            [track_score] => current bot (250 points), direct pattern match (7 points), direct word match: kenapa (2 points), direct word match: suka (2 points), direct word match: itu (2 points)
        )

)
 
-----------------------
10-09-2025 21:15:32.13342[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 58
            [bot_id] => 1
            [pattern] => KENAPA SUKA ITU
            [thatpattern] => AKU SUKA NASI GORENG
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Karena rasanya enak dan praktis untuk dibuat!
            [score] => 263
            [current_that] => hobiku membaca main game dan coding
            [aiml_id] => 58
            [track_score] => current bot (250 points), direct pattern match (7 points), direct word match: kenapa (2 points), direct word match: suka (2 points), direct word match: itu (2 points)
        )

)

 
-----------------------
10-09-2025 21:15:32.13348[4][4] - Elapsed time: 0.065 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 58
    [bot_id] => 1
    [pattern] => KENAPA SUKA ITU
    [thatpattern] => AKU SUKA NASI GORENG
    [topic] => 
    [filename] => Syifaa.admin_added.aiml.txt
    [template] => Karena rasanya enak dan praktis untuk dibuat!
    [score] => 263
    [current_that] => hobiku membaca main game dan coding
    [aiml_id] => 58
    [track_score] => current bot (250 points), direct pattern match (7 points), direct word match: kenapa (2 points), direct word match: suka (2 points), direct word match: itu (2 points)
)
 
-----------------------
10-09-2025 21:15:32.13349[2][4] - Elapsed time: 0.004 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-09-2025 21:15:32.13350[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:58 (KENAPA SUKA ITU) 
-----------------------
10-09-2025 21:15:32.13350[3][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-09-2025 21:15:32.13351[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'KENAPA SUKA ITU' 
-----------------------
10-09-2025 21:15:32.13351[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-09-2025 21:15:32.13351[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-09-2025 21:15:32.13353[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 58
    [category_id] => 58
    [html_template] => 
    [lookingfor] => KENAPA SUKA ITU
    [pattern] => KENAPA SUKA ITU
    [score] => 263
    [stars] => Array
        (
        )

    [template] => Karena rasanya enak dan praktis untuk dibuat!
    [thatpattern] => AKU SUKA NASI GORENG
    [that_stars] => Array
        (
        )

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

    [user_raw] => KENAPA SUKA ITU
)
 
-----------------------
10-09-2025 21:15:32.13353[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-09-2025 21:15:32.13354[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
10-09-2025 21:15:32.13355[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Karena rasanya enak dan praktis untuk dibuat!</text></template> 
-----------------------
10-09-2025 21:15:32.13359[2][4] - Elapsed time: 0.043 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-09-2025 21:15:32.13361[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Karena rasanya enak dan praktis untuk dibuat!</text></template>
 
-----------------------
10-09-2025 21:15:32.13362[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-09-2025 21:15:32.13363[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-09-2025 21:15:32.13363[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Karena rasanya enak dan praktis untuk dibuat!</text> 
-----------------------
10-09-2025 21:15:32.13364[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-09-2025 21:15:32.13364[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-09-2025 21:15:32.13365[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-09-2025 21:15:32.13365[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Karena rasanya enak dan praktis untuk dibuat!' to the response array. tag name is text 
-----------------------
10-09-2025 21:15:32.13365[2][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13366[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Karena rasanya enak dan praktis untuk dibuat!
)

 
-----------------------
10-09-2025 21:15:32.13366[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13367[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Karena rasanya enak dan praktis untuk dibuat!' 
-----------------------
10-09-2025 21:15:32.13367[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Karena rasanya enak dan praktis untuk dibuat!' to the response array. tag name is template. 
-----------------------
10-09-2025 21:15:32.13368[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-09-2025 21:15:32.13368[2][4] - Elapsed time: 0.003 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Karena rasanya enak dan praktis untuk dibuat!
)

 
-----------------------
10-09-2025 21:15:32.13368[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-09-2025 21:15:32.13369[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Karena rasanya enak dan praktis untuk dibuat!' 
-----------------------
10-09-2025 21:15:32.13369[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Karena rasanya enak dan praktis untuk dibuat! 
-----------------------
10-09-2025 21:15:32.13370[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-09-2025 21:15:32.13370[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
10-09-2025 21:15:32.13371[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Karena rasanya enak dan praktis untuk dibuat!' to the front of the [that_raw] array 
-----------------------
10-09-2025 21:15:32.13371[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-09-2025 21:15:32.13373[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Karena rasanya enak dan praktis untuk dibuat!' to the front of the [that] array 
-----------------------
10-09-2025 21:15:32.13374[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Karena rasanya enak dan praktis untuk dibuat!' 
-----------------------
10-09-2025 21:15:32.13374[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Karena rasanya enak dan praktis untuk dibuat!' 
-----------------------
10-09-2025 21:15:32.13375[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
10-09-2025 21:15:32.13376[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT' 
-----------------------
10-09-2025 21:15:32.13376[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Karena rasanya enak dan praktis untuk dibuat!' to the front of the [parsed_template] array 
-----------------------
10-09-2025 21:15:32.13377[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-09-2025 21:15:32.13377[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Karena rasanya enak dan praktis untuk dibuat!' to the front of the [template] array 
-----------------------
10-09-2025 21:15:32.13379[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-09-2025 21:15:32.13380[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-09-2025 21:15:32.13381[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `Syifa`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'KENAPA SUKA ITU',
      'Karena rasanya enak dan praktis untuk dibuat!',
      5,
      'hqh8i4b934ujqe69h7bljk2dcf',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-09-2025 21:15:32.13561[4][4] - Elapsed time: 1.803 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-09-2025 21:15:32.13591[3][4] - Elapsed time: 0.296 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `Syifa`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
10-09-2025 21:15:32.13623[2][4] - Elapsed time: 0.321 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-09-2025 21:15:32.13624[4][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-09-2025 21:15:32.13625[2][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-09-2025 21:15:32.13627[4][4] - Elapsed time: 0.019 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"hqh8i4b934ujqe69h7bljk2dcf","usersay":"KENAPA SUKA ITU","botsay":"Karena rasanya enak dan praktis untuk dibuat!","botData":{"convo_id":"hqh8i4b934ujqe69h7bljk2dcf","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"5","totallines":1,"rawSay":"KENAPA SUKA ITU","conversation_lines":"1","remember_up_to":"10","debugemail":"theodorusnatanael0204@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"58","bot_id":"1","pattern":"KENAPA SUKA ITU","thatpattern":"AKU SUKA NASI GORENG","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"Karena rasanya enak dan praktis untuk dibuat!","score":263,"current_that":"hobiku membaca main game dan coding","aiml_id":"58","track_score":"current bot (250 points), direct pattern match (7 points), direct word match: kenapa (2 points), direct word match: suka (2 points), direct word match: itu (2 points)"}}} 
-----------------------
10-09-2025 21:15:32.13654[2][4] - Elapsed time: 0.271 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-09-2025 21:15:32.13658[0][4] - Elapsed time: 0.038 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 39.855 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => KENAPA SUKA ITU
    [conversation] => Array
        (
            [convo_id] => hqh8i4b934ujqe69h7bljk2dcf
            [bot_name] => Syifa
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 5
            [totallines] => 1
            [rawSay] => KENAPA SUKA ITU
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => theodorusnatanael0204@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 58
                    [bot_id] => 1
                    [pattern] => KENAPA SUKA ITU
                    [thatpattern] => AKU SUKA NASI GORENG
                    [topic] => 
                    [filename] => Syifaa.admin_added.aiml.txt
                    [template] => Karena rasanya enak dan praktis untuk dibuat!
                    [score] => 263
                    [current_that] => hobiku membaca main game dan coding
                    [aiml_id] => 58
                    [track_score] => current bot (250 points), direct pattern match (7 points), direct word match: kenapa (2 points), direct word match: suka (2 points), direct word match: itu (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => KENAPA SUKA ITU
            [lookingfor] => KENAPA SUKA ITU
            [category_id] => 58
            [pattern] => KENAPA SUKA ITU
            [thatpattern] => AKU SUKA NASI GORENG
            [template] => Karena rasanya enak dan praktis untuk dibuat!
            [html_template] => 
            [topic] => 
            [score] => 263
            [aiml_id] => 58
            [stars] => Array
                (
                )

            [that_stars] => Array
                (
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Karena rasanya enak dan praktis untuk dibuat!
        )

    [client_properties] => Array
        (
            [ip_address] => ::1
            [name] => Seeker
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Hobiku membaca, main game, dan coding
                    [1] => 
                )

            [2] => Array
                (
                    [0] => Hii!! Apa kabar kamu??
                )

            [3] => Array
                (
                    [0] => Halo! Senang bertemu denganmu
                    [1] => 
                )

            [4] => Array
                (
                    [0] => Maaf, tidak ada jawaban
                    [1] => 
                )

            [5] => Array
                (
                    [0] => Maaf, tidak ada jawaban
                    [1] => 
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => KARENA RASANYA ENAK DAN PRAKTIS UNTUK DIBUAT
                )

            [2] => Array
                (
                    [1] => HOBIKU MEMBACA MAIN GAME DAN CODING
                )

            [3] => Array
                (
                    [1] => HII APA KABAR KAMU
                )

            [4] => Array
                (
                    [1] => HALO SENANG BERTEMU DENGANMU
                )

            [5] => Array
                (
                    [1] => MAAF TIDAK ADA JAWABAN
                )

            [6] => Array
                (
                    [1] => MAAF TIDAK ADA JAWABAN
                )

            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [input] => Array
        (
            [1] => KENAPA SUKA ITU
            [2] => KAMU SUKA NGAPAIN AJA
            [3] => HELLO
            [4] => HELLO
            [5] => HII APA KABAR KAMU
            [6] => HII APA KABAR KAMU
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Karena rasanya enak dan praktis untuk dibuat!
                )

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

    [parsed_template] => Array
        (
            [1] => Karena rasanya enak dan praktis untuk dibuat!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Karena rasanya enak dan praktis untuk dibuat!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"hqh8i4b934ujqe69h7bljk2dcf","usersay":"KENAPA SUKA ITU","botsay":"Karena rasanya enak dan praktis untuk dibuat!","botData":{"convo_id":"hqh8i4b934ujqe69h7bljk2dcf","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"5","totallines":1,"rawSay":"KENAPA SUKA ITU","conversation_lines":"1","remember_up_to":"10","debugemail":"theodorusnatanael0204@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"58","bot_id":"1","pattern":"KENAPA SUKA ITU","thatpattern":"AKU SUKA NASI GORENG","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"Karena rasanya enak dan praktis untuk dibuat!","score":263,"current_that":"hobiku membaca main game dan coding","aiml_id":"58","track_score":"current bot (250 points), direct pattern match (7 points), direct word match: kenapa (2 points), direct word match: suka (2 points), direct word match: itu (2 points)"}}}
)

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