#41232 [Fbk->Opn]: Eval failing on calls to class methods

From: Date: Mon, 30 Apr 2007 16:46:50 +0000
Subject: #41232 [Fbk->Opn]: Eval failing on calls to class methods
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112131@lists.php.net to get a copy of this message
ID: 41232 User updated by: Antoniocs at gmail dot com Reported By: Antoniocs at gmail dot com -Status: Feedback +Status: Open Bug Type: Output Control Operating System: Windows XP sp2 PHP Version: 5.2.1 New Comment: I commented the $blas->teste(); If you remove the comments from that line you will get a blank page Previous Comments: ------------------------------------------------------------------------ [2007-04-30 16:43:31] tony2001@php.net <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> ------------------------------------------------------------------------ [2007-04-30 16:06:43] Antoniocs at gmail dot com Here are the source files: http://www.antoniocs.org/eval_test.rar Unpack, and run teste_parser.php ------------------------------------------------------------------------ [2007-04-30 16:05:05] tony2001@php.net Please provide a SHORT but complete reproduce case in ONE short script. I believe HTML or several scripts are not required for this. Thank you. ------------------------------------------------------------------------ [2007-04-30 14:44:01] Antoniocs at gmail dot com I set all the code you would need in the paste site. Just run the teste_parser.php file and it will call the rest ------------------------------------------------------------------------ [2007-04-30 13:22:18] tony2001@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ 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

« previous php.bugs (#112131) next »