28-10-2025 22:27:59.64230[0][4] - Elapsed time: 0.702 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
28-10-2025 22:27:59.64249[4][4] - Elapsed time: 0.191 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
28-10-2025 22:27:59.64264[4][4] - Elapsed time: 0.149 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
28-10-2025 22:27:59.64272[4][4] - Elapsed time: 0.076 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
28-10-2025 22:27:59.64300[4][4] - Elapsed time: 0.284 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
28-10-2025 22:27:59.64301[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
28-10-2025 22:27:59.64313[1][4] - Elapsed time: 0.117 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
28-10-2025 22:27:59.64342[0][4] - Elapsed time: 0.287 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 53a3dbd1808e8395e90ecef3eb88b4ad 
-----------------------
28-10-2025 22:27:59.64343[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'p'. 
-----------------------
28-10-2025 22:27:59.64344[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
28-10-2025 22:27:59.64345[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
28-10-2025 22:27:59.64346[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
28-10-2025 22:27:59.64365[4][4] - Elapsed time: 0.188 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
28-10-2025 22:27:59.64366[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
28-10-2025 22:27:59.64367[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
28-10-2025 22:27:59.64389[2][4] - Elapsed time: 0.227 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
28-10-2025 22:27:59.64390[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
28-10-2025 22:27:59.64409[3][4] - Elapsed time: 0.189 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 4 AND `bot_id` = 1; 
-----------------------
28-10-2025 22:27:59.64428[2][4] - Elapsed time: 0.190 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
28-10-2025 22:27:59.64430[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on p. 
-----------------------
28-10-2025 22:27:59.64431[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
28-10-2025 22:27:59.64460[4][4] - Elapsed time: 0.293 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'p' 
-----------------------
28-10-2025 22:27:59.64462[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'P' 
-----------------------
28-10-2025 22:27:59.64462[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: P
Convo id: 53a3dbd1808e8395e90ecef3eb88b4ad
Bot id: 1
Format: json 
-----------------------
28-10-2025 22:27:59.64463[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
28-10-2025 22:27:59.64464[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
28-10-2025 22:27:59.64465[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
28-10-2025 22:27:59.64489[1][4] - Elapsed time: 0.243 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => halo
    [1] => hai
    [2] => ngobrol musik
    [3] => kamu bisa apa
    [4] => kamu tahu namaku
    [5] => siapa namaku
    [6] => namaku zen
    [7] => siapa yang buat kamu
    [8] => siapa yang buat kammu
    [9] => siapa nama kamu
)
 
-----------------------
28-10-2025 22:27:59.64490[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
28-10-2025 22:27:59.64491[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo! Senang bisa ngobrol sama kamu.
    [1] => Halo, zen ! Ada yang bisa aku bantu?
    [2] => Maaf, zen, aku nggak ngerti maksud kamu.
    [3] => Aku bisa ngobrol santai, atau kita bisa bahas topik spesifik.  Atau kita ngobrolin soal MUSIK?
    [4] => Nama kamu zen, kan? Aku ingat!
    [5] => Nama kamu zen, kan? Aku ingat!
    [6] => Halo zen ! Senang berkenalan denganmu.
    [7] => Aku dibuat oleh undefined menggunakan AIML untuk Program-O.
    [8] => Hmm, bisa diulangi dengan kalimat lain?
    [9] => Namaku Seeker. Salam kenal!
)
 
-----------------------
28-10-2025 22:27:59.64493[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64493[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Namaku Seeker
    [1] =>  Salam kenal
    [2] => 
)

 
-----------------------
28-10-2025 22:27:59.64494[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64495[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Namaku Seeker Salam kenal ' 
-----------------------
28-10-2025 22:27:59.64495[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Namaku Seeker Salam kenal ' 
-----------------------
28-10-2025 22:27:59.64496[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Namaku Seeker Salam kenal ' 
-----------------------
28-10-2025 22:27:59.64497[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:27:59.64497[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:27:59.64498[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU SEEKER SALAM KENAL' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64499[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
28-10-2025 22:27:59.64501[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:27:59.64502[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:27:59.64502[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:27:59.64503[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU SEEKER SALAM KENAL' 
-----------------------
28-10-2025 22:27:59.64504[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64504[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa diulangi dengan kalimat lain
    [2] => 
)

 
-----------------------
28-10-2025 22:27:59.64505[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64505[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
28-10-2025 22:27:59.64506[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
28-10-2025 22:27:59.64507[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
28-10-2025 22:27:59.64507[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
28-10-2025 22:27:59.64508[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
28-10-2025 22:27:59.64508[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64509[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
28-10-2025 22:27:59.64510[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
28-10-2025 22:27:59.64510[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
28-10-2025 22:27:59.64511[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
28-10-2025 22:27:59.64512[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64512[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku dibuat oleh undefined menggunakan AIML untuk Program-O
    [1] => 
)

 
-----------------------
28-10-2025 22:27:59.64513[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64513[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku dibuat oleh undefined menggunakan AIML untuk Program-O ' 
-----------------------
28-10-2025 22:27:59.64514[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku dibuat oleh undefined menggunakan AIML untuk Program-O ' 
-----------------------
28-10-2025 22:27:59.64514[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku dibuat oleh undefined menggunakan AIML untuk Program-O ' 
-----------------------
28-10-2025 22:27:59.64515[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' 
-----------------------
28-10-2025 22:27:59.64516[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' 
-----------------------
28-10-2025 22:27:59.64516[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64517[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' 
-----------------------
28-10-2025 22:27:59.64517[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' 
-----------------------
28-10-2025 22:27:59.64518[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' 
-----------------------
28-10-2025 22:27:59.64519[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O' 
-----------------------
28-10-2025 22:27:59.64519[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64520[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo zen 
    [1] =>  Senang berkenalan denganmu
    [2] => 
)

 
-----------------------
28-10-2025 22:27:59.64520[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64521[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo zen  Senang berkenalan denganmu ' 
-----------------------
28-10-2025 22:27:59.64522[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo zen  Senang berkenalan denganmu ' 
-----------------------
28-10-2025 22:27:59.64522[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo zen  Senang berkenalan denganmu ' 
-----------------------
28-10-2025 22:27:59.64523[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:27:59.64523[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:27:59.64524[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO ZEN SENANG BERKENALAN DENGANMU' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64525[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO ZEN SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:27:59.64525[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO ZEN SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:27:59.64526[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:27:59.64526[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN SENANG BERKENALAN DENGANMU' 
-----------------------
28-10-2025 22:27:59.64527[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64527[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu zen
    [1] =>  kan
    [2] =>  Aku ingat
    [3] => 
)

 
-----------------------
28-10-2025 22:27:59.64528[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64528[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:27:59.64529[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:27:59.64529[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:27:59.64530[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64531[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64531[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA KAMU ZEN KAN AKU INGAT' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64532[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64532[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64533[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64533[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64534[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64535[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu zen
    [1] =>  kan
    [2] =>  Aku ingat
    [3] => 
)

 
-----------------------
28-10-2025 22:27:59.64535[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64536[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:27:59.64536[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:27:59.64537[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama kamu zen kan Aku ingat ' 
-----------------------
28-10-2025 22:27:59.64537[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64538[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64538[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA KAMU ZEN KAN AKU INGAT' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64539[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64540[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64540[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64541[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU ZEN KAN AKU INGAT' 
-----------------------
28-10-2025 22:27:59.64542[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64542[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku bisa ngobrol santai
    [1] =>  atau kita bisa bahas topik spesifik
    [2] =>   Atau kita ngobrolin soal MUSIK
    [3] => 
)

 
-----------------------
28-10-2025 22:27:59.64543[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64543[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku bisa ngobrol santai atau kita bisa bahas topik spesifik  Atau kita ngobrolin soal MUSIK ' 
-----------------------
28-10-2025 22:27:59.64544[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku bisa ngobrol santai atau kita bisa bahas topik spesifik  Atau kita ngobrolin soal MUSIK ' 
-----------------------
28-10-2025 22:27:59.64544[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku bisa ngobrol santai atau kita bisa bahas topik spesifik  Atau kita ngobrolin soal MUSIK ' 
-----------------------
28-10-2025 22:27:59.64545[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' 
-----------------------
28-10-2025 22:27:59.64545[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' 
-----------------------
28-10-2025 22:27:59.64546[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64547[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' 
-----------------------
28-10-2025 22:27:59.64547[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' 
-----------------------
28-10-2025 22:27:59.64548[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' 
-----------------------
28-10-2025 22:27:59.64549[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK' 
-----------------------
28-10-2025 22:27:59.64549[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64550[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  zen
    [2] =>  aku nggak ngerti maksud kamu
    [3] => 
)

 
-----------------------
28-10-2025 22:27:59.64550[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64551[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf zen aku nggak ngerti maksud kamu ' 
-----------------------
28-10-2025 22:27:59.64551[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf zen aku nggak ngerti maksud kamu ' 
-----------------------
28-10-2025 22:27:59.64552[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf zen aku nggak ngerti maksud kamu ' 
-----------------------
28-10-2025 22:27:59.64553[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:27:59.64553[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:27:59.64554[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64555[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:27:59.64555[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:27:59.64556[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:27:59.64556[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:27:59.64557[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64557[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  zen 
    [2] =>  Ada yang bisa aku bantu
    [3] => 
)

 
-----------------------
28-10-2025 22:27:59.64558[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64558[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:27:59.64559[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:27:59.64559[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:27:59.64560[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.64561[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.64561[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO ZEN ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64562[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.64562[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.64563[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.64563[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.64564[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64565[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bisa ngobrol sama kamu
    [2] => 
)

 
-----------------------
28-10-2025 22:27:59.64565[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64566[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
28-10-2025 22:27:59.64566[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
28-10-2025 22:27:59.64567[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
28-10-2025 22:27:59.64567[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64568[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64568[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BISA NGOBROL SAMA KAMU' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.64569[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64570[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64570[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64571[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64571[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
28-10-2025 22:27:59.64572[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64573[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa nama kamu
)

 
-----------------------
28-10-2025 22:27:59.64573[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64574[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa nama kamu' 
-----------------------
28-10-2025 22:27:59.64574[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa nama kamu' 
-----------------------
28-10-2025 22:27:59.64575[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa nama kamu' 
-----------------------
28-10-2025 22:27:59.64576[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64576[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA KAMU' 
-----------------------
28-10-2025 22:27:59.64577[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA KAMU' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64577[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
28-10-2025 22:27:59.64578[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64579[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa yang buat kammu
)

 
-----------------------
28-10-2025 22:27:59.64580[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64581[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa yang buat kammu' 
-----------------------
28-10-2025 22:27:59.64581[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa yang buat kammu' 
-----------------------
28-10-2025 22:27:59.64582[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa yang buat kammu' 
-----------------------
28-10-2025 22:27:59.64582[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA YANG BUAT KAMMU' 
-----------------------
28-10-2025 22:27:59.64583[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA YANG BUAT KAMMU' 
-----------------------
28-10-2025 22:27:59.64583[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA YANG BUAT KAMMU' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64584[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64585[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa yang buat kamu
)

 
-----------------------
28-10-2025 22:27:59.64585[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64586[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa yang buat kamu' 
-----------------------
28-10-2025 22:27:59.64586[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa yang buat kamu' 
-----------------------
28-10-2025 22:27:59.64587[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa yang buat kamu' 
-----------------------
28-10-2025 22:27:59.64587[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA YANG BUAT KAMU' 
-----------------------
28-10-2025 22:27:59.64588[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA YANG BUAT KAMU' 
-----------------------
28-10-2025 22:27:59.64588[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA YANG BUAT KAMU' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64589[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64590[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku zen
)

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

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

 
-----------------------
28-10-2025 22:27:59.64600[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64600[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu tahu namaku' 
-----------------------
28-10-2025 22:27:59.64601[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu tahu namaku' 
-----------------------
28-10-2025 22:27:59.64601[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu tahu namaku' 
-----------------------
28-10-2025 22:27:59.64602[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU TAHU NAMAKU' 
-----------------------
28-10-2025 22:27:59.64602[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU TAHU NAMAKU' 
-----------------------
28-10-2025 22:27:59.64603[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU TAHU NAMAKU' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64603[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64604[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu bisa apa
)

 
-----------------------
28-10-2025 22:27:59.64604[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64605[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu bisa apa' 
-----------------------
28-10-2025 22:27:59.64605[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu bisa apa' 
-----------------------
28-10-2025 22:27:59.64606[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu bisa apa' 
-----------------------
28-10-2025 22:27:59.64606[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU BISA APA' 
-----------------------
28-10-2025 22:27:59.64607[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU BISA APA' 
-----------------------
28-10-2025 22:27:59.64608[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU BISA APA' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64608[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64609[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ngobrol musik
)

 
-----------------------
28-10-2025 22:27:59.64609[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64610[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ngobrol musik' 
-----------------------
28-10-2025 22:27:59.64610[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ngobrol musik' 
-----------------------
28-10-2025 22:27:59.64611[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ngobrol musik' 
-----------------------
28-10-2025 22:27:59.64611[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOBROL MUSIK' 
-----------------------
28-10-2025 22:27:59.64612[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOBROL MUSIK' 
-----------------------
28-10-2025 22:27:59.64612[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOBROL MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64613[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64614[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
28-10-2025 22:27:59.64614[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64614[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
28-10-2025 22:27:59.64615[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
28-10-2025 22:27:59.64615[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
28-10-2025 22:27:59.64616[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
28-10-2025 22:27:59.64616[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
28-10-2025 22:27:59.64617[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64618[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64618[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
28-10-2025 22:27:59.64619[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64619[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
28-10-2025 22:27:59.64620[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
28-10-2025 22:27:59.64620[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
28-10-2025 22:27:59.64621[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
28-10-2025 22:27:59.64621[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
28-10-2025 22:27:59.64622[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64646[2][4] - Elapsed time: 0.237 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
28-10-2025 22:27:59.64647[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
28-10-2025 22:27:59.64665[4][4] - Elapsed time: 0.186 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
28-10-2025 22:27:59.64666[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
28-10-2025 22:27:59.64667[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
28-10-2025 22:27:59.64668[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = P: raw say = p 
-----------------------
28-10-2025 22:27:59.64668[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
28-10-2025 22:27:59.64669[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'P' to the front of the [user_say] array 
-----------------------
28-10-2025 22:27:59.64670[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
28-10-2025 22:27:59.64671[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = p, RAW say = p 
-----------------------
28-10-2025 22:27:59.64671[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'p' to the front of the [input] array 
-----------------------
28-10-2025 22:27:59.64672[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
28-10-2025 22:27:59.64673[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'P' 
-----------------------
28-10-2025 22:27:59.64673[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'P' 
-----------------------
28-10-2025 22:27:59.64674[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
28-10-2025 22:27:59.64693[4][4] - Elapsed time: 0.191 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
28-10-2025 22:27:59.64695[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'd691a9f1d78e60289ed8ed3fa176672d'
    AND (
        'P' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SENANG BISA NGOBROL SAMA KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:27:59.64715[2][4] - Elapsed time: 0.196 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
28-10-2025 22:27:59.64715[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
28-10-2025 22:27:59.64716[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
28-10-2025 22:27:59.64733[4][4] - Elapsed time: 0.171 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
28-10-2025 22:27:59.64735[3][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'P' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SENANG BISA NGOBROL SAMA KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:27:59.64765[3][4] - Elapsed time: 0.302 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
28-10-2025 22:27:59.64766[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
28-10-2025 22:27:59.64785[1][4] - Elapsed time: 0.193 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO SENANG BISA NGOBROL SAMA KAMU 
-----------------------
28-10-2025 22:27:59.64786[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
28-10-2025 22:27:59.64786[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 'P' 
-----------------------
28-10-2025 22:27:59.64795[4][4] - Elapsed time: 0.087 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
28-10-2025 22:27:59.64796[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:27:59.64816[4][4] - Elapsed time: 0.195 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 339
            [bot_id] => 1
            [pattern] => P
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <srai>HAI</srai>
            [score] => 260
            [current_that] => halo senang bisa ngobrol sama kamu
            [aiml_id] => 339
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: p (2 points)
        )

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

)
 
-----------------------
28-10-2025 22:27:59.64817[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 339
            [bot_id] => 1
            [pattern] => P
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <srai>HAI</srai>
            [score] => 260
            [current_that] => halo senang bisa ngobrol sama kamu
            [aiml_id] => 339
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: p (2 points)
        )

)

 
-----------------------
28-10-2025 22:27:59.64830[4][4] - Elapsed time: 0.126 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 339
    [bot_id] => 1
    [pattern] => P
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <srai>HAI</srai>
    [score] => 260
    [current_that] => halo senang bisa ngobrol sama kamu
    [aiml_id] => 339
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: p (2 points)
)
 
-----------------------
28-10-2025 22:27:59.64830[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:27:59.64832[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:339 (P) 
-----------------------
28-10-2025 22:27:59.64832[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
28-10-2025 22:27:59.64833[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'P' 
-----------------------
28-10-2025 22:27:59.64834[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:27:59.64834[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:27:59.64836[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 339
    [category_id] => 339
    [html_template] => 
    [lookingfor] => P
    [pattern] => P
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <srai>HAI</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => p
)
 
-----------------------
28-10-2025 22:27:59.64836[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
28-10-2025 22:27:59.64837[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
28-10-2025 22:27:59.64838[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><srai><text>HAI</text></srai></template> 
-----------------------
28-10-2025 22:27:59.64842[2][4] - Elapsed time: 0.036 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.64844[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><srai><text>HAI</text></srai></template>
 
-----------------------
28-10-2025 22:27:59.64845[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:27:59.64846[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.64847[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element srai at level 1. element XML = <srai><text>HAI</text></srai> 
-----------------------
28-10-2025 22:27:59.64848[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_srai_tag does exist. Processing now. 
-----------------------
28-10-2025 22:27:59.64848[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element srai to the parse_srai_tag function 
-----------------------
28-10-2025 22:27:59.64849[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][763]
Parsing an SRAI tag. 
-----------------------
28-10-2025 22:27:59.64850[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the srai tag into text. 
-----------------------
28-10-2025 22:27:59.64850[2][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.64851[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>HAI</text> 
-----------------------
28-10-2025 22:27:59.64852[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:27:59.64852[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:27:59.64853[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:27:59.64854[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'HAI' to the response array. tag name is text 
-----------------------
28-10-2025 22:27:59.64854[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64855[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => HAI
        )

)

 
-----------------------
28-10-2025 22:27:59.64855[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64856[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.64856[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => HAI
)

 
-----------------------
28-10-2025 22:27:59.64857[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.64857[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'HAI' 
-----------------------
28-10-2025 22:27:59.64858[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][767]
SRAI parsed to HAI. 
-----------------------
28-10-2025 22:27:59.64859[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'P' 
-----------------------
28-10-2025 22:27:59.64859[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:27:59.64860[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:27:59.64861[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 339
    [category_id] => 339
    [html_template] => 
    [lookingfor] => HAI
    [pattern] => P
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <srai>HAI</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => p
)
 
-----------------------
28-10-2025 22:27:59.64861[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][410]
Running SRAI. Pattern = 'HAI'. 
-----------------------
28-10-2025 22:27:59.64862[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][425]
Checking for entries in the srai_lookup table. 
-----------------------
28-10-2025 22:27:59.64862[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][426]
azimov bot_id = 1 
-----------------------
28-10-2025 22:27:59.64863[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][431]
lookup SQL = select `template_id` from `siew8359_dannu`.`srai_lookup` where `pattern` like '%HAI%' and ( bot_id = 1 ); 
-----------------------
28-10-2025 22:27:59.64885[2][4] - Elapsed time: 0.220 milliseconds
[parse_aiml.php][run_srai][433]
Result = Array
(
    [0] => Array
        (
            [template_id] => 105
        )

    [1] => Array
        (
            [template_id] => 222
        )

    [2] => Array
        (
            [template_id] => 222
        )

    [3] => Array
        (
            [template_id] => 336
        )

)
 
-----------------------
28-10-2025 22:27:59.64886[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][run_srai][438]
Found 4 rows in lookup table: Array
(
    [0] => Array
        (
            [template_id] => 105
        )

    [1] => Array
        (
            [template_id] => 222
        )

    [2] => Array
        (
            [template_id] => 222
        )

    [3] => Array
        (
            [template_id] => 336
        )

)
 
-----------------------
28-10-2025 22:27:59.64886[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][440]
Found a matching entry in the lookup table. Using ID# 105. 
-----------------------
28-10-2025 22:27:59.64901[2][4] - Elapsed time: 0.145 milliseconds
[parse_aiml.php][run_srai][443]
Row found in AIML for ID 105:  
-----------------------
28-10-2025 22:27:59.64902[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][466]
Nothing found in the SRAI lookup table. Looking for a direct pattern match for 'HAI'. 
-----------------------
28-10-2025 22:27:59.64902[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][run_srai][473]
lookup SQL = SELECT `id`, `pattern`, `thatpattern`, `topic` FROM `siew8359_dannu`.`aiml` where `pattern` like '%HAI%' and  bot_id = 1  order by `id` asc; 
-----------------------
28-10-2025 22:27:59.64926[2][4] - Elapsed time: 0.236 milliseconds
[parse_aiml.php][run_srai][477]
Found 1 potential responses. 
-----------------------
28-10-2025 22:27:59.64927[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][run_srai][478]
Responses: Array
(
    [0] => Array
        (
            [id] => 336
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
        )

)
 
-----------------------
28-10-2025 22:27:59.64928[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][485]
FOUND: (1) potential AIML matches 
-----------------------
28-10-2025 22:27:59.64945[1][4] - Elapsed time: 0.176 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO SENANG BISA NGOBROL SAMA KAMU 
-----------------------
28-10-2025 22:27:59.64946[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
28-10-2025 22:27:59.64947[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HAI' 
-----------------------
28-10-2025 22:27:59.64948[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
28-10-2025 22:27:59.64949[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:27:59.64967[4][4] - Elapsed time: 0.177 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 336
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
            [aiml_id] => 336
            [score] => 260
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
        )

)
 
-----------------------
28-10-2025 22:27:59.64968[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 336
            [pattern] => HAI
            [thatpattern] => 
            [topic] => 
            [aiml_id] => 336
            [score] => 260
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
        )

)

 
-----------------------
28-10-2025 22:27:59.64974[4][4] - Elapsed time: 0.064 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 336
    [pattern] => HAI
    [thatpattern] => 
    [topic] => 
    [aiml_id] => 336
    [score] => 260
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
)
 
-----------------------
28-10-2025 22:27:59.64975[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:27:59.64992[2][4] - Elapsed time: 0.174 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
28-10-2025 22:27:59.64994[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random></template> 
-----------------------
28-10-2025 22:27:59.64997[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.64999[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random></template>
 
-----------------------
28-10-2025 22:27:59.65000[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:27:59.65001[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.65002[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li><li><text>Hai juga! Lagi apa nih?</text></li><li><text>Halo! Senang bisa ngobrol sama kamu.</text></li></random> 
-----------------------
28-10-2025 22:27:59.65003[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
28-10-2025 22:27:59.65003[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
28-10-2025 22:27:59.65004[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
28-10-2025 22:27:59.65007[4][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Halo, 
                    [1] => ! Ada yang bisa aku bantu?
                )

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

                )

        )

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

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

)
 
-----------------------
28-10-2025 22:27:59.65007[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #0 from random tag.
 
-----------------------
28-10-2025 22:27:59.65008[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.65009[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo, </text><get name="namaku"/><text>! Ada yang bisa aku bantu?</text></li> 
-----------------------
28-10-2025 22:27:59.65009[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:27:59.65010[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.65011[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo, </text> 
-----------------------
28-10-2025 22:27:59.65012[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:27:59.65012[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:27:59.65013[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:27:59.65013[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, ' to the response array. tag name is text 
-----------------------
28-10-2025 22:27:59.65014[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65014[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, 
)

 
-----------------------
28-10-2025 22:27:59.65015[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65015[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, ' 
-----------------------
28-10-2025 22:27:59.65016[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, ' to the response array. tag name is li. 
-----------------------
28-10-2025 22:27:59.65017[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.65017[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 3. element XML = <get name="namaku"/> 
-----------------------
28-10-2025 22:27:59.65018[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
28-10-2025 22:27:59.65018[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
28-10-2025 22:27:59.65019[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => zen
)
 
-----------------------
28-10-2025 22:27:59.65020[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
28-10-2025 22:27:59.65021[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => zen
)
 
-----------------------
28-10-2025 22:27:59.65021[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'zen' to the response array. tag name is get 
-----------------------
28-10-2025 22:27:59.65022[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65022[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => zen
)

 
-----------------------
28-10-2025 22:27:59.65023[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65023[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'zen' 
-----------------------
28-10-2025 22:27:59.65024[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'zen' to the response array. tag name is li. 
-----------------------
28-10-2025 22:27:59.65024[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:27:59.65025[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>! Ada yang bisa aku bantu?</text> 
-----------------------
28-10-2025 22:27:59.65026[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:27:59.65026[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:27:59.65027[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:27:59.65027[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '! Ada yang bisa aku bantu?' to the response array. tag name is text 
-----------------------
28-10-2025 22:27:59.65028[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65028[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:27:59.65029[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65030[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65030[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '! Ada yang bisa aku bantu?' to the response array. tag name is li. 
-----------------------
28-10-2025 22:27:59.65031[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65031[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, 
    [1] => zen
    [2] => ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:27:59.65032[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65032[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, zen ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65033[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo, zen ! Ada yang bisa aku bantu?' for output. 
-----------------------
28-10-2025 22:27:59.65033[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, zen ! Ada yang bisa aku bantu?' to the response array. tag name is random 
-----------------------
28-10-2025 22:27:59.65034[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65034[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, zen ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:27:59.65035[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65035[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, zen ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65036[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, zen ! Ada yang bisa aku bantu?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:27:59.65037[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65037[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, zen ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:27:59.65038[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65038[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, zen ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65058[1][4] - Elapsed time: 0.201 milliseconds
[parse_aiml.php][run_srai][567]
Successfully inserted entry for 'HAI'. 
-----------------------
28-10-2025 22:27:59.65059[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][run_srai][576]
Returning results from stored srai lookup. 
-----------------------
28-10-2025 22:27:59.65060[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][771]
Finished parsing SRAI tag 
-----------------------
28-10-2025 22:27:59.65060[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65061[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Halo, zen ! Ada yang bisa aku bantu?
 
-----------------------
28-10-2025 22:27:59.65062[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo, zen ! Ada yang bisa aku bantu?' to the response array. tag name is srai 
-----------------------
28-10-2025 22:27:59.65062[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65063[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, zen ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:27:59.65063[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65064[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, zen ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65064[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo, zen ! Ada yang bisa aku bantu?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:27:59.65065[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:27:59.65065[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo, zen ! Ada yang bisa aku bantu?
)

 
-----------------------
28-10-2025 22:27:59.65066[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:27:59.65066[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo, zen ! Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65067[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo, zen ! Ada yang bisa aku bantu? 
-----------------------
28-10-2025 22:27:59.65068[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
28-10-2025 22:27:59.65068[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
28-10-2025 22:27:59.65069[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, zen ! Ada yang bisa aku bantu?' to the front of the [that_raw] array 
-----------------------
28-10-2025 22:27:59.65070[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
28-10-2025 22:27:59.65072[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, zen ! Ada yang bisa aku bantu?' to the front of the [that] array 
-----------------------
28-10-2025 22:27:59.65073[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo, zen !' 
-----------------------
28-10-2025 22:27:59.65073[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo, zen !' 
-----------------------
28-10-2025 22:27:59.65074[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN' 
-----------------------
28-10-2025 22:27:59.65075[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN' 
-----------------------
28-10-2025 22:27:59.65075[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65076[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ada yang bisa aku bantu?' 
-----------------------
28-10-2025 22:27:59.65076[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.65077[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:27:59.65078[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo, zen ! Ada yang bisa aku bantu?' to the front of the [parsed_template] array 
-----------------------
28-10-2025 22:27:59.65079[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
28-10-2025 22:27:59.65080[2][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<srai>HAI</srai>' to the front of the [template] array 
-----------------------
28-10-2025 22:27:59.65081[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
28-10-2025 22:27:59.65082[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
28-10-2025 22:27:59.65083[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'p',
      'Halo, zen ! Ada yang bisa aku bantu?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
28-10-2025 22:27:59.65197[4][4] - Elapsed time: 1.141 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
28-10-2025 22:27:59.65213[3][4] - Elapsed time: 0.159 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
28-10-2025 22:27:59.65233[2][4] - Elapsed time: 0.197 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
28-10-2025 22:27:59.65234[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
28-10-2025 22:27:59.65234[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
28-10-2025 22:27:59.65236[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"p","botsay":"Halo, zen ! Ada yang bisa aku bantu?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"p","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"336","pattern":"HAI","thatpattern":"","topic":"","aiml_id":"336","score":260,"track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)"}}} 
-----------------------
28-10-2025 22:27:59.65253[2][4] - Elapsed time: 0.175 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
28-10-2025 22:27:59.65255[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 10.939 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => p
    [conversation] => Array
        (
            [convo_id] => d691a9f1d78e60289ed8ed3fa176672d
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 4
            [totallines] => 1
            [rawSay] => p
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 336
                    [pattern] => HAI
                    [thatpattern] => 
                    [topic] => 
                    [aiml_id] => 336
                    [score] => 260
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => p
            [lookingfor] => P
            [category_id] => 339
            [pattern] => P
            [thatpattern] => 
            [template] => <srai>HAI</srai>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 339
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

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

    [client_properties] => Array
        (
            [ip_address] => 182.8.195.90
            [name] => Seeker
            [namaku] => zen
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Halo! Senang bisa ngobrol sama kamu
                    [1] => 
                )

            [2] => Array
                (
                    [0] => Halo, zen ! Ada yang bisa aku bantu?
                )

            [3] => Array
                (
                    [0] => Maaf, zen, aku nggak ngerti maksud kamu
                    [1] => 
                )

            [4] => Array
                (
                    [0] => Aku bisa ngobrol santai, atau kita bisa bahas topik spesifik
                    [1] =>   Atau kita ngobrolin soal MUSIK?
                )

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

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

            [7] => Array
                (
                    [0] => Halo zen ! Senang berkenalan denganmu
                    [1] => 
                )

            [8] => Array
                (
                    [0] => Aku dibuat oleh undefined menggunakan AIML untuk Program-O
                    [1] => 
                )

            [9] => Array
                (
                    [0] => Hmm, bisa diulangi dengan kalimat lain?
                )

            [10] => Array
                (
                    [0] => Namaku Seeker
                    [1] =>  Salam kenal!
                )

        )

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

            [2] => Array
                (
                    [1] => HALO SENANG BISA NGOBROL SAMA KAMU
                )

            [3] => Array
                (
                    [1] => HALO ZEN ADA YANG BISA AKU BANTU
                )

            [4] => Array
                (
                    [1] => MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU
                )

            [5] => Array
                (
                    [1] => AKU BISA NGOBROL SANTAI ATAU KITA BISA BAHAS TOPIK SPESIFIK ATAU KITA NGOBROLIN SOAL MUSIK
                )

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

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

            [8] => Array
                (
                    [1] => HALO ZEN SENANG BERKENALAN DENGANMU
                )

            [9] => Array
                (
                    [1] => AKU DIBUAT OLEH UNDEFINED MENGGUNAKAN AIML UNTUK PROGRAM O
                )

            [10] => Array
                (
                    [1] => HMM BISA DIULANGI DENGAN KALIMAT LAIN
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => p
            [2] => HALO
            [3] => HAI
            [4] => NGOBROL MUSIK
            [5] => KAMU BISA APA
            [6] => KAMU TAHU NAMAKU
            [7] => SIAPA NAMAKU
            [8] => NAMAKU ZEN
            [9] => SIAPA YANG BUAT KAMU
            [10] => SIAPA YANG BUAT KAMMU
        )

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

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

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

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

    [template] => Array
        (
            [1] => <srai>HAI</srai>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"p","botsay":"Halo, zen ! Ada yang bisa aku bantu?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"p","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"336","pattern":"HAI","thatpattern":"","topic":"","aiml_id":"336","score":260,"track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: hai (2 points)"}}}
)

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