ID: 27915 User updated by: albaity at hotmail dot com Reported By: albaity at hotmail dot com Status: Bogus Bug Type: Unknown/Other Function Operating System: WinXP pro IIS 6 -PHP Version: 4.3.5 +PHP Version: 4.3.6 New Comment:
try : $ php -r '$foo = "<!--BEG FOO--><?php print 1;"; eval("? >$foo");' <!--END FOO--> its a logical bug Previous Comments: ------------------------------------------------------------------------ [2004-04-08 14:05:42] [EMAIL PROTECTED] What are you talking about? This works perfectly fine. $ php -r '$foo = "<!-- FOO --><?php print 1;"; eval("? >$foo");' <!-- FOO -->1 ------------------------------------------------------------------------ [2004-04-08 13:46:59] [EMAIL PROTECTED] Bugger off. ------------------------------------------------------------------------ [2004-04-08 13:04:34] albaity at hotmail dot com THE PROBLEM THAT THE EVAL WILL NOT WORK GOOD IF I HAVE COMMENTS (IN UPPER CASE OR HAVE BEG OR END) IN MY STRING AND THAT IS VERY BAD BECAUSE THAT IS A BAD ISSUE IF I WANT TO CREATE A (TEMPLATE SYSTEM) AND ITS VERY BAD BECAUSE WE DO NOT HAVE A NOTE ABOUT (THAT EVAL HAVE RESTRICTION IN STRINGS AND NOT ACCEPT COMMENTS WITH BEG OR END) ------------------------------------------------------------------------ [2004-04-07 22:31:13] [EMAIL PROTECTED] And what problem is that? The only thing described in the bug report is scripting problems which don't belong in this bug system. ------------------------------------------------------------------------ [2004-04-07 19:47:04] albaity at hotmail dot com the problem is with eval function and sorry for spam or flood details :( ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27915 -- Edit this bug report at http://bugs.php.net/?id=27915&edit=1