I'm a long time user of WeBuilder (2008), and I recently "upgraded" to Rapid PHP 2014, and so far, I love it. The interface is a familiar place to me, and I like the extra features, but I'm seeing one thing that causes me a bit of concern, and I wonder if there's something I can do to correct it. Please compare the two text snippets, below:
Code: Select all
11-04-2013 12:16:31.83280900[0][4] - Elapsed: 1.384 milliseconds
[conversation_start.php][Called outside of function][21]
Conversation Starting
-----------------------
11-04-2013 12:16:31.83662200[4][4] - Elapsed: 3.814 milliseconds
[load_aimlfunctions.php][Called outside of function][15]
AIML function include files loaded
-----------------------
Code: Select all
11-04-2013 12:16:31.83280900[0][4] - Elapsed: 1.384 milliseconds
[conversation_start.php][Called outside of function][21]
Conversation Starting
-----------------------
11-04-2013 12:16:31.83662200[4][4] - Elapsed: 3.814 milliseconds
[load_aimlfunctions.php][Called outside of function][15]
AIML function include files loaded
-----------------------
Both snippets are an excerpt from a debugging file that was created by a script that I've written. The first snippet is how the file looks in Windows Notepad,
AND how it's intended to look. The second snippet is how it looks in Rapid PHP, and has (of course) some extra, unintended newlines (or carriage returns, depending on your point of view), and isn't exactly desirable. The script that writes the debug file uses the PHP constant PHP_EOL to append either \r\n or just \n to the end of each entry, based on the host OS, and I'm currently testing the script on a Win32 system (Windows 8, to be specific).