But what if the function you are callign doesn't need any passed variable like
$bar = foo(); ??? the more strange thing is, on a lamp environment (SUSE 9.0, PHP 4.3.5), the scripts worked, on a wamp (win2k, same PHP) and on a LAMP RH9 same PHP it didn't work. -----Ursprüngliche Nachricht----- Von: William Lovaton [mailto:[EMAIL PROTECTED] Gesendet: Montag, 12. April 2004 22:33 An: [EMAIL PROTECTED] Betreff: Re: [PHP] After calling a Function the Script aborts without anyerror :-\ El lun, 12-04-2004 a las 14:12, Don Read escribió: > > Sometimes I have this problems too, no matter if that setting is on. > > > > If the error occurs within a table element on a web page, Mozilla > won't display because it's waiting for the '</tr></table>' to begin > figuring out the display properties. I know that but this is not the case, I dont mix HTML with PHP, I use Smarty and the error is generated inside business logic functions. Sometimes it occurs when calling a method in a null variable. This usually shows the error message, but sometimes it doesn't and I don't know why. I use allow_call_time_pass_reference = Off and sometimes this triggers the problem: $x = foo("bar"); $y = foo($obj->getBar()); With this setting in off he two lines of code sometimes fails and some others doesn't fail. But when it fails it does it completely silent. To workaround the problem I have to do: $tmp = "bar"; $x = foo($tmp); or $tmp = $obj->getBar(); $y = foo($tmp); Regards, -William -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- __________________________________________________________ Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 09.04.2004 --- __________________________________________________________ Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.656 / Virus Database: 421 - Release Date: 09.04.2004 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php