ID: 41232 User updated by: Antoniocs at gmail dot com Reported By: Antoniocs at gmail dot com -Status: Bogus +Status: Open Bug Type: Output Control Operating System: Windows XP sp2 PHP Version: 5.2.1 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2007-04-30 16:46:50] Antoniocs at gmail dot com I commented the $blas->teste(); If you remove the comments from that line you will get a blank page ------------------------------------------------------------------------ [2007-04-30 16:43:31] [EMAIL PROTECTED] <html> <head> </head> <body> Hey!! Tudo bem??????<br> <br> OLAS<br> Notice: Use of undefined constant TESTE - assumed 'TESTE' in /tmp/eval_test/page_parser.php(27) : eval()'d code on line 3 TESTE iojdsfoijdoidsd<br><br>1177951395 Notice: Undefined variable: BLA in /tmp/eval_test/page_parser.php(27) : eval()'d code on line 12 Hello hello </body> </html> ------------------------------------------------------------------------ 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