ID: 41232 User updated by: Antoniocs at gmail dot com Reported By: Antoniocs at gmail dot com Status: Bogus Bug Type: Output Control Operating System: Windows XP sp2 PHP Version: 5.2.1 New Comment:
This is not bogus!! Go here and see the script running http://www.antoniocs.org/eval_test/ http://www.antoniocs.org/eval_test/eval_test.rar <-- download the code here When you run the code you will only get the <html> tag which is before ob_start. Eval screws up everything Previous Comments: ------------------------------------------------------------------------ [2007-04-30 22:32:34] [EMAIL PROTECTED] As long as you're unable to provide a short reproduce code, it's obvious that the problem is in your code. Please keep this report marked as bogus, thank you. ------------------------------------------------------------------------ [2007-04-30 22:28:11] Antoniocs at gmail dot com The code is fine!! The way in which I call it is what is breaking up the code. But that shouldn't happen!! The $bla->teste() method is causing the script to somehow screw up, but there is nothing wrong in the class ------------------------------------------------------------------------ [2007-04-30 22:12:18] [EMAIL PROTECTED] Debug your code. The code you're trying to eval() in the output handler is wrong. ------------------------------------------------------------------------ [2007-04-30 22:04:22] Antoniocs at gmail dot com Uncomment the line!! I can't put them all together because this is suppose to work like this. The page appears blank when I call the method Change //$blas->teste(); To $blas->teste(); ------------------------------------------------------------------------ [2007-04-30 22:00:43] [EMAIL PROTECTED] It's commented out (and I get the output I pasted earlier). I'm asking you again: please provide a SHORT but compete reproduce script. Take these scripts, merge them into the one script and remove everything not necessary to reproduce the problem. That'll help you to find your bugs in the code. Also please try to execute it in console and look into the error log. The "I see an empty screen" thing is completely useless. ------------------------------------------------------------------------ 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/41232 -- Edit this bug report at http://bugs.php.net/?id=41232&edit=1