ID:               41232
 Updated by:       [EMAIL PROTECTED]
 Reported By:      Antoniocs at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Output Control
 Operating System: Windows XP sp2
 PHP Version:      5.2.1
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[2007-04-29 23:14:08] Antoniocs at gmail dot com

Description:
------------
I am trying to use output control functions to replace text with
processed pages. So I am using eval on a callback function

Reproduce code:
---------------
//page_parser.php file (small class to parse pages and replace with
something set by me)
URL: http://privatepaste.com/9818gOaFnI

//teste_parser.php file (file that calls the class to use it to replace
a string that I set with the contents of a php file)
URL: http://privatepaste.com/32658Bx95B

//teste_parser_2.php file (file that contains the php code to be
processed by eval. Later this will replace the string set by me
URL: http://privatepaste.com/0c1Ev1CTKA

Expected result:
----------------
The teste() method from the class bla to show it's echo (which is a
simple Hello)

Actual result:
--------------
Nothing appears. The page is blank. All because I call a class method.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41232&edit=1

Reply via email to