#30222 [Opn->Fbk]: Problem with method call
| From: | johannes@php.net | Date: | Fri, 24 Sep 2004 17:44:47 +0000 |
| Subject: | #30222 [Opn->Fbk]: Problem with method call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66648@lists.php.net to get a copy of this message | ||
ID: 30222
Updated by: johannes@php.net
Reported By: max at max-net dot nl
-Status: Open
+Status: Feedback
Bug Type: Class/Object related
Operating System: Windows 2003 Server Enterprise
PHP Version: 4.3.8
New Comment:
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 possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2004-09-24 19:33:47] max at max-net dot nl
Description:
------------
Warning: Problem with method call - please report this bug in
C:\inetpub\wwwroot\core\core\lib\template.lib.php on line 186
The actual line:
Class::function( 'set' , $this );
The way it does work (but i dont like the @):
@Class::function( 'set' , $this );
It has been reported before on the site if i am not mistaken, but maybe
it is back?
Reproduce code:
---------------
Class::function( 'set' , $this );
Expected result:
----------------
Storing the new $this object with new data in a static variable in the
function.
Actual result:
--------------
Warning: Problem with method call - please report this bug in
C:\inetpub\wwwroot\core\core\lib\template.lib.php on line 186
But the result is correct.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30222&edit=1