17-09-2025 17:59:10.38823[0][4] - Elapsed time: 3.878 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 
-----------------------
17-09-2025 17:59:10.39142[4][4] - Elapsed time: 3.190 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 17:59:10.39277[4][4] - Elapsed time: 1.349 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 17:59:10.39301[4][4] - Elapsed time: 0.238 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 17:59:10.39397[4][4] - Elapsed time: 0.959 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 17:59:10.39398[4][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 17:59:10.39452[1][4] - Elapsed time: 0.534 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 
-----------------------
17-09-2025 17:59:10.39483[0][4] - Elapsed time: 0.311 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 10ak7a8ajgmhvm745nhen1iso0 
-----------------------
17-09-2025 17:59:10.39484[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Apakah kamu anak pertama'. 
-----------------------
17-09-2025 17:59:10.39485[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 17:59:10.39486[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 17:59:10.39486[3][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `Syifa`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
17-09-2025 17:59:10.39513[4][4] - Elapsed time: 0.269 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 17:59:10.39517[2][4] - Elapsed time: 0.042 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 17:59:10.39520[3][4] - Elapsed time: 0.025 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; 
-----------------------
17-09-2025 17:59:10.39560[2][4] - Elapsed time: 0.404 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 17:59:10.39563[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 17:59:10.39587[3][4] - Elapsed time: 0.240 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` = 6 AND `bot_id` = 1; 
-----------------------
17-09-2025 17:59:10.39612[2][4] - Elapsed time: 0.256 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 17:59:10.39619[2][4] - Elapsed time: 0.070 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Apakah. 
-----------------------
17-09-2025 17:59:10.39622[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 17:59:10.39655[2][4] - Elapsed time: 0.338 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 17:59:10.39657[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kamu. 
-----------------------
17-09-2025 17:59:10.39659[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 17:59:10.39660[2][4] - Elapsed time: 0.008 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on anak. 
-----------------------
17-09-2025 17:59:10.39661[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 17:59:10.39661[2][4] - Elapsed time: 0.007 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on pertama. 
-----------------------
17-09-2025 17:59:10.39664[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apakah kamu anak pertama' 
-----------------------
17-09-2025 17:59:10.39665[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 17:59:10.39666[2][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APAKAH KAMU ANAK PERTAMA
Convo id: 10ak7a8ajgmhvm745nhen1iso0
Bot id: 1
Format:  
-----------------------
17-09-2025 17:59:10.39669[4][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 17:59:10.39671[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 17:59:10.39672[3][4] - Elapsed time: 0.019 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` = 6 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
17-09-2025 17:59:10.39725[1][4] - Elapsed time: 0.525 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => siapa saudara kamu
    [1] => apa lagu favorit kamu
    [2] => Apa makanan favorit kamu
    [3] => Apa makanan favorit kamu Beb
    [4] => hello
    [5] => apa film favorit kamu
    [6] => apa film favorit kamu
    [7] => Apa makanan favorit kamu
    [8] => Apa makanan favorit kamu
    [9] => apa cita-cita kamu
)
 
-----------------------
17-09-2025 17:59:10.39728[4][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 17:59:10.39731[1][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Saudaraku bernama Rina dan Andi.
    [1] => Aku suka lagu pop dan lo-fi.
    [2] => Aku suka nasi goreng.
    [3] => Maaf, tidak ada jawaban.
    [4] => Hii!! Apa kabar kamu??
    [5] => Aku suka film action dan sci-fi.
    [6] => Aku suka film action dan sci-fi.
    [7] => Aku suka nasi goreng.
    [8] => Aku suka nasi goreng.
    [9] => Aku ingin menjadi programmer profesional.
)
 
-----------------------
17-09-2025 17:59:10.39734[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39739[2][4] - Elapsed time: 0.049 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku ingin menjadi programmer profesional
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39739[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39740[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku ingin menjadi programmer profesional ' 
-----------------------
17-09-2025 17:59:10.39741[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku ingin menjadi programmer profesional ' 
-----------------------
17-09-2025 17:59:10.39742[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku ingin menjadi programmer profesional ' 
-----------------------
17-09-2025 17:59:10.39743[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' 
-----------------------
17-09-2025 17:59:10.39744[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' 
-----------------------
17-09-2025 17:59:10.39744[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39745[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 17:59:10.39747[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' 
-----------------------
17-09-2025 17:59:10.39748[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' 
-----------------------
17-09-2025 17:59:10.39748[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' 
-----------------------
17-09-2025 17:59:10.39749[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU INGIN MENJADI PROGRAMMER PROFESIONAL' 
-----------------------
17-09-2025 17:59:10.39750[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39750[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39751[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39752[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39752[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39753[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39753[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39754[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39754[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA NASI GORENG' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39755[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39756[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39756[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39756[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39757[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39758[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39758[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39758[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39759[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39759[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39760[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39760[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39761[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA NASI GORENG' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39761[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39762[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39762[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39763[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39763[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39764[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka film action dan sci-fi
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39764[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39765[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka film action dan sci-fi ' 
-----------------------
17-09-2025 17:59:10.39765[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka film action dan sci-fi ' 
-----------------------
17-09-2025 17:59:10.39766[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka film action dan sci-fi ' 
-----------------------
17-09-2025 17:59:10.39766[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39767[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39767[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA FILM ACTION DAN SCI FI' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39768[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39768[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39769[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39769[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39770[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39770[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka film action dan sci-fi
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39771[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39771[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka film action dan sci-fi ' 
-----------------------
17-09-2025 17:59:10.39772[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka film action dan sci-fi ' 
-----------------------
17-09-2025 17:59:10.39772[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka film action dan sci-fi ' 
-----------------------
17-09-2025 17:59:10.39773[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39773[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39773[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA FILM ACTION DAN SCI FI' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39774[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39774[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39775[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39775[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA FILM ACTION DAN SCI FI' 
-----------------------
17-09-2025 17:59:10.39776[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39776[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] => 
)

 
-----------------------
17-09-2025 17:59:10.39777[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39777[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 17:59:10.39778[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 17:59:10.39778[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hii  Apa kabar kamu ' 
-----------------------
17-09-2025 17:59:10.39779[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 17:59:10.39779[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 17:59:10.39780[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 [that] array 
-----------------------
17-09-2025 17:59:10.39780[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 17:59:10.39781[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 17:59:10.39781[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 17:59:10.39782[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HII APA KABAR KAMU' 
-----------------------
17-09-2025 17:59:10.39782[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39783[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  tidak ada jawaban
    [2] => 
)

 
-----------------------
17-09-2025 17:59:10.39783[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39784[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 17:59:10.39784[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 17:59:10.39785[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf tidak ada jawaban ' 
-----------------------
17-09-2025 17:59:10.39785[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 17:59:10.39786[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 17:59:10.39786[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 
-----------------------
17-09-2025 17:59:10.39787[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 17:59:10.39787[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 17:59:10.39788[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 17:59:10.39788[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF TIDAK ADA JAWABAN' 
-----------------------
17-09-2025 17:59:10.39789[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39793[2][4] - Elapsed time: 0.038 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka nasi goreng
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39793[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39794[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39794[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39795[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka nasi goreng ' 
-----------------------
17-09-2025 17:59:10.39795[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39796[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39796[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA NASI GORENG' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39797[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39797[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39798[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39799[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA NASI GORENG' 
-----------------------
17-09-2025 17:59:10.39800[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39800[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku suka lagu pop dan lo-fi
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39801[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39801[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku suka lagu pop dan lo-fi ' 
-----------------------
17-09-2025 17:59:10.39802[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku suka lagu pop dan lo-fi ' 
-----------------------
17-09-2025 17:59:10.39802[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku suka lagu pop dan lo-fi ' 
-----------------------
17-09-2025 17:59:10.39803[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA LAGU POP DAN LO FI' 
-----------------------
17-09-2025 17:59:10.39803[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA LAGU POP DAN LO FI' 
-----------------------
17-09-2025 17:59:10.39804[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA LAGU POP DAN LO FI' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39804[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU SUKA LAGU POP DAN LO FI' 
-----------------------
17-09-2025 17:59:10.39805[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU SUKA LAGU POP DAN LO FI' 
-----------------------
17-09-2025 17:59:10.39805[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA LAGU POP DAN LO FI' 
-----------------------
17-09-2025 17:59:10.39806[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA LAGU POP DAN LO FI' 
-----------------------
17-09-2025 17:59:10.39806[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39807[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saudaraku bernama Rina dan Andi
    [1] => 
)

 
-----------------------
17-09-2025 17:59:10.39807[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39808[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saudaraku bernama Rina dan Andi ' 
-----------------------
17-09-2025 17:59:10.39808[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saudaraku bernama Rina dan Andi ' 
-----------------------
17-09-2025 17:59:10.39809[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saudaraku bernama Rina dan Andi ' 
-----------------------
17-09-2025 17:59:10.39809[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 17:59:10.39810[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 17:59:10.39810[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAUDARAKU BERNAMA RINA DAN ANDI' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.39811[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 17:59:10.39811[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 17:59:10.39812[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 17:59:10.39812[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAUDARAKU BERNAMA RINA DAN ANDI' 
-----------------------
17-09-2025 17:59:10.39813[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
17-09-2025 17:59:10.39814[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39819[2][4] - Elapsed time: 0.049 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa cita-cita kamu
)

 
-----------------------
17-09-2025 17:59:10.39819[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39820[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa cita-cita kamu' 
-----------------------
17-09-2025 17:59:10.39821[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa cita-cita kamu' 
-----------------------
17-09-2025 17:59:10.39821[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa cita-cita kamu' 
-----------------------
17-09-2025 17:59:10.39822[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA CITA CITA KAMU' 
-----------------------
17-09-2025 17:59:10.39822[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA CITA CITA KAMU' 
-----------------------
17-09-2025 17:59:10.39823[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA CITA CITA KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39823[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 17:59:10.39824[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39825[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa makanan favorit kamu
)

 
-----------------------
17-09-2025 17:59:10.39825[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39826[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39826[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39827[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39827[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39828[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39828[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA MAKANAN FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39829[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39829[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa makanan favorit kamu
)

 
-----------------------
17-09-2025 17:59:10.39830[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39830[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39831[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39831[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39832[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39832[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39832[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA MAKANAN FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39833[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39833[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa film favorit kamu
)

 
-----------------------
17-09-2025 17:59:10.39834[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39834[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa film favorit kamu' 
-----------------------
17-09-2025 17:59:10.39835[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa film favorit kamu' 
-----------------------
17-09-2025 17:59:10.39835[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa film favorit kamu' 
-----------------------
17-09-2025 17:59:10.39836[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA FILM FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39836[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA FILM FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39837[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA FILM FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39837[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39838[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa film favorit kamu
)

 
-----------------------
17-09-2025 17:59:10.39838[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39839[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa film favorit kamu' 
-----------------------
17-09-2025 17:59:10.39839[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa film favorit kamu' 
-----------------------
17-09-2025 17:59:10.39839[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa film favorit kamu' 
-----------------------
17-09-2025 17:59:10.39840[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA FILM FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39840[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA FILM FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39841[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA FILM FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39841[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39842[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hello
)

 
-----------------------
17-09-2025 17:59:10.39842[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39843[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hello' 
-----------------------
17-09-2025 17:59:10.39843[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hello' 
-----------------------
17-09-2025 17:59:10.39843[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hello' 
-----------------------
17-09-2025 17:59:10.39844[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
17-09-2025 17:59:10.39844[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
17-09-2025 17:59:10.39845[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39845[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39846[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa makanan favorit kamu Beb
)

 
-----------------------
17-09-2025 17:59:10.39847[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39847[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa makanan favorit kamu Beb' 
-----------------------
17-09-2025 17:59:10.39848[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa makanan favorit kamu Beb' 
-----------------------
17-09-2025 17:59:10.39848[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu Beb' 
-----------------------
17-09-2025 17:59:10.39849[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU BEB' 
-----------------------
17-09-2025 17:59:10.39849[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MAKANAN FAVORIT KAMU BEB' 
-----------------------
17-09-2025 17:59:10.39850[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA MAKANAN FAVORIT KAMU BEB' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39850[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39851[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa makanan favorit kamu
)

 
-----------------------
17-09-2025 17:59:10.39851[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39852[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39852[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39853[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa makanan favorit kamu' 
-----------------------
17-09-2025 17:59:10.39853[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39854[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA MAKANAN FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39854[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA MAKANAN FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39855[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39855[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa lagu favorit kamu
)

 
-----------------------
17-09-2025 17:59:10.39856[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39856[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa lagu favorit kamu' 
-----------------------
17-09-2025 17:59:10.39856[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa lagu favorit kamu' 
-----------------------
17-09-2025 17:59:10.39857[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa lagu favorit kamu' 
-----------------------
17-09-2025 17:59:10.39857[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA LAGU FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39858[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA LAGU FAVORIT KAMU' 
-----------------------
17-09-2025 17:59:10.39858[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA LAGU FAVORIT KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39859[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.39859[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa saudara kamu
)

 
-----------------------
17-09-2025 17:59:10.39860[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.39860[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa saudara kamu' 
-----------------------
17-09-2025 17:59:10.39861[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa saudara kamu' 
-----------------------
17-09-2025 17:59:10.39861[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa saudara kamu' 
-----------------------
17-09-2025 17:59:10.39862[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA SAUDARA KAMU' 
-----------------------
17-09-2025 17:59:10.39862[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA SAUDARA KAMU' 
-----------------------
17-09-2025 17:59:10.39863[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA SAUDARA KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39894[2][4] - Elapsed time: 0.313 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 17:59:10.39896[3][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
17-09-2025 17:59:10.39936[4][4] - Elapsed time: 0.395 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 17:59:10.39938[0][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 17:59:10.39938[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 17:59:10.39939[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APAKAH KAMU ANAK PERTAMA: raw say = Apakah kamu anak pertama 
-----------------------
17-09-2025 17:59:10.39939[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 17:59:10.39940[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APAKAH KAMU ANAK PERTAMA' to the front of the [user_say] array 
-----------------------
17-09-2025 17:59:10.39941[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 17:59:10.39942[0][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Apakah kamu anak pertama, RAW say = Apakah kamu anak pertama 
-----------------------
17-09-2025 17:59:10.39943[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Apakah kamu anak pertama' to the front of the [input] array 
-----------------------
17-09-2025 17:59:10.39944[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 17:59:10.39944[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 17:59:10.39945[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 17:59:10.39946[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 
-----------------------
17-09-2025 17:59:10.39971[4][4] - Elapsed time: 0.248 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 17:59:10.39973[3][4] - Elapsed time: 0.023 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` = ''
    AND (
        'APAKAH KAMU ANAK PERTAMA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SAUDARAKU BERNAMA RINA DAN ANDI' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 17:59:10.40005[2][4] - Elapsed time: 0.321 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 17:59:10.40007[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 17:59:10.40008[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-09-2025 17:59:10.40028[4][4] - Elapsed time: 0.192 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '*' 
-----------------------
17-09-2025 17:59:10.40030[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 (
        'APAKAH KAMU ANAK PERTAMA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SAUDARAKU BERNAMA RINA DAN ANDI' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR '*' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 17:59:10.40053[3][4] - Elapsed time: 0.233 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 17:59:10.40054[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
17-09-2025 17:59:10.40073[1][4] - Elapsed time: 0.184 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = SAUDARAKU BERNAMA RINA DAN ANDI 
-----------------------
17-09-2025 17:59:10.40074[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
17-09-2025 17:59:10.40075[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 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 17:59:10.40081[4][4] - Elapsed time: 0.065 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
17-09-2025 17:59:10.40082[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 17:59:10.40095[4][4] - Elapsed time: 0.128 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 22
            [bot_id] => 1
            [pattern] => APAKAH KAMU ANAK PERTAMA
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Tidak, aku anak kedua.
            [score] => 266
            [current_that] => saudaraku bernama rina dan andi
            [aiml_id] => 22
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)
        )

    [1] => Array
        (
            [id] => 83
            [bot_id] => 1
            [pattern] => APAKAH KAMU ANAK PERTAMA
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Tidak, aku anak kedua.
            [score] => 266
            [current_that] => saudaraku bernama rina dan andi
            [aiml_id] => 83
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)
        )

)
 
-----------------------
17-09-2025 17:59:10.40096[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 22
            [bot_id] => 1
            [pattern] => APAKAH KAMU ANAK PERTAMA
            [thatpattern] => 
            [topic] => 
            [filename] => admin_added.aiml.txt
            [template] => Tidak, aku anak kedua.
            [score] => 266
            [current_that] => saudaraku bernama rina dan andi
            [aiml_id] => 22
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)
        )

    [1] => Array
        (
            [id] => 83
            [bot_id] => 1
            [pattern] => APAKAH KAMU ANAK PERTAMA
            [thatpattern] => 
            [topic] => 
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Tidak, aku anak kedua.
            [score] => 266
            [current_that] => saudaraku bernama rina dan andi
            [aiml_id] => 83
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)
        )

)

 
-----------------------
17-09-2025 17:59:10.40102[4][4] - Elapsed time: 0.055 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 83
    [bot_id] => 1
    [pattern] => APAKAH KAMU ANAK PERTAMA
    [thatpattern] => 
    [topic] => 
    [filename] => Syifaa.admin_added.aiml.txt
    [template] => Tidak, aku anak kedua.
    [score] => 266
    [current_that] => saudaraku bernama rina dan andi
    [aiml_id] => 83
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)
)
 
-----------------------
17-09-2025 17:59:10.40102[2][4] - Elapsed time: 0.004 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
17-09-2025 17:59:10.40103[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:83 (APAKAH KAMU ANAK PERTAMA) 
-----------------------
17-09-2025 17:59:10.40104[3][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-09-2025 17:59:10.40104[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APAKAH KAMU ANAK PERTAMA' 
-----------------------
17-09-2025 17:59:10.40105[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 17:59:10.40105[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 17:59:10.40107[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 83
    [category_id] => 83
    [html_template] => 
    [lookingfor] => APAKAH KAMU ANAK PERTAMA
    [pattern] => APAKAH KAMU ANAK PERTAMA
    [score] => 266
    [stars] => Array
        (
        )

    [template] => Tidak, aku anak kedua.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Apakah kamu anak pertama
)
 
-----------------------
17-09-2025 17:59:10.40107[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
17-09-2025 17:59:10.40108[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... 
-----------------------
17-09-2025 17:59:10.40109[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Tidak, aku anak kedua.</text></template> 
-----------------------
17-09-2025 17:59:10.40112[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 17:59:10.40114[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Tidak, aku anak kedua.</text></template>
 
-----------------------
17-09-2025 17:59:10.40114[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 17:59:10.40115[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 17:59:10.40116[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Tidak, aku anak kedua.</text> 
-----------------------
17-09-2025 17:59:10.40116[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
17-09-2025 17:59:10.40117[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
17-09-2025 17:59:10.40117[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 17:59:10.40118[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Tidak, aku anak kedua.' to the response array. tag name is text 
-----------------------
17-09-2025 17:59:10.40118[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.40119[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tidak, aku anak kedua.
)

 
-----------------------
17-09-2025 17:59:10.40119[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.40120[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tidak, aku anak kedua.' 
-----------------------
17-09-2025 17:59:10.40120[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Tidak, aku anak kedua.' to the response array. tag name is template. 
-----------------------
17-09-2025 17:59:10.40121[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:59:10.40121[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tidak, aku anak kedua.
)

 
-----------------------
17-09-2025 17:59:10.40122[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:59:10.40122[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tidak, aku anak kedua.' 
-----------------------
17-09-2025 17:59:10.40123[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: Tidak, aku anak kedua. 
-----------------------
17-09-2025 17:59:10.40123[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 17:59:10.40124[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
17-09-2025 17:59:10.40124[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Tidak, aku anak kedua.' to the front of the [that_raw] array 
-----------------------
17-09-2025 17:59:10.40125[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 17:59:10.40127[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Tidak, aku anak kedua.' to the front of the [that] array 
-----------------------
17-09-2025 17:59:10.40127[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tidak, aku anak kedua.' 
-----------------------
17-09-2025 17:59:10.40128[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tidak, aku anak kedua.' 
-----------------------
17-09-2025 17:59:10.40129[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 17:59:10.40129[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TIDAK AKU ANAK KEDUA' 
-----------------------
17-09-2025 17:59:10.40130[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Tidak, aku anak kedua.' to the front of the [parsed_template] array 
-----------------------
17-09-2025 17:59:10.40131[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 17:59:10.40131[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Tidak, aku anak kedua.' to the front of the [template] array 
-----------------------
17-09-2025 17:59:10.40132[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 17:59:10.40133[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 17:59:10.40134[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 ,
      'Apakah kamu anak pertama',
      'Tidak, aku anak kedua.',
      6,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-09-2025 17:59:10.40272[4][4] - Elapsed time: 1.380 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 17:59:10.40282[3][4] - Elapsed time: 0.104 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 
-----------------------
17-09-2025 17:59:10.40298[2][4] - Elapsed time: 0.155 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 17:59:10.40300[4][4] - Elapsed time: 0.023 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 17:59:10.40301[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 17:59:10.40303[4][4] - Elapsed time: 0.022 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"Apakah kamu anak pertama","botsay":"Tidak, aku anak kedua.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Apakah kamu anak pertama","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":"83","bot_id":"1","pattern":"APAKAH KAMU ANAK PERTAMA","thatpattern":"","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"Tidak, aku anak kedua.","score":266,"current_that":"saudaraku bernama rina dan andi","aiml_id":"83","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)"}}} 
-----------------------
17-09-2025 17:59:10.40320[2][4] - Elapsed time: 0.170 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 17:59:10.40322[0][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 18.858 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Apakah kamu anak pertama
    [conversation] => Array
        (
            [convo_id] => 
            [bot_name] => Syifa
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 6
            [totallines] => 1
            [rawSay] => Apakah kamu anak pertama
            [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] => 83
                    [bot_id] => 1
                    [pattern] => APAKAH KAMU ANAK PERTAMA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => Syifaa.admin_added.aiml.txt
                    [template] => Tidak, aku anak kedua.
                    [score] => 266
                    [current_that] => saudaraku bernama rina dan andi
                    [aiml_id] => 83
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Apakah kamu anak pertama
            [lookingfor] => APAKAH KAMU ANAK PERTAMA
            [category_id] => 83
            [pattern] => APAKAH KAMU ANAK PERTAMA
            [thatpattern] => 
            [template] => Tidak, aku anak kedua.
            [html_template] => 
            [topic] => 
            [score] => 266
            [aiml_id] => 83
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Tidak, aku anak kedua.
        )

    [client_properties] => Array
        (
            [ip_address] => ::1
            [name] => Seeker
            [namauser] => Teo
            [topic] => *
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Saudaraku bernama Rina dan Andi
                    [1] => 
                )

            [2] => Array
                (
                    [0] => Aku suka lagu pop dan lo-fi
                    [1] => 
                )

            [3] => Array
                (
                    [0] => Aku suka nasi goreng
                    [1] => 
                )

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

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

            [6] => Array
                (
                    [0] => Aku suka film action dan sci-fi
                    [1] => 
                )

            [7] => Array
                (
                    [0] => Aku suka film action dan sci-fi
                    [1] => 
                )

            [8] => Array
                (
                    [0] => Aku suka nasi goreng
                    [1] => 
                )

            [9] => Array
                (
                    [0] => Aku suka nasi goreng
                    [1] => 
                )

            [10] => Array
                (
                    [0] => Aku ingin menjadi programmer profesional
                    [1] => 
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => TIDAK AKU ANAK KEDUA
                )

            [2] => Array
                (
                    [1] => SAUDARAKU BERNAMA RINA DAN ANDI
                )

            [3] => Array
                (
                    [1] => AKU SUKA LAGU POP DAN LO FI
                )

            [4] => Array
                (
                    [1] => AKU SUKA NASI GORENG
                )

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

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

            [7] => Array
                (
                    [1] => AKU SUKA FILM ACTION DAN SCI FI
                )

            [8] => Array
                (
                    [1] => AKU SUKA FILM ACTION DAN SCI FI
                )

            [9] => Array
                (
                    [1] => AKU SUKA NASI GORENG
                )

            [10] => Array
                (
                    [1] => AKU SUKA NASI GORENG
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => Apakah kamu anak pertama
            [2] => SIAPA SAUDARA KAMU
            [3] => APA LAGU FAVORIT KAMU
            [4] => APA MAKANAN FAVORIT KAMU
            [5] => APA MAKANAN FAVORIT KAMU BEB
            [6] => HELLO
            [7] => APA FILM FAVORIT KAMU
            [8] => APA FILM FAVORIT KAMU
            [9] => APA MAKANAN FAVORIT KAMU
            [10] => APA MAKANAN FAVORIT KAMU
        )

    [time_start] => 1758124750.3844
    [user_say] => Array
        (
            [1] => APAKAH KAMU ANAK PERTAMA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Tidak, aku anak kedua.
                )

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

    [parsed_template] => Array
        (
            [1] => Tidak, aku anak kedua.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Tidak, aku anak kedua.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"","usersay":"Apakah kamu anak pertama","botsay":"Tidak, aku anak kedua.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"Apakah kamu anak pertama","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":"83","bot_id":"1","pattern":"APAKAH KAMU ANAK PERTAMA","thatpattern":"","topic":"","filename":"Syifaa.admin_added.aiml.txt","template":"Tidak, aku anak kedua.","score":266,"current_that":"saudaraku bernama rina dan andi","aiml_id":"83","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apakah (2 points), direct word match: kamu (2 points), direct word match: anak (2 points), direct word match: pertama (2 points)"}}}
)

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