Re: function does not exist

From: Date: Fri, 25 Aug 2006 18:56:25 +0000
Subject: Re: function does not exist
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241122@lists.php.net to get a copy of this message
At 11:43 AM -0400 8/25/06, Chris Boget wrote:
I'm getting the following error all throughout my PHP log: [warning] [Unknown][0]: Unknown(): Unable to call () - function does not exist I'm not sure it's going to survive the mailing but it appears to be a tab character after the 'call' and before the '()'. I've spent days (not consecutively) trying to track down this eror but have had absolutely no luck. Has anyone else experienced a problem like this? If so, what was causing it for you and what was your solution?
Since function names can be variables, you might unintentionally have a reference that looks like $foo = $function($bar); instead of $foo = function($bar); You can get a similar error with object methods ($foo = $Obj->$method($bar) versus $foo = $Obj->method($bar)), but I believe in that case you would get a different error ('nonexistent method call' or something like that). steve -- +--------------- my people are the people of the dessert, ---------------+ | Steve Edberg http://pgfsun.ucdavis.edu/ | | UC Davis Genome Center sbedberg@ucdavis.edu | | Bioinformatics programming/database/sysadmin (530)754-9127 | +---------------- said t e lawrence, picking up his fork ----------------+

« previous php.general (#241122) next »